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

@@ -127,6 +127,14 @@ func Test_assert_with_msg()
call remove(v:errors, 0)
endfunc
func Test_override()
call test_override('char_avail', 1)
call test_override('redraw', 1)
call test_override('ALL', 0)
call assert_fails("call test_override('xxx', 1)", 'E475')
call assert_fails("call test_override('redraw', 'yes')", 'E474')
endfunc
func Test_user_is_happy()
smile
sleep 300m