[前][次][番号順一覧][スレッド一覧]

ruby-changes:44197

From: kazu <ko1@a...>
Date: Tue, 27 Sep 2016 21:14:00 +0900 (JST)
Subject: [ruby-changes:44197] kazu:r56270 (trunk): * test/ripper/test_ripper.rb: fix squiggly heredoc identifier

kazu	2016-09-27 21:13:52 +0900 (Tue, 27 Sep 2016)

  New Revision: 56270

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56270

  Log:
    * test/ripper/test_ripper.rb: fix squiggly heredoc identifier

  Modified files:
    trunk/test/ripper/test_ripper.rb
Index: test/ripper/test_ripper.rb
===================================================================
--- test/ripper/test_ripper.rb	(revision 56269)
+++ test/ripper/test_ripper.rb	(revision 56270)
@@ -110,7 +110,7 @@ class TestRipper::Ripper < Test::Unit::T https://github.com/ruby/ruby/blob/trunk/test/ripper/test_ripper.rb#L110
 
     # lexing a squiggly heredoc triggers Ripper#dedent_string use
     src = <<-END
-puts <<~END
+puts <<~end
   hello
 end
     END

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]