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 | 224033aac997e28f38a7c679b8f6d8ad952fee3d (patch) | |
| tree | 417011631f5afbc7505892c5f567dd6ff16bae3f /lib | |
| parent | 2991585ef78820e938c8aeb2a062d4fd3bbe906a (diff) | |
| download | ruby-224033aac997e28f38a7c679b8f6d8ad952fee3d.tar.gz ruby-224033aac997e28f38a7c679b8f6d8ad952fee3d.tar.xz ruby-224033aac997e28f38a7c679b8f6d8ad952fee3d.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/branches/ruby_1_8@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -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 |
