comparison src/testdir/test_ruby.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 ec0ace1ddc20
children b7b074a8d737
comparison
equal deleted inserted replaced
20232:426745ecefee 20233:5f9c2c7d3d73
407 Vim.command('let s ..= "C"') 407 Vim.command('let s ..= "C"')
408 END 408 END
409 ruby << trim 409 ruby << trim
410 Vim.command('let s ..= "D"') 410 Vim.command('let s ..= "D"')
411 . 411 .
412 call assert_equal('ABCD', s) 412 ruby << trim eof
413 Vim.command('let s ..= "E"')
414 eof
415 call assert_equal('ABCDE', s)
413 endfunc 416 endfunc
414 417
415 " vim: shiftwidth=2 sts=2 expandtab 418 " vim: shiftwidth=2 sts=2 expandtab