diff src/testdir/test_assert.vim @ 10462:0d345265b1e2 v8.0.0124

commit https://github.com/vim/vim/commit/3421566376b5723213af502bd3c2b9debe025ef1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 4 13:37:41 2016 +0100 patch 8.0.0124 Problem: Internal error for assert_inrange(1, 1). Solution: Adjust number of allowed arguments. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Dec 2016 13:45:04 +0100
parents ccbb8e393d80
children 553f9b9502bc
line wrap: on
line diff
--- 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()