ruby-changes:41607
From: nobu <ko1@a...>
Date: Fri, 29 Jan 2016 11:12:42 +0900 (JST)
Subject: [ruby-changes:41607] nobu:r53681 (trunk): test_erb.rb: escape
nobu 2016-01-29 11:13:38 +0900 (Fri, 29 Jan 2016) New Revision: 53681 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53681 Log: test_erb.rb: escape * test/erb/test_erb.rb (test_token_extension): escape % in dedented heredoc for editors which do not support this syntax yet. Modified files: trunk/test/erb/test_erb.rb Index: test/erb/test_erb.rb =================================================================== --- test/erb/test_erb.rb (revision 53680) +++ test/erb/test_erb.rb (revision 53681) @@ -523,9 +523,9 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/erb/test_erb.rb#L523 end src = <<~EOS - <% tag = '<>' %> - <%= tag %> - <%== tag %> + <% tag = '<>' \%> + <\%= tag \%> + <\%== tag \%> EOS ans = <<~EOS -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/