Class: TailGroup
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- TailGroup
- Defined in:
- lib/prettyprint.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#test_1 ⇒ Object
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 |
# File 'lib/prettyprint.rb', line 767 def test_1 out = PrettyPrint.format('', 10) {|q| q.group { q.group { q.text "abc" q.breakable q.text "def" } q.group { q.text "ghi" q.breakable q.text "jkl" } } } assert_equal("abc defghi\njkl", out) end |