summaryrefslogtreecommitdiff
path: root/src/testdir/test_gui.vim
diff options
context:
space:
mode:
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