diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-23 02:12:09 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-23 02:12:09 +0000 |
commit | d03ed07e60f34715298ace6d8b8a3619eb71407c (patch) | |
tree | a89bc8193c0910c5908e5984c3887f6bd48944c4 /test/ruby/test_rubyoptions.rb | |
parent | d2ddd30a3fbdaae3eb8e1356c6c411703645d0b6 (diff) | |
download | ruby-d03ed07e60f34715298ace6d8b8a3619eb71407c.tar.gz |
test_rubyoptions.rb: --help
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2): now
--help option is for modern terminals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index c77aa1f3dd..0291850ba8 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -1,3 +1,4 @@ +# -*- coding: us-ascii -*- require 'test/unit' require 'tmpdir' @@ -38,10 +39,6 @@ class TestRubyOptions < Test::Unit::TestCase assert_operator(r[1..-1].collect{|x| x.size}.max, :<=, 80) assert_equal([], e) end - assert_in_out_err(%w(--help)) do |r, e| - assert_operator(r[1..-1].collect{|x| x.size}.max, :<=, 80) - assert_equal([], e) - end end def test_option_variables |