summaryrefslogtreecommitdiff
path: root/src/testdir/test_find_complete.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-19 14:37:30 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-19 14:37:30 +0100
commit2d10cd478047df8ba144d4b0fcc46480993af57f (patch)
tree516b015ce0b2d408d32a8ec4fe99ed38c44684e5 /src/testdir/test_find_complete.vim
parente32848780cc07c368ba2e088cdefdbb8c3b827c2 (diff)
downloadvim-git-2d10cd478047df8ba144d4b0fcc46480993af57f.tar.gz
patch 8.2.0407: no early check if :find and :sfind have an argumentv8.2.0407
Problem: No early check if :find and :sfind have an argument. Solution: Add EX_NEEDARG.
Diffstat (limited to 'src/testdir/test_find_complete.vim')
-rw-r--r--src/testdir/test_find_complete.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test_find_complete.vim b/src/testdir/test_find_complete.vim
index 679bf3c20..32ca9672e 100644
--- a/src/testdir/test_find_complete.vim
+++ b/src/testdir/test_find_complete.vim
@@ -15,22 +15,22 @@ func Test_find_complete()
new
set path=
- call assert_fails('call feedkeys(":find\t\n", "xt")', 'E345:')
+ call assert_fails('call feedkeys(":find \t\n", "xt")', 'E471:')
close
new
set path=.
- call assert_fails('call feedkeys(":find\t\n", "xt")', 'E32:')
+ call assert_fails('call feedkeys(":find \t\n", "xt")', 'E471:')
close
new
set path=.,,
- call assert_fails('call feedkeys(":find\t\n", "xt")', 'E32:')
+ call assert_fails('call feedkeys(":find \t\n", "xt")', 'E471:')
close
new
set path=./**
- call assert_fails('call feedkeys(":find\t\n", "xt")', 'E32:')
+ call assert_fails('call feedkeys(":find \t\n", "xt")', 'E471:')
close
" We shouldn't find any file till this point