aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_perl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'test/old/testdir/test_perl.vim')
-rw-r--r--test/old/testdir/test_perl.vim12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/old/testdir/test_perl.vim b/test/old/testdir/test_perl.vim
index 558d0a5d6b..5cef74193b 100644
--- a/test/old/testdir/test_perl.vim
+++ b/test/old/testdir/test_perl.vim
@@ -224,11 +224,11 @@ endfunc
func Test_stdio()
throw 'skipped: TODO: '
redir =>l:out
- perl <<EOF
+ perl << trim EOF
VIM::Msg("&VIM::Msg");
print "STDOUT";
print STDERR "STDERR";
-EOF
+ EOF
redir END
call assert_equal(['&VIM::Msg', 'STDOUT', 'STDERR'], split(l:out, "\n"))
endfunc
@@ -305,7 +305,13 @@ END
perl <<
VIM::DoCommand('let s ..= "B"')
.
- call assert_equal('AB', s)
+ perl << trim END
+ VIM::DoCommand('let s ..= "C"')
+ END
+ perl << trim
+ VIM::DoCommand('let s ..= "D"')
+ .
+ call assert_equal('ABCD', s)
endfunc
" vim: shiftwidth=2 sts=2 expandtab