1
0
forked from aniani/vim

patch 8.1.1336: some eval functionality is not covered by tests

Problem:    Some eval functionality is not covered by tests.
Solution:   Add a few more test cases. (Masato Nishihata, closes #4374)
This commit is contained in:
Bram Moolenaar
2019-05-16 22:24:55 +02:00
parent dda4144d39
commit 17aca707f9
9 changed files with 62 additions and 7 deletions

View File

@@ -25,6 +25,12 @@ func Test_move_cursor()
call cursor(9, 1)
call assert_equal([4, 1, 0, 1], getcurpos()[1:])
call setline(1, ["\<TAB>"])
call cursor(1, 1, 1)
call assert_equal([1, 1, 1], getcurpos()[1:3])
call assert_equal(-1, cursor(-1, -1))
quit!
endfunc