mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1593: tests do not check the error number properly
Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869)
This commit is contained in:
@@ -1575,8 +1575,8 @@ def Test_vim9script_fails()
|
||||
CheckScriptFailure(['vim9script', 'let str: string', 'str = 1234'], 'E1012:')
|
||||
CheckScriptFailure(['vim9script', 'const str = "asdf"', 'str = "xxx"'], 'E46:')
|
||||
|
||||
assert_fails('vim9script', 'E1038')
|
||||
assert_fails('export something', 'E1043')
|
||||
assert_fails('vim9script', 'E1038:')
|
||||
assert_fails('export something', 'E1043:')
|
||||
enddef
|
||||
|
||||
func Test_import_fails_without_script()
|
||||
|
Reference in New Issue
Block a user