Mercurial > vim
diff src/testdir/test_vim9_expr.vim @ 28735:c428a4e53b9c v8.2.4892
patch 8.2.4892: test failures because of changed error messages
Commit: https://github.com/vim/vim/commit/ec892234788d37bfed47d8bf82dd4cae8d335ad9
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 6 17:53:06 2022 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 May 2022 19:00:05 +0200 |
parents | 333be301dfe8 |
children | 0c5c6a693d12 |
line wrap: on
line diff
--- a/src/testdir/test_vim9_expr.vim +++ b/src/testdir/test_vim9_expr.vim @@ -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)