diff options
| author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-07 22:39:23 +0100 |
|---|---|---|
| committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-12 22:35:25 +0100 |
| commit | 5d883498179651c6da95b10959e83cf8707eaa4f (patch) | |
| tree | 1e0019000c1a2cb9af8895c38aaeb49a94d96823 /src/nvim/testdir/test_method.vim | |
| parent | 56b56a76e8294a319d2db32581f82421d4a4d446 (diff) | |
| download | rneovim-5d883498179651c6da95b10959e83cf8707eaa4f.tar.gz rneovim-5d883498179651c6da95b10959e83cf8707eaa4f.tar.bz2 rneovim-5d883498179651c6da95b10959e83cf8707eaa4f.zip | |
feat(eval): partially port v8.1.1915
Cannot be fully ported as chdir() hasn't been ported yet.
Diffstat (limited to 'src/nvim/testdir/test_method.vim')
| -rw-r--r-- | src/nvim/testdir/test_method.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_method.vim b/src/nvim/testdir/test_method.vim index 7cb4eec400..5ad1d47e71 100644 --- a/src/nvim/testdir/test_method.vim +++ b/src/nvim/testdir/test_method.vim @@ -8,6 +8,7 @@ func Test_list_method() eval l->assert_notequal([3, 2, 1]) eval l->assert_notequal([3, 2, 1], 'wrong') call assert_equal(l, l->copy()) + call assert_equal(l, l->deepcopy()) call assert_equal(1, l->count(2)) call assert_false(l->empty()) call assert_true([]->empty()) @@ -38,6 +39,7 @@ func Test_dict_method() let d = #{one: 1, two: 2, three: 3} call assert_equal(d, d->copy()) + call assert_equal(d, d->deepcopy()) call assert_equal(1, d->count(2)) call assert_false(d->empty()) call assert_true({}->empty()) |