diff options
Diffstat (limited to 'src/testdir/test_startup.vim')
-rw-r--r-- | src/testdir/test_startup.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim index 652318fb7..0522ecc82 100644 --- a/src/testdir/test_startup.vim +++ b/src/testdir/test_startup.vim @@ -177,7 +177,8 @@ func Test_read_stdin() \ ] 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 |