mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
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:
@@ -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')
|
||||
|
Reference in New Issue
Block a user