mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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: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
|
||||||
|
|
||||||
"-------------------------------------------------------------------------------
|
"-------------------------------------------------------------------------------
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1173,
|
||||||
/**/
|
/**/
|
||||||
1172,
|
1172,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user