Permalink
Browse files

patch 7.4.2179

Problem:    Reading from stdin test fails on MS-Windows.
Solution:   Strip the extra space.
  • Loading branch information...
1 parent 3a93838 commit e4a76ad0e74a31bbd9f1b1ac5b816d714d19a412 @brammool brammool committed Aug 7, 2016
Showing with 4 additions and 1 deletion.
  1. +2 −1 src/testdir/test_startup.vim
  2. +2 −0 src/version.c
@@ -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
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2179,
+/**/
2178,
/**/
2177,

0 comments on commit e4a76ad

Please sign in to comment.