summaryrefslogtreecommitdiff
path: root/test/optparse/test_summary.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/optparse/test_summary.rb')
-rw-r--r--test/optparse/test_summary.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/optparse/test_summary.rb b/test/optparse/test_summary.rb
index bda3b49..2fad5f0 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