summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-24 21:51:57 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-24 21:51:57 +0100
commit65591001e405cbaaf9772c9375d0bb6049cf9a3a (patch)
tree1f54e7db94392063af1c7e6901573f177adeae90 /src
parent16435480f0f41372585b3d305a29b5fda8271fbc (diff)
downloadvim-git-65591001e405cbaaf9772c9375d0bb6049cf9a3a.tar.gz
patch 7.4.1173v7.4.1173
Problem: No test for new behavior of v:true et al. Solution: Add a test.
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test_viml.vim5
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 0 deletions
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
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1173,
+/**/
1172,
/**/
1171,