diff src/testdir/test_terminal.vim @ 15026:4f679be36482

patch 8.1.0524: terminal test fails on Windows commit https://github.com/vim/vim/commit/c2c02574ec76f8d44b948cede9cca38ac91622de Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 11 23:14:54 2018 +0100 patch 8.1.0524: terminal test fails on Windows Problem: Terminal test fails on Windows. Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now.
author Bram Moolenaar <Bram@vim.org>
date Sun, 11 Nov 2018 23:15:05 +0100
parents f3b4cd98944c
children efd7bace40f4
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -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', '', '' ],