diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-27 18:00:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-27 18:00:34 +0200 |
commit | c6b37db1ba704455daa8f9e78bc1c2492fb81f40 (patch) | |
tree | efcf0a80525a0fc79ae3f5b9f24ba0330f51ee1e /src/testdir/test_visual.vim | |
parent | e13a3901cae0afb4d2af30d497696af08029fd81 (diff) |
patch 8.1.1214: old style testsv8.1.1214
Problem: Old style tests.
Solution: Move tests from test14 to new style test files. (Yegappan
Lakshmanan, closes #4308)
Diffstat (limited to 'src/testdir/test_visual.vim')
-rw-r--r-- | src/testdir/test_visual.vim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim index abf131c384..27e5614f20 100644 --- a/src/testdir/test_visual.vim +++ b/src/testdir/test_visual.vim @@ -404,3 +404,27 @@ func Test_curswant_not_changed() bwipe! au! InsertLeave endfunc + +" Tests for "vaBiB", end could be wrong. +func Test_Visual_Block() + new + a +- Bug in "vPPPP" on this text: + { + cmd; + { + cmd;\t/* <-- Start cursor here */ + { + } + } + } +. + normal gg + call search('Start cursor here') + normal vaBiBD + call assert_equal(['- Bug in "vPPPP" on this text:', + \ "\t{", + \ "\t}"], getline(1, '$')) + + close! +endfunc |