summaryrefslogtreecommitdiff
path: root/src/testdir/test_vim9_expr.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-28 20:52:13 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-28 20:52:13 +0200
commitd47c39775b8d381005751b7b20da56412dafb5e4 (patch)
treeb5da177ef8fecdf379f397130272f1f05ffdcbb0 /src/testdir/test_vim9_expr.vim
parent53f7fccc9413c9f770694b56f40f242d383b2d5f (diff)
downloadvim-git-d47c39775b8d381005751b7b20da56412dafb5e4.tar.gz
patch 8.2.3238: Vim9: error message does not indicate the locationv8.2.3238
Problem: Vim9: error message does not indicate the location. Solution: Add the relevant text. (issue #8634)
Diffstat (limited to 'src/testdir/test_vim9_expr.vim')
-rw-r--r--src/testdir/test_vim9_expr.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_vim9_expr.vim b/src/testdir/test_vim9_expr.vim
index 88f725b43..f207056fc 100644
--- a/src/testdir/test_vim9_expr.vim
+++ b/src/testdir/test_vim9_expr.vim
@@ -3114,7 +3114,7 @@ func Test_expr7_fails()
call CheckDefExecAndScriptFailure(["var x = +g:alist"], 'E745:', 1)
call CheckDefExecAndScriptFailure(["var x = +g:adict"], 'E728:', 1)
- call CheckDefAndScriptFailure2(["var x = ''", "var y = x.memb"], 'E715:', 'E488:', 2)
+ call CheckDefAndScriptFailure2(["var x = ''", "var y = x.memb"], 'E1229: Expected dictionary for using key "memb", but got string', 'E488:', 2)
call CheckDefAndScriptFailure2(["'yes'->", "Echo()"], 'E488: Trailing characters: ->', 'E260: Missing name after ->', 1)