]> code.delx.au - gnu-emacs-elpa/commitdiff
ivy-test.el (swiper--re-builder): Update
authorOleh Krehel <ohwoeowho@gmail.com>
Wed, 14 Oct 2015 18:24:25 +0000 (20:24 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 14 Oct 2015 18:24:25 +0000 (20:24 +0200)
Due to last commit

ivy-test.el

index 5c773946726d354932af60d5cd2f928642c6bf03..03605e115062b1aea9df9643a7460ab071fabdfc 100644 (file)
@@ -79,9 +79,9 @@
   (should (string= (swiper--re-builder "^")
                    "."))
   (should (string= (swiper--re-builder "^a")
-                   "^[0-9][0-9 ]\\{4\\}\\(a\\)"))
+                   "^ ?\\(a\\)"))
   (should (string= (swiper--re-builder "^a b")
-                   "^[0-9][0-9 ]\\{4\\}\\(a\\).*?\\(b\\)")))
+                   "^ \\(a\\).*?\\(b\\)")))
 
 (ert-deftest ivy--split ()
   (should (equal (ivy--split "King of the who?")