diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-24 17:54:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-24 17:54:24 +0100 |
commit | f48aa160fdd7b8caa7678e1a2139244dd2bdc547 (patch) | |
tree | 8ab86e42dff1d31f5880c9b98bdfc24f85ad3da6 /src/testdir | |
parent | 04369229657f182d35b471eb8b38f273a4d9ef65 (diff) | |
download | vim-git-f48aa160fdd7b8caa7678e1a2139244dd2bdc547.tar.gz |
patch 7.4.1168v7.4.1168
Problem: This doesn't give the right result: eval(string(v:true)). (Nikolay
Pavlov)
Solution: Make the string "v:true" instead of "true".
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_viml.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test_viml.vim b/src/testdir/test_viml.vim index 502cd73c4..522515c98 100644 --- a/src/testdir/test_viml.vim +++ b/src/testdir/test_viml.vim @@ -942,10 +942,10 @@ func Test_type() call assert_equal(0, 0 + v:none) call assert_equal(0, 0 + v:null) - call assert_equal('false', '' . v:false) - call assert_equal('true', '' . v:true) - call assert_equal('none', '' . v:none) - call assert_equal('null', '' . v:null) + call assert_equal('v:false', '' . v:false) + call assert_equal('v:true', '' . v:true) + call assert_equal('v:none', '' . v:none) + call assert_equal('v:null', '' . v:null) call assert_true(v:false == 0) call assert_false(v:false != 0) |