diff options
Diffstat (limited to 'src/nvim/testdir/test_usercommands.vim')
-rw-r--r-- | src/nvim/testdir/test_usercommands.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_usercommands.vim b/src/nvim/testdir/test_usercommands.vim index e8e9b6c18d..f593d16dbf 100644 --- a/src/nvim/testdir/test_usercommands.vim +++ b/src/nvim/testdir/test_usercommands.vim @@ -24,23 +24,25 @@ function Test_cmdmods() topleft MyCmd verbose MyCmd vertical MyCmd + aboveleft belowright botright browse confirm hide keepalt keepjumps \ keepmarks keeppatterns lockmarks noswapfile silent tab \ topleft verbose vertical MyCmd + call assert_equal(' aboveleft belowright botright browse confirm ' . \ 'hide keepalt keepjumps keepmarks keeppatterns lockmarks ' . \ 'noswapfile silent tab topleft verbose vertical aboveleft ' . \ 'belowright botright browse confirm hide keepalt keepjumps ' . \ 'keepmarks keeppatterns lockmarks noswapfile silent tab topleft ' . \ 'verbose vertical ', g:mods) - let g:mods = '' + let g:mods = '' command! -nargs=* MyQCmd let g:mods .= '<q-mods> ' + vertical MyQCmd call assert_equal('"vertical" ', g:mods) delcommand MyCmd delcommand MyQCmd - unlet g:mods endfunction |