patch 7.4.2179
Problem: Reading from stdin test fails on MS-Windows.
Solution: Strip the extra space.
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim
index 652318f..0522ecc 100644
--- a/src/testdir/test_startup.vim
+++ b/src/testdir/test_startup.vim
@@ -177,7 +177,8 @@
\ ]
if RunVimPiped([], after, '-', 'echo something | ')
let lines = readfile('Xtestout')
- call assert_equal('something', lines[0])
+ " MS-Windows adds a space after the word
+ call assert_equal(['something'], split(lines[0]))
endif
call delete('Xtestout')
endfunc