1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Test string content

This commit is contained in:
Nobuyoshi Nakada 2019-06-28 17:08:47 +09:00
parent 5331932cd2
commit 3dba16a5d6
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -482,6 +482,7 @@ class TestRipper::ParserEvents < Test::Unit::TestCase
} }
assert_equal true, thru_heredoc_dedent assert_equal true, thru_heredoc_dedent
assert_match(/string_content\(\), heredoc\n/, tree) assert_match(/string_content\(\), heredoc\n/, tree)
assert_equal(" heredoc\n", str.children[1])
assert_equal(1, width) assert_equal(1, width)
end end