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:
parent
5331932cd2
commit
3dba16a5d6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue