diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-23 13:38:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-23 13:38:02 +0200 |
commit | ea04a6e8baff2f27da7cdd54bf70a5525994f76d (patch) | |
tree | d8578e5bec3f99d462191ba6eb49f83c60211181 /src/testdir/test_expr.vim | |
parent | db950e4c0318c084c31bc7b50665284f4a47c285 (diff) |
patch 8.2.0619: null dict is not handled like an empty dictv8.2.0619
Problem: Null dict is not handled like an empty dict.
Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
Diffstat (limited to 'src/testdir/test_expr.vim')
-rw-r--r-- | src/testdir/test_expr.vim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim index 11cd7aa524..ce16793810 100644 --- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim @@ -96,13 +96,6 @@ func Test_loop_over_null_list() endfor endfunc -func Test_compare_null_dict() - call assert_fails('let x = test_null_dict()[10]') - call assert_equal({}, {}) - call assert_equal(test_null_dict(), test_null_dict()) - call assert_notequal({}, test_null_dict()) -endfunc - func Test_set_reg_null_list() call setreg('x', test_null_list()) endfunc |