diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-10-26 21:34:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 21:34:18 +0800 |
commit | c00e711d5a860fb019f594d164b4327d942313f8 (patch) | |
tree | 6b88d5ab645201a103cad3a67a98eadb07e6e5b4 /src/nvim/testdir/test_expr.vim | |
parent | d60fa43466eaf59999e39860ce6d0ce2fa2cfb36 (diff) | |
parent | 46a54dd6a03f51ba08142abe0aa5710705917987 (diff) | |
download | rneovim-c00e711d5a860fb019f594d164b4327d942313f8.tar.gz rneovim-c00e711d5a860fb019f594d164b4327d942313f8.tar.bz2 rneovim-c00e711d5a860fb019f594d164b4327d942313f8.zip |
Merge pull request #20814 from zeertzjq/vim-8.2.0610
vim-patch:8.2.{0610,0619,1852}
Diffstat (limited to 'src/nvim/testdir/test_expr.vim')
-rw-r--r-- | src/nvim/testdir/test_expr.vim | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim index c63a969e50..66660ab75e 100644 --- a/src/nvim/testdir/test_expr.vim +++ b/src/nvim/testdir/test_expr.vim @@ -46,6 +46,7 @@ func Test_dict() call assert_equal('zero', d[0]) call assert_true(has_key(d, '')) call assert_true(has_key(d, 'a')) + call assert_fails("let i = has_key([], 'a')", 'E715:') let d[''] = 'none' let d['a'] = 'aaa' @@ -98,13 +99,6 @@ func Test_loop_over_null_list() endfor endfunc -func Test_compare_null_dict() - call assert_fails('let x = v:_null_dict[10]') - call assert_equal({}, {}) - call assert_equal(v:_null_dict, v:_null_dict) - call assert_notequal({}, v:_null_dict) -endfunc - func Test_set_reg_null_list() call setreg('x', v:_null_list) endfunc |