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