Skip to content

Commit 5f0509a

Browse files
committed
Fix fuopts cmdline expansion test to use assert_equal properly
1 parent 5098093 commit 5f0509a

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)