mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
vim-patch:7.4.1178
Problem: empty() doesn't work for the new special variables.
Solution: Make empty() work. (Damien)
767d8c1a1a
Code is N/A. This only ports the tests.
Comment out tests involving v:none as Nvim has removed it.
This commit is contained in:
@@ -1207,6 +1207,11 @@ func Test_type()
|
||||
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)))
|
||||
|
||||
call assert_true(empty(v:false))
|
||||
call assert_false(empty(v:true))
|
||||
call assert_true(empty(v:null))
|
||||
" call assert_true(empty(v:none))
|
||||
endfunc
|
||||
|
||||
"-------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user