aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-01-18 12:17:51 +0800
committerGitHub <noreply@github.com>2024-01-18 12:17:51 +0800
commit06aebfa9984ff304fd22734e2dc6cbe1a590389b (patch)
tree494f71e81b4ad42010d0c379475fb8c383ee0d9f
parent5b314478113754e46de40a9cdc6909e4415fe2d5 (diff)
downloadrneovim-06aebfa9984ff304fd22734e2dc6cbe1a590389b.tar.gz
rneovim-06aebfa9984ff304fd22734e2dc6cbe1a590389b.tar.bz2
rneovim-06aebfa9984ff304fd22734e2dc6cbe1a590389b.zip
vim-patch:9.0.1437: test fails with different error number (#27074)
Problem: Test fails with different error number. Solution: Adjust the expected error. https://github.com/vim/vim/commit/3cdd799951b4d08f987a8346a8de544e41fab3d7 Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r--test/old/testdir/test_listdict.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_listdict.vim b/test/old/testdir/test_listdict.vim
index 33b8d55982..649d5f5c6c 100644
--- a/test/old/testdir/test_listdict.vim
+++ b/test/old/testdir/test_listdict.vim
@@ -1321,7 +1321,7 @@ func Test_listdict_index()
call CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[1.1] = 4'], ['E805:', 'E1012:', 'E805:'])
call CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[: i] = [4, 5]'], ['E121:', 'E1001:', 'E121:'])
call CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[: 3.2] = [4, 5]'], ['E805:', 'E1012:', 'E805:'])
- " call CheckLegacyAndVim9Failure(['VAR t = test_unknown()', 'echo t[0]'], 'E685:')
+ " call CheckLegacyAndVim9Failure(['VAR t = test_unknown()', 'echo t[0]'], ['E685:', 'E909:', 'E685:'])
endfunc
" Test for a null list