summaryrefslogtreecommitdiff
path: root/src/testdir/test_gui.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-04 21:21:13 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-04 21:21:13 +0200
commit9d5b876d458e242b8b5e44da10c5cdc6bbb7f57c (patch)
tree580e88bcd033c6d8665e4934c4cfa7e87900fa2e /src/testdir/test_gui.vim
parentfe9489233c463dd87046df3fd95332e47b66e93c (diff)
downloadvim-9d5b876d458e242b8b5e44da10c5cdc6bbb7f57c.zip
patch 7.4.2155
Problem: Quotes make GUI test fail on MS-Windows. Solution: Remove quotes, strip white space.
Diffstat (limited to 'src/testdir/test_gui.vim')
-rw-r--r--src/testdir/test_gui.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim
index cd698e37a..d56015cea 100644
--- a/src/testdir/test_gui.vim
+++ b/src/testdir/test_gui.vim
@@ -21,8 +21,8 @@ endfunc
func Test_shell_command()
new
- r !echo 'hello'
- call assert_equal('hello', getline(2))
+ r !echo hello
+ call assert_equal('hello', substitute(getline(2), '\W', '', 'g'))
bwipe!
call assert_true(1, match(execute('winpos'), 'Window position: X \d\+, Y \d\+') >= 0)
endfunc