branch: externals/ivy-hydra
commit 4fbd5a9d0c15833a25e38b0184dc122826dc5169
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    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