]> code.delx.au - gnu-emacs-elpa/blobdiff - ivy-test.el
counsel-ag now works with ivy-occur-revert-buffer
[gnu-emacs-elpa] / ivy-test.el
index 7533169396ea122d58326450dd33b52776ab8368..866eaa722c05a8222ea15df279734cf41ad4ddef 100644 (file)
 (ert-deftest counsel-unquote-regex-parens ()
   (should (equal (counsel-unquote-regex-parens
                   (ivy--regex "foo bar"))
-                 "(foo).*?(bar)")))
+                 "(foo).*?(bar)"))
+  (should (equal (counsel-unquote-regex-parens
+                  (ivy--regex "(foo bar"))
+                 "(\\(foo).*?(bar)")))