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

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

[elpa] master 2356a1d 091/399: ivy-test.el (counsel--grep-regex): Extend


From: Oleh Krehel
Subject: [elpa] master 2356a1d 091/399: ivy-test.el (counsel--grep-regex): Extend test
Date: Sat, 20 Jul 2019 14:56:55 -0400 (EDT)

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

    ivy-test.el (counsel--grep-regex): Extend test
    
    Re #1976
---
 ivy-test.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/ivy-test.el b/ivy-test.el
index 2098194..0099615 100644
--- a/ivy-test.el
+++ b/ivy-test.el
@@ -989,7 +989,13 @@ a buffer visiting a file."
     (let ((counsel--regex-look-around t)
           (ivy--regex-function 'ivy--regex-plus))
       (counsel--grep-regex "ivy ! -"))
-    "(?=.*ivy)(?!.*-)")))
+    "(?=.*ivy)(?!.*-)"))
+  (should
+   (string=
+    (let ((counsel--regex-look-around t)
+          (ivy--regex-function 'ivy--regex-fuzzy))
+      (counsel--grep-regex "ivy"))
+    "(i)[^v\n]*(v)[^y\n]*(y)")))
 
 (provide 'ivy-test)
 



reply via email to

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