Mercurial > vim
comparison src/testdir/test_perl.vim @ 20233:5f9c2c7d3d73 v8.2.0672
patch 8.2.0672: heredoc in scripts does not accept lower case marker
Commit: https://github.com/vim/vim/commit/6ab0953fefe31fef91e40752a675ceb60fc2fe03
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 1 14:10:13 2020 +0200
patch 8.2.0672: heredoc in scripts does not accept lower case marker
Problem: Heredoc in scripts does not accept lower case marker.
Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
closes #6019)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 May 2020 14:15:04 +0200 |
parents | 04ef2ccf2519 |
children | 4637f7a4c753 |
comparison
equal
deleted
inserted
replaced
20232:426745ecefee | 20233:5f9c2c7d3d73 |
---|---|
303 VIM::DoCommand('let s ..= "C"') | 303 VIM::DoCommand('let s ..= "C"') |
304 END | 304 END |
305 perl << trim | 305 perl << trim |
306 VIM::DoCommand('let s ..= "D"') | 306 VIM::DoCommand('let s ..= "D"') |
307 . | 307 . |
308 call assert_equal('ABCD', s) | 308 perl << trim eof |
309 VIM::DoCommand('let s ..= "E"') | |
310 eof | |
311 call assert_equal('ABCDE', s) | |
309 endfunc | 312 endfunc |
310 | 313 |
311 " vim: shiftwidth=2 sts=2 expandtab | 314 " vim: shiftwidth=2 sts=2 expandtab |