Mercurial > vim
changeset 20005:49d692e015cc v8.2.0558
patch 8.2.0558: Vim9: dict code not covered by tests
Commit: https://github.com/vim/vim/commit/82de464f763d6e6d89229be03ce7c6d02fd5fb59
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 12 18:02:06 2020 +0200
patch 8.2.0558: Vim9: dict code not covered by tests
Problem: Vim9: dict code not covered by tests.
Solution: Remove dead code, adjust test case.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Apr 2020 18:15:03 +0200 |
parents | 73f17fbdc187 |
children | aee3c9266968 |
files | src/testdir/test_vim9_expr.vim src/version.c src/vim9compile.c |
diffstat | 3 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_vim9_expr.vim +++ b/src/testdir/test_vim9_expr.vim @@ -767,7 +767,7 @@ def Test_expr7_dict() call CheckDefFailure("let x = #{8: 8}", 'E1014:') call CheckDefFailure("let x = #{xxx}", 'E720:') - call CheckDefFailure("let x = #{xxx: 1", 'E723:') + call CheckDefFailureMult(["let x = #{xxx: 1", "let y = 2"], 'E722:') call CheckDefFailure("let x = #{xxx: 1,", 'E723:') call CheckDefFailure("let x = {'a': xxx}", 'E1001:') call CheckDefFailure("let x = {xxx: 8}", 'E1001:')