From 3dba16a5d6195a673537519edb024ef1d29f7715 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 28 Jun 2019 17:08:47 +0900 Subject: [PATCH] Test string content --- test/ripper/test_parser_events.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ripper/test_parser_events.rb b/test/ripper/test_parser_events.rb index 97bea54853..37d72542a7 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 } 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