1
0
forked from aniani/vim

patch 8.2.4892: test failures because of changed error messages

Problem:    Test failures because of changed error messages.
Solution:   Adjust the exptected error messages.
This commit is contained in:
Bram Moolenaar
2022-05-06 17:53:06 +01:00
parent b3c9077a5b
commit ec89223478
9 changed files with 14 additions and 12 deletions

View File

@@ -293,7 +293,7 @@ def Test_assign_concat()
var ls: list<string> = []
ls[-1] ..= 'foo'
END
v9.CheckDefExecAndScriptFailure(lines, 'E684: list index out of range: -1', 2)
v9.CheckDefExecAndScriptFailure(lines, 'E684: List index out of range: -1', 2)
enddef
def Test_assign_register()
@@ -1641,7 +1641,7 @@ def Test_assign_list()
l[g:idx : 1] = [0]
echo l
END
v9.CheckDefExecAndScriptFailure(lines, 'E684: list index out of range: 3')
v9.CheckDefExecAndScriptFailure(lines, 'E684: List index out of range: 3')
lines =<< trim END
var l = [1, 2]