emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/popup 9814c88 038/184: Add test for test helper


From: ELPA Syncer
Subject: [nongnu] elpa/popup 9814c88 038/184: Add test for test helper
Date: Wed, 6 Oct 2021 00:01:02 -0400 (EDT)

branch: elpa/popup
commit 9814c886bcb60e7893acd252e16c6c6e0ae96361
Author: yuuki arisawa <yuuki.ari@gmail.com>
Commit: yuuki arisawa <yuuki.ari@gmail.com>

    Add test for test helper
---
 tests/popup-test.el | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/popup-test.el b/tests/popup-test.el
index 986c3d3..9344944 100644
--- a/tests/popup-test.el
+++ b/tests/popup-test.el
@@ -90,6 +90,14 @@ into real text. Return *text* buffer"
 (defun popup-test-helper-input (key)
   (push key unread-command-events))
 
+;; Test for helper method
+(ert-deftest popup-test-test-helper ()
+  (should (eq (popup-test-helper-same-all-p '(0 0 0)) 0))
+  (should (eq (popup-test-helper-same-all-p '(1 1 1)) 1))
+  (should (eq (popup-test-helper-same-all-p '(0 1 1)) nil))
+  )
+
+;; Test for popup-el
 (ert-deftest popup-test-simple ()
   (popup-test-with-common-setup
     (popup-set-list popup '("foo" "bar" "baz"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]