mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
vim-patch:8.0.0124 #7092
Problem: Internal error for assert_inrange(1, 1).
Solution: Adjust number of allowed arguments. (Dominique Pelle)
3421566376
This commit is contained in:
@@ -253,6 +253,11 @@ describe('assert function:', function()
|
||||
"Expected range 5 - 7, but got 8",
|
||||
})
|
||||
end)
|
||||
|
||||
it('assert_inrange(1, 1) returns E119', function()
|
||||
eq('Vim(call):E119: Not enough arguments for function: assert_inrange',
|
||||
exc_exec("call assert_inrange(1, 1)"))
|
||||
end)
|
||||
end)
|
||||
|
||||
-- assert_report({msg})
|
||||
|
||||
Reference in New Issue
Block a user