Skip to content

Commit 57b0bab

Browse files
authored
Merge pull request #1437 from ychin/minor-fix-fuopts-cmdcomplete-test
Fix fuopts cmdline expansion test to use assert_equal properly
2 parents 5098093 + 5f0509a commit 57b0bab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/testdir/test_options.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -571,9 +571,9 @@ func Test_set_completion_string_values()
571571
"
572572
" MacVim options
573573
"
574-
call assert_equal(getcompletion('set fuoptions+=', 'cmdline')[0], 'maxvert')
575-
call assert_equal(getcompletion('set fuoptions+=maxvert,background:', 'cmdline')[0], '#')
576-
call assert_equal(getcompletion('set fuoptions+=maxvert,background:No*ext', 'cmdline')[0], 'NonText')
574+
call assert_equal('maxvert', getcompletion('set fuoptions+=', 'cmdline')[0])
575+
call assert_equal('#', getcompletion('set fuoptions+=maxvert,background:', 'cmdline')[0])
576+
call assert_equal('NonText', getcompletion('set fuoptions+=maxvert,background:No*ext', 'cmdline')[0])
577577

578578
"
579579
" Test flag lists

0 commit comments

Comments
 (0)