From f913368b578c99afe61a5d479e884da34f5bc98d Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 17 Dec 2010 08:04:35 +0000 Subject: * 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 --- test/ruby/test_rubyoptions.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ruby/test_rubyoptions.rb') diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index be3307e56a..d125b2c078 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -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 -- cgit v1.2.3