summaryrefslogtreecommitdiff
path: root/src/testdir/test_vim9_assign.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-20 12:07:58 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-20 12:07:58 +0100
commit62e0e2e54b34b618500be4521ab1c33e1c378b42 (patch)
tree850c906638653186c4d9db3d6a46656ed6ce062f /src/testdir/test_vim9_assign.vim
parente80086446cc20856ed8359bc8dc87c4d430da4c8 (diff)
downloadvim-git-62e0e2e54b34b618500be4521ab1c33e1c378b42.tar.gz
patch 9.0.0229: Vim9: error message for missing type is not clearv9.0.0229
Problem: Vim9: error message for missing type is not clear. Solution: Mention the context. (issue #10944)
Diffstat (limited to 'src/testdir/test_vim9_assign.vim')
-rw-r--r--src/testdir/test_vim9_assign.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_vim9_assign.vim b/src/testdir/test_vim9_assign.vim
index faa4928ea..df5fc7fe6 100644
--- a/src/testdir/test_vim9_assign.vim
+++ b/src/testdir/test_vim9_assign.vim
@@ -1591,7 +1591,7 @@ def Test_assignment_failure()
v9.CheckDefFailure(['var name: number = feedkeys("0")'], 'expected number but got void')
v9.CheckDefFailure(['var name: dict <number>'], 'E1068:')
- v9.CheckDefFailure(['var name: dict<number'], 'E1009:')
+ v9.CheckDefFailure(['var name: dict<number'], 'E1009: Missing > after type: <number')
assert_fails('s/^/\=g:Mess()/n', 'E794:')
v9.CheckDefFailure(['var name: dict<number'], 'E1009:')