diff --git a/test/old/testdir/test_cmdline.vim b/test/old/testdir/test_cmdline.vim index 8950690633..08518af1ed 100644 --- a/test/old/testdir/test_cmdline.vim +++ b/test/old/testdir/test_cmdline.vim @@ -1174,11 +1174,13 @@ endfunc func Test_cmdline_complete_expression() let g:SomeVar = 'blah' - for cmd in ['exe', 'echo', 'echon', 'echomsg'] + for cmd in ['exe', 'echo', 'echon', 'echomsg', 'echoerr', + "\ 'echoconsole', 'echowindow'] + \ ] call feedkeys(":" .. cmd .. " SomeV\\\"\", 'tx') - call assert_match('"' .. cmd .. ' SomeVar', @:) + call assert_match('"' .. cmd .. ' SomeVar', @:, cmd) call feedkeys(":" .. cmd .. " foo SomeV\\\"\", 'tx') - call assert_match('"' .. cmd .. ' foo SomeVar', @:) + call assert_match('"' .. cmd .. ' foo SomeVar', @:, cmd) endfor unlet g:SomeVar endfunc