From: Bram Moolenaar Date: Sun, 24 Jan 2016 20:51:57 +0000 (+0100) Subject: patch 7.4.1173 X-Git-Tag: v7.4.1173 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65591001e405cbaaf9772c9375d0bb6049cf9a3a;p=vim 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 index 522515c98..f32331a61 100644 --- 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 index 0c4ff914d..49b5225cc 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1173, /**/ 1172, /**/