From 06f4b438fb72e46410b0ee1337bd2efbb4813262 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Jan 2006 14:28:02 +0000 Subject: * lib/test/unit/autorunner.rb (process_args): ignore arguments after '--' so that test scripts can handle them. fixed: [ruby-dev:28258] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/test/unit/autorunner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/test/unit/autorunner.rb b/lib/test/unit/autorunner.rb index 2831293b7c..d9720daa49 100644 --- a/lib/test/unit/autorunner.rb +++ b/lib/test/unit/autorunner.rb @@ -85,7 +85,7 @@ module Test def process_args(args = ARGV) begin - @to_run.concat options.parse!(args) + options.order!(args) {|arg| @to_run << arg} rescue OptionParser::ParseError => e puts e puts options -- cgit v1.2.3