patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists
Problem: Terminal test fails on MS-Windows when "wc" exists.
Solution: Skip test with redirection on MS-Windows.
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index 4cd7757..41a0a45 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -580,6 +580,10 @@
if !executable('wc')
throw 'skipped: wc command not available'
endif
+ if has('win32')
+ " TODO: enable once writing to stdin works on MS-Windows
+ return
+ endif
new
call setline(1, ['one', 'two', 'three'])
%term wc