test/old: fix Test_set_completion()

Vim's src/testdir has more directories in it, so the "./samples/" item
happens to have a space in front of it.  This isn't relevant to the
test, so just elide the space for our case.
This commit is contained in:
Justin M. Keyes 2018-01-28 22:29:17 +01:00
parent 8821579baa
commit f9b738235e

View File

@ -152,8 +152,8 @@ func Test_set_completion()
" Expand directories.
call feedkeys(":set cdpath=./\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_match(' ./samples/ ', @:)
call assert_notmatch(' ./small.vim ', @:)
call assert_match('./samples/ ', @:)
call assert_notmatch('./small.vim ', @:)
" Expand files and directories.
call feedkeys(":set tags=./\<C-A>\<C-B>\"\<CR>", 'tx')