зеркало из https://github.com/github/ruby.git
* test/ruby/test_rubyoptions.rb (test_disable): add tests for
--disable-gems and --disable-did_you_mean. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
fa0e37646a
Коммит
c52283934e
|
@ -1,3 +1,8 @@
|
|||
Tue Mar 15 04:36:41 2016 Charles Oliver Nutter <headius@headius.com>
|
||||
|
||||
* test/ruby/test_rubyoptions.rb (test_disable): add tests for
|
||||
--disable-gems and --disable-did_you_mean.
|
||||
|
||||
Tue Mar 15 03:35:04 2016 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* marshal.c (r_object0): Fix Marshal crash for corrupt extended object.
|
||||
|
|
|
@ -128,6 +128,8 @@ class TestRubyOptions < Test::Unit::TestCase
|
|||
assert_in_out_err(%w(--disable foobarbazqux -e) + [""], "", [],
|
||||
/unknown argument for --disable: `foobarbazqux'/)
|
||||
assert_in_out_err(%w(--disable), "", [], /missing argument for --disable/)
|
||||
assert_in_out_err(%w(--disable-gems -e) + ['p defined? Gem'], "", ["nil"], [])
|
||||
assert_in_out_err(%w(--disable-did_you_mean -e) + ['p defined? DidYouMean'], "", ["nil"], [])
|
||||
end
|
||||
|
||||
def test_kanji
|
||||
|
|
Загрузка…
Ссылка в новой задаче