1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/erb
naruse 887dced42e merge revision(s) 61497: [Backport #14243]
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/branches/ruby_2_5@61581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-03 18:11:47 +00:00
..
hello.erb
test_erb.rb merge revision(s) 61497: [Backport #14243] 2018-01-03 18:11:47 +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