aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Dalziel <tom_dl@hotmail.com>2022-04-11 22:39:32 +0100
committerTom Dalziel <33435574+tomdl89@users.noreply.github.com>2022-04-11 23:43:01 +0200
commita6a6a83e1038acb4093fae4b46aa415a210ba17b (patch)
treebebefe1285586cda1f05f3039d3a03a4114dafaf
parentcb3b3707c2ad170972ccb853096b8b9a0df01377 (diff)
Add test for evil-ex-make-pattern subsequent / search
-rw-r--r--evil-tests.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/evil-tests.el b/evil-tests.el
index 0e313b5..b8100a8 100644
--- a/evil-tests.el
+++ b/evil-tests.el
@@ -7952,9 +7952,11 @@ maybe we need one line more with some text\n"
(let ((evil-ex-search-vim-style-regexp t)
(evil-magic 'very-magic))
(evil-test-buffer
- "[a]lpha bravo alpha charlie"
+ "[a]lpha bravo alpha charlie alpha"
("*")
- "alpha bravo [a]lpha charlie")))))
+ "alpha bravo [a]lpha charlie alpha"
+ ("/" [return])
+ "alpha bravo alpha charlie [a]lpha")))))
(ert-deftest evil-test-ex-search-motion ()
:tags '(evil ex search)