vim-patch:7.4.1168 (#19645)

Problem:    This doesn't give the right result: eval(string(v:true)). (Nikolay
            Pavlov)
Solution:   Make the string "v:true" instead of "true".
f48aa160fd
This commit is contained in:
zeertzjq
2022-08-13 21:31:00 +08:00
committed by GitHub
parent 33b49d5f55
commit 02a4974418
6 changed files with 25 additions and 25 deletions

View File

@@ -1165,10 +1165,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)