mirror of
https://github.com/neovim/neovim.git
synced 2025-10-11 20:36:35 +00:00
vim-patch:7.4.1173
Problem: No test for new behavior of v:true et al.
Solution: Add a test.
65591001e4
Comment out tests involving v:none as Nvim has removed it.
This commit is contained in:
@@ -1202,6 +1202,11 @@ func Test_type()
|
|||||||
" call assert_true(v:none isnot 0)
|
" call assert_true(v:none isnot 0)
|
||||||
call assert_true(v:null isnot 0)
|
call assert_true(v:null isnot 0)
|
||||||
" call assert_true(v:null isnot v:none)
|
" call assert_true(v:null isnot v:none)
|
||||||
|
|
||||||
|
call assert_equal(v:false, eval(string(v:false)))
|
||||||
|
call assert_equal(v:true, eval(string(v:true)))
|
||||||
|
" call assert_equal(v:none, eval(string(v:none)))
|
||||||
|
call assert_equal(v:null, eval(string(v:null)))
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
"-------------------------------------------------------------------------------
|
"-------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user