]> granicus.if.org Git - vim/commitdiff
patch 8.1.0524: terminal test fails on Windows v8.1.0524
authorBram Moolenaar <Bram@vim.org>
Sun, 11 Nov 2018 22:14:54 +0000 (23:14 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 11 Nov 2018 22:14:54 +0000 (23:14 +0100)
Problem:    Terminal test fails on Windows.
Solution:   Skip Test_terminal_does_not_truncate_last_newlines() for now.

src/testdir/test_terminal.vim
src/version.c

index f2586e15695027176bf912d074c4faa3c14e9e8a..58949a46469ca26c6134e042d5abc5a0432e86ca 100644 (file)
@@ -1660,7 +1660,12 @@ func Test_terminal_hidden_and_close()
 endfunc
 
 func Test_terminal_does_not_truncate_last_newlines()
-  let cmd = has('win32') ? 'type' : 'cat'
+  " FIXME: currently doens't work for Windows
+  if has('win32')
+    return
+  endif
+
+  let cmd = 'cat'
   let contents = [
   \   [ 'One', '', 'X' ],
   \   [ 'Two', '', '' ],
index 0ab7166cd3d2abcbeaa83cea4de1e8498dc6c862..1edb1d2dd8f62c46f780c1e10dc4351eacc1e4b9 100644 (file)
@@ -792,6 +792,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    524,
 /**/
     523,
 /**/