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

@@ -3114,7 +3114,7 @@ def Test_expr8_any_index_slice()
v9.CheckDefExecAndScriptFailure(['echo g:testblob[2]'], 'E979:', 1)
v9.CheckDefExecAndScriptFailure(['echo g:testblob[-3]'], 'E979:', 1)
v9.CheckDefExecAndScriptFailure(['echo g:testlist[4]'], 'E684: list index out of range: 4', 1)
v9.CheckDefExecAndScriptFailure(['echo g:testlist[4]'], 'E684: List index out of range: 4', 1)
v9.CheckDefExecAndScriptFailure(['echo g:testlist[-5]'], 'E684:', 1)
v9.CheckDefExecAndScriptFailure(['echo g:testdict["a" : "b"]'], 'E719:', 1)