1
0
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:
Bram Moolenaar
2016-01-24 21:51:57 +01:00
parent 16435480f0
commit 65591001e4
2 changed files with 7 additions and 0 deletions

View File

@@ -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
"-------------------------------------------------------------------------------

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1173,
/**/
1172,
/**/