diff options
| author | James McCoy <jamessan@jamessan.com> | 2017-01-03 11:36:56 -0500 |
|---|---|---|
| committer | James McCoy <jamessan@jamessan.com> | 2017-01-03 11:36:56 -0500 |
| commit | 3b793d045388d9ff7f8ab3efdccf60ddab336b88 (patch) | |
| tree | 70e5c080844344d74ab8c0e47430828753bff245 /src/nvim/testdir | |
| parent | fd9cc8b0b2157d0b0b1c1ceb3105fc7b7722949d (diff) | |
| parent | 17dc20369ef4e8e3aa4868565588b11d27562a9e (diff) | |
| download | rneovim-3b793d045388d9ff7f8ab3efdccf60ddab336b88.tar.gz rneovim-3b793d045388d9ff7f8ab3efdccf60ddab336b88.tar.bz2 rneovim-3b793d045388d9ff7f8ab3efdccf60ddab336b88.zip | |
Merge pull request #5835 from lonerover/vim-7.4.1847
vim-patch:7.4.1847
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_expr.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim index 571a37c62c..7483973fca 100644 --- a/src/nvim/testdir/test_expr.vim +++ b/src/nvim/testdir/test_expr.vim @@ -81,3 +81,14 @@ func Test_loop_over_null_list() call assert_true(0, 'should not get here') 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 |