Skip to content

Commit 6559100

Browse files
committed
patch 7.4.1173
Problem: No test for new behavior of v:true et al. Solution: Add a test.
1 parent 1643548 commit 6559100

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/testdir/test_viml.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,11 @@ func Test_type()
982982
call assert_true(v:none isnot 0)
983983
call assert_true(v:null isnot 0)
984984
call assert_true(v:null isnot v:none)
985+
986+
call assert_equal(v:false, eval(string(v:false)))
987+
call assert_equal(v:true, eval(string(v:true)))
988+
call assert_equal(v:none, eval(string(v:none)))
989+
call assert_equal(v:null, eval(string(v:null)))
985990
endfunc
986991

987992
"-------------------------------------------------------------------------------

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1173,
744746
/**/
745747
1172,
746748
/**/

0 commit comments

Comments
 (0)