changeset 7751:d6e62c739839 v7.4.1173

commit https://github.com/vim/vim/commit/65591001e405cbaaf9772c9375d0bb6049cf9a3a Author: Bram Moolenaar <Bram@vim.org> 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.
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Jan 2016 22:00:05 +0100
parents 0664054cd129
children 926d257425e4
files src/testdir/test_viml.vim src/version.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 
 "-------------------------------------------------------------------------------
--- 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,