0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

patch 8.2.0275: some Ex code not covered by tests

Problem:    Some Ex code not covered by tests.
Solution:   Add test cases. (Yegappan Lakshmanan, closes #5659)
This commit is contained in:
Bram Moolenaar
2020-02-18 21:54:41 +01:00
parent 9e2bcb5d23
commit 406cd90f19
8 changed files with 147 additions and 1 deletions

View File

@@ -965,4 +965,12 @@ func Test_winpos_errors()
call assert_fails('winpos 10', 'E466:')
endfunc
" Test for +cmd in a :split command
func Test_split_cmd()
split +set\ readonly
call assert_equal(1, &readonly)
call assert_equal(2, winnr('$'))
close
endfunc
" vim: shiftwidth=2 sts=2 expandtab