mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_require): -r
with no name is ignored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c5d383bae1
commit
f913368b57
1 changed files with 2 additions and 0 deletions
|
|
@ -124,6 +124,8 @@ class TestRubyOptions < Test::Unit::TestCase
|
|||
require "pp"
|
||||
assert_in_out_err(%w(-r pp -e) + ["pp 1"], "", %w(1), [])
|
||||
assert_in_out_err(%w(-rpp -e) + ["pp 1"], "", %w(1), [])
|
||||
assert_in_out_err(%w(-ep\ 1 -r), "", %w(1), [])
|
||||
assert_in_out_err(%w(-r), "", [], [])
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue