summaryrefslogtreecommitdiff
path: root/src/testdir/test_marks.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-25 22:23:46 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-25 22:23:46 +0100
commit0e05de46226eb4e5ea580beefa71831f92d613d3 (patch)
tree4ae0b308520e7dfe603d78dc0ab540998eb69bbe /src/testdir/test_marks.vim
parentbfcfd5784a2fe950d8e58d1d534bbbb4824524eb (diff)
downloadvim-git-0e05de46226eb4e5ea580beefa71831f92d613d3.tar.gz
patch 8.2.0448: various functions not properly testedv8.2.0448
Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes #5843)
Diffstat (limited to 'src/testdir/test_marks.vim')
-rw-r--r--src/testdir/test_marks.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_marks.vim b/src/testdir/test_marks.vim
index 1d1f36303..15be08013 100644
--- a/src/testdir/test_marks.vim
+++ b/src/testdir/test_marks.vim
@@ -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!