diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-12-04 13:37:41 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-12-04 13:37:41 +0100 |
commit | 3421566376b5723213af502bd3c2b9debe025ef1 (patch) | |
tree | be96cf6e3909b41b9422e9c46f8d73cb6feee845 /src/testdir/test_assert.vim | |
parent | a899e6ecc4523c7e411eaf6fbaa4197d70f6f39e (diff) | |
download | vim-git-3421566376b5723213af502bd3c2b9debe025ef1.tar.gz |
patch 8.0.0124v8.0.0124
Problem: Internal error for assert_inrange(1, 1).
Solution: Adjust number of allowed arguments. (Dominique Pelle)
Diffstat (limited to 'src/testdir/test_assert.vim')
-rw-r--r-- | src/testdir/test_assert.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_assert.vim b/src/testdir/test_assert.vim index 0ab664ad3..25630f2db 100644 --- a/src/testdir/test_assert.vim +++ b/src/testdir/test_assert.vim @@ -117,6 +117,8 @@ func Test_assert_inrange() call assert_inrange(5, 7, 8) call assert_match("Expected range 5 - 7, but got 8", v:errors[0]) call remove(v:errors, 0) + + call assert_fails('call assert_inrange(1, 1)', 'E119:') endfunc func Test_user_is_happy() |