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