branch: elpa/pacmacs
commit 861aa9543e5c03ae399bcdc8835c07133d837608
Author: rexim <[email protected]>
Commit: rexim <[email protected]>

    Add UT for make-wall-cell func
---
 test/pacmacs-test.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test/pacmacs-test.el b/test/pacmacs-test.el
index 9a011b2048..c7df9bc062 100644
--- a/test/pacmacs-test.el
+++ b/test/pacmacs-test.el
@@ -143,3 +143,10 @@
    (funcall (pacmacs--make-submit-nickname-action 'score)
             'widget
             'khooy)))
+
+(ert-deftest pacmacs--make-wall-cell-test ()
+  (should (equal (list :current-animation nil
+                       :row 10
+                       :column 20
+                       :type 'wall)
+                 (pacmacs--make-wall-cell 10 20))))

Reply via email to