diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-22 14:28:02 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-01-22 14:28:02 +0000 |
| commit | 76ccb21ee71823b27c683c0e5d9a46dba682a335 (patch) | |
| tree | e210293fccae207dda274802a31cb59b40a6878f /lib/test/unit | |
| parent | b11d3b31559635e111b09f321adee01f24cafb2e (diff) | |
| download | ruby-76ccb21ee71823b27c683c0e5d9a46dba682a335.tar.gz ruby-76ccb21ee71823b27c683c0e5d9a46dba682a335.tar.xz ruby-76ccb21ee71823b27c683c0e5d9a46dba682a335.zip | |
* lib/test/unit/autorunner.rb (process_args): ignore arguments after
'--' so that test scripts can handle them. fixed: [ruby-dev:28258]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test/unit')
| -rw-r--r-- | lib/test/unit/autorunner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/autorunner.rb b/lib/test/unit/autorunner.rb index 2831293b7..d9720daa4 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 |
