Mercurial > vim
comparison src/testdir/test_window_cmd.vim @ 19435:8f8a5a15d00a v8.2.0275
patch 8.2.0275: some Ex code not covered by tests
Commit: https://github.com/vim/vim/commit/406cd90f1963ca60813db91c413eef4b1b78ee44
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 18 21:54:41 2020 +0100
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 https://github.com/vim/vim/issues/5659)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 18 Feb 2020 22:00:04 +0100 |
parents | 67fbe280a502 |
children | b3e93a05c3ca |
comparison
equal
deleted
inserted
replaced
19434:4f7cdab4da93 | 19435:8f8a5a15d00a |
---|---|
963 call assert_fails('winpos', 'E188:') | 963 call assert_fails('winpos', 'E188:') |
964 endif | 964 endif |
965 call assert_fails('winpos 10', 'E466:') | 965 call assert_fails('winpos 10', 'E466:') |
966 endfunc | 966 endfunc |
967 | 967 |
968 " Test for +cmd in a :split command | |
969 func Test_split_cmd() | |
970 split +set\ readonly | |
971 call assert_equal(1, &readonly) | |
972 call assert_equal(2, winnr('$')) | |
973 close | |
974 endfunc | |
975 | |
968 " vim: shiftwidth=2 sts=2 expandtab | 976 " vim: shiftwidth=2 sts=2 expandtab |