diff options
Diffstat (limited to 'src/testdir/test_put.vim')
-rw-r--r-- | src/testdir/test_put.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim index 5b5c354c45..6f1e992e36 100644 --- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -319,4 +319,13 @@ func Test_put_visual_replace_fold_marker() bwipe! endfunc +func Test_put_dict() + new + let d = #{a: #{b: 'abc'}, c: [1, 2], d: 0z10} + put! =d + call assert_equal(["{'a': {'b': 'abc'}, 'c': [1, 2], 'd': 0z10}", ''], + \ getline(1, '$')) + bw! +endfunc + " vim: shiftwidth=2 sts=2 expandtab |