1
0
forked from aniani/vim

patch 8.0.0124

Problem:    Internal error for assert_inrange(1, 1).
Solution:   Adjust number of allowed arguments. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2016-12-04 13:37:41 +01:00
parent a899e6ecc4
commit 3421566376
3 changed files with 5 additions and 1 deletions

View File

@@ -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()