Skip to content

Commit 9d5b876

Browse files
committed
patch 7.4.2155
Problem: Quotes make GUI test fail on MS-Windows. Solution: Remove quotes, strip white space.
1 parent fe94892 commit 9d5b876

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_gui.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ endfunc
2121

2222
func Test_shell_command()
2323
new
24-
r !echo 'hello'
25-
call assert_equal('hello', getline(2))
24+
r !echo hello
25+
call assert_equal('hello', substitute(getline(2), '\W', '', 'g'))
2626
bwipe!
2727
call assert_true(1, match(execute('winpos'), 'Window position: X \d\+, Y \d\+') >= 0)
2828
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2155,
766768
/**/
767769
2154,
768770
/**/

0 commit comments

Comments
 (0)