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

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

[elpa] master fd19ab1 062/167: Add a test for the perfect match logic


From: Oleh Krehel
Subject: [elpa] master fd19ab1 062/167: Add a test for the perfect match logic
Date: Tue, 08 Dec 2015 10:49:54 +0000

branch: master
commit fd19ab1d083cf872c4427309ad32444de735b6e9
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Add a test for the perfect match logic
    
    Re #270
---
 ivy-test.el |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ivy-test.el b/ivy-test.el
index 03605e1..ddfef34 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -72,7 +72,11 @@
   (should (equal
            (ivy-with '(ivy-read "test" '("aaab" "aaac"))
                      "a C-n <tab> C-m")
-           "aaac")))
+           "aaac"))
+  (should (equal
+           (ivy-with '(ivy-read "pattern: " '("can do" "can" "can't do"))
+                     "can C-m")
+           "can")))
 
 (ert-deftest swiper--re-builder ()
   (setq swiper--width 4)



reply via email to

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