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

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

[elpa] externals/ivy-hydra 4fbd5a9 081/395: ivy-test.el (ivy-completing-


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 4fbd5a9 081/395: ivy-test.el (ivy-completing-read): Add test
Date: Thu, 25 Feb 2021 08:31:36 -0500 (EST)

branch: externals/ivy-hydra
commit 4fbd5a9d0c15833a25e38b0184dc122826dc5169
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ivy-test.el (ivy-completing-read): Add test
    
    Re #2361
---
 ivy-test.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ivy-test.el b/ivy-test.el
index 0669bab..d5b34f1 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -800,6 +800,12 @@ will bring the behavior in line with the newer Emacsen."
             "C-M-i")
            "(nconc")))
 
+(ert-deftest ivy-completing-read ()
+  (should (equal (ivy-with '(ivy-completing-read
+                             "Test: " '(("1" . "a") ("2" . "b")))
+                           "RET")
+                 "1")))
+
 (ert-deftest ivy-completing-read-def-handling ()
   ;; DEF in COLLECTION
   (should



reply via email to

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