]> granicus.if.org Git - vim/commitdiff
patch 8.0.1527: screen dump test fails on MS-Windows v8.0.1527
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Feb 2018 16:09:16 +0000 (17:09 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Feb 2018 16:09:16 +0000 (17:09 +0100)
Problem:    Screen dump test fails on MS-Windows.
Solution:   Skip dump test on MS-Windows for now.

src/testdir/test_syntax.vim
src/version.c

index e60bb52878cd238f8eba52df52bd134a7c605688..554ff1620b5e3a0f8eb174526816993136066c17 100644 (file)
@@ -526,7 +526,8 @@ endfunc
 
 " Check highlighting for a small piece of C code with a screen dump.
 func Test_syntax_c()
-  if !has('terminal')
+  " Need to be able to run terminal Vim with 256 colors.
+  if !has('terminal') || has('win32')
     return
   endif
   call writefile([
index 9c869caee269d01e4b1c9c471ccd945ada34dcb8..5bd6ead3a6d2163f5f0c9a5b4a1d0d4e5a6103bd 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1527,
 /**/
     1526,
 /**/