1
0
forked from aniani/vim

patch 8.0.0440: not enough test coverage in Insert mode

Problem:    Not enough test coverage in Insert mode.
Solution:   Add lots of tests.  Add test_override(). (Christian Brabandt,
            closes #1521)
This commit is contained in:
Bram Moolenaar
2017-03-09 18:20:16 +01:00
parent 69a92fb5ae
commit eb992cb90f
13 changed files with 1386 additions and 15 deletions

View File

@@ -44,9 +44,9 @@ func Test_curswant_with_autocommand()
new
call setline(1, ['func()', '{', '}', '----'])
autocmd! CursorMovedI * call s:Highlight_Matching_Pair()
call test_disable_char_avail(1)
call test_override("char_avail", 1)
exe "normal! 3Ga\<Down>X\<Esc>"
call test_disable_char_avail(0)
call test_override("char_avail", 0)
call assert_equal('-X---', getline(4))
autocmd! CursorMovedI *
quit!