diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:24:42 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-05 18:24:42 +0000 |
commit | c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97 (patch) | |
tree | 5211ea86daed8e43c3dd25458e808c3d32100097 /src/testdir | |
parent | 9aae141a6bcfc26bcce352deb8bf34566a3e1be2 (diff) | |
download | vim-c81e5e79a0f2f5c2ac1896fa51cbe47e2e2a8d97.zip |
updated for version 7.1a
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test55.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test55.in b/src/testdir/test55.in index d7cd4d91a..b20c6c497 100644 --- a/src/testdir/test55.in +++ b/src/testdir/test55.in @@ -334,6 +334,14 @@ let l = [0, 1, 2, 3] :$put =string(split('abc', '\zs')) :$put =string(split('abc', '\zs', 1)) :" +:" compare recursively linked list and dict +:let l = [1, 2, 3, 4] +:let d = {'1': 1, '2': l, '3': 3} +:let l[1] = d +:$put =(l == l) +:$put =(d == d) +:$put =(l != deepcopy(l)) +:$put =(d != deepcopy(d)) :endfun :call Test(1, 2, [3, 4], {5: 6}) " This may take a while :" |