diff options
Diffstat (limited to 'test/optparse/test_summary.rb')
-rw-r--r-- | test/optparse/test_summary.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/optparse/test_summary.rb b/test/optparse/test_summary.rb index bda3b49890..2fad5f04dc 100644 --- a/test/optparse/test_summary.rb +++ b/test/optparse/test_summary.rb @@ -31,8 +31,8 @@ class TestOptionParser::SummaryTest < TestOptionParser end def test_summary - o = OptionParser.new("foo bar") - assert_equal("foo bar\n", o.to_s) - assert_equal(["foo bar"], o.to_a) + o = OptionParser.new("foo\nbar") + assert_equal("foo\nbar\n", o.to_s) + assert_equal(["foo", "bar"], o.to_a) end end |