ruby/test/erb
k0kubun c46d3de0f5 erb.rb: preserve the behavior for invalid syntax
comment. Fix regression at r58948.

I even don't want to deprecate it because deprecation needs to lex all
embedded Ruby script using Ripper and it would be slow.  So Let me just
keep this behavior of Ruby 2.4. No change is the best compatibility.

This commit stopped using String#-@ because it's harmful for "ambiguous
first argument" warning if we really want to maintain this behavior.

[Bug #14243]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-27 12:40:03 +00:00
..
hello.erb * test/erb (TestERBCore): reverted. 2008-02-19 06:24:36 +00:00
test_erb.rb erb.rb: preserve the behavior for invalid syntax 2017-12-27 12:40:03 +00:00
test_erb_command.rb bin/erb: change template file encoding to UTF-8 2017-11-10 13:59:01 +00:00
test_erb_m17n.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00