summaryrefslogtreecommitdiff
path: root/src/testdir/test_perl.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-01 14:10:13 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-01 14:10:13 +0200
commit6ab0953fefe31fef91e40752a675ceb60fc2fe03 (patch)
tree339bd1fc552e35f99dc7a6214170b582c1f6cbd2 /src/testdir/test_perl.vim
parent9e175141f3437627c314257ebf894c29c71a9ded (diff)
downloadvim-git-6ab0953fefe31fef91e40752a675ceb60fc2fe03.tar.gz
patch 8.2.0672: heredoc in scripts does not accept lower case markerv8.2.0672
Problem: Heredoc in scripts does not accept lower case marker. Solution: Allow lower case only in non-Vim scripts. (Ken Takata, closes #6019)
Diffstat (limited to 'src/testdir/test_perl.vim')
-rw-r--r--src/testdir/test_perl.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_perl.vim b/src/testdir/test_perl.vim
index 35cb813a1..1a856d547 100644
--- a/src/testdir/test_perl.vim
+++ b/src/testdir/test_perl.vim
@@ -305,7 +305,10 @@ VIM::DoCommand('let s ..= "B"')
perl << trim
VIM::DoCommand('let s ..= "D"')
.
- call assert_equal('ABCD', s)
+ perl << trim eof
+ VIM::DoCommand('let s ..= "E"')
+ eof
+ call assert_equal('ABCDE', s)
endfunc
" vim: shiftwidth=2 sts=2 expandtab