forked from aniani/vim
patch 7.4.1173
Problem: No test for new behavior of v:true et al. Solution: Add a test.
This commit is contained in:
@@ -982,6 +982,11 @@ func Test_type()
|
||||
call assert_true(v:none isnot 0)
|
||||
call assert_true(v:null isnot 0)
|
||||
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
|
||||
|
||||
"-------------------------------------------------------------------------------
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1173,
|
||||
/**/
|
||||
1172,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user