aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-01-28 22:29:17 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-01-28 22:29:17 +0100
commitf9b738235e572a7df38db7fe40cbdf97ecfd210f (patch)
tree2c66754768c15f259899b1f357d78e53a2d4b695
parent8821579baa9d779335cd2c2331336acd8d74b9d7 (diff)
downloadrneovim-f9b738235e572a7df38db7fe40cbdf97ecfd210f.tar.gz
rneovim-f9b738235e572a7df38db7fe40cbdf97ecfd210f.tar.bz2
rneovim-f9b738235e572a7df38db7fe40cbdf97ecfd210f.zip
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.
-rw-r--r--src/nvim/testdir/test_options.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index d1536b5c43..8af315fdea 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/testdir/test_options.vim
@@ -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')