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
This commit is contained in:
parent
d2ddd30a3f
commit
d03ed07e60
@ -1,3 +1,8 @@
|
|||||||
|
Fri Nov 23 11:12:06 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2): now
|
||||||
|
--help option is for modern terminals.
|
||||||
|
|
||||||
Fri Nov 23 10:45:00 2012 Zachary Scott <zachary@zacharyscott.net>
|
Fri Nov 23 10:45:00 2012 Zachary Scott <zachary@zacharyscott.net>
|
||||||
|
|
||||||
* ext/socket/ipsocket.c (IPSocket#peeraddr): Fix example
|
* ext/socket/ipsocket.c (IPSocket#peeraddr): Fix example
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: us-ascii -*-
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
|
|
||||||
require 'tmpdir'
|
require 'tmpdir'
|
||||||
@ -38,10 +39,6 @@ class TestRubyOptions < Test::Unit::TestCase
|
|||||||
assert_operator(r[1..-1].collect{|x| x.size}.max, :<=, 80)
|
assert_operator(r[1..-1].collect{|x| x.size}.max, :<=, 80)
|
||||||
assert_equal([], e)
|
assert_equal([], e)
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
def test_option_variables
|
def test_option_variables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user