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

ruby-changes:56260

From: Nobuyoshi <ko1@a...>
Date: Fri, 28 Jun 2019 17:14:24 +0900 (JST)
Subject: [ruby-changes:56260] Nobuyoshi Nakada: 3dba16a5d6 (trunk): Test string content

https://git.ruby-lang.org/ruby.git/commit/?id=3dba16a5d6

From 3dba16a5d6195a673537519edb024ef1d29f7715 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 28 Jun 2019 17:08:47 +0900
Subject: Test string content


diff --git a/test/ripper/test_parser_events.rb b/test/ripper/test_parser_events.rb
index 97bea54..37d7254 100644
--- a/test/ripper/test_parser_events.rb
+++ b/test/ripper/test_parser_events.rb
@@ -482,6 +482,7 @@ class TestRipper::ParserEvents < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ripper/test_parser_events.rb#L482
     }
     assert_equal true, thru_heredoc_dedent
     assert_match(/string_content\(\), heredoc\n/, tree)
+    assert_equal(" heredoc\n", str.children[1])
     assert_equal(1, width)
   end
 
-- 
cgit v0.10.2


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

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