summaryrefslogtreecommitdiff
path: root/test/ripper
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-28 17:08:47 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-28 17:08:47 +0900
commit3dba16a5d6195a673537519edb024ef1d29f7715 (patch)
tree5593a3f3653ab7517b1bc057cce7981a8f624be8 /test/ripper
parent5331932cd22f4dab84196eca55a05264dc0b84d7 (diff)
Test string content
Diffstat (limited to 'test/ripper')
-rw-r--r--test/ripper/test_parser_events.rb1
1 files changed, 1 insertions, 0 deletions
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