* 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:
nobu 2010-12-17 08:04:35 +00:00
parent c5d383bae1
commit f913368b57

View File

@ -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