# HG changeset patch # User Christian Brabandt # Date 1453669205 -3600 # Node ID d6e62c7398391d55e461fdca5fd07eecc1eb18df # Parent 0664054cd129fadd8f2489abf0e22ad6417c64df commit https://github.com/vim/vim/commit/65591001e405cbaaf9772c9375d0bb6049cf9a3a Author: Bram Moolenaar Date: Sun Jan 24 21:51:57 2016 +0100 patch 7.4.1173 Problem: No test for new behavior of v:true et al. Solution: Add a test. diff --git a/src/testdir/test_viml.vim b/src/testdir/test_viml.vim --- a/src/testdir/test_viml.vim +++ b/src/testdir/test_viml.vim @@ -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 "------------------------------------------------------------------------------- diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1173, +/**/ 1172, /**/ 1171,