summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-24 10:31:10 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-24 10:31:10 +0000
commit0114fde85a09b69ad424c9bb239836f4896b016d (patch)
tree17d43e0b1fcdcd5be066469265a46a5cc37aa6db /test
parent757413f6bb6879a3bf92cf26fa4d0c9467cd84ff (diff)
* test/ruby/test_rubyoptions.rb (test_usage, test_usage_long):
reduced, renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_rubyoptions.rb9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 7127cc41b8..eca6823597 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -30,16 +30,13 @@ class TestRubyOptions < Test::Unit::TestCase
def test_usage
assert_in_out_err(%w(-h)) do |r, e|
assert_operator(r.size, :<=, 24)
- assert_equal([], e)
- end
- end
-
- def test_usage2
- assert_in_out_err(%w(-h)) do |r, e|
longer = r[1..-1].select {|x| x.size > 80}
assert_equal([], longer)
assert_equal([], e)
end
+ end
+
+ def test_usage_long
assert_in_out_err(%w(--help)) do |r, e|
longer = r[1..-1].select {|x| x.size > 80}
assert_equal([], longer)