forked from aniani/vim
patch 8.2.0448: various functions not properly tested
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes #5843)
This commit is contained in:
@@ -90,6 +90,8 @@ func Test_setpos()
|
||||
call setpos('.', [0, 1, -1, 0])
|
||||
call assert_equal([2, 2], [line('.'), col('.')])
|
||||
|
||||
call assert_fails("call setpos('ab', [0, 1, 1, 0])", 'E474:')
|
||||
|
||||
bwipe!
|
||||
call win_gotoid(twowin)
|
||||
bwipe!
|
||||
|
||||
Reference in New Issue
Block a user