diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-02 13:29:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-02 13:29:07 +0000 |
commit | 49a041a08c276ca77d618dc2a1ad019367247ad1 (patch) | |
tree | d5d68edb321eb0aea5d6fd11c167b233e75037f6 /lib | |
parent | 5623b096a01d764fd4d69bd514b1f63ac27700f6 (diff) | |
download | ruby-49a041a08c276ca77d618dc2a1ad019367247ad1.tar.gz ruby-49a041a08c276ca77d618dc2a1ad019367247ad1.tar.xz ruby-49a041a08c276ca77d618dc2a1ad019367247ad1.zip |
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::COLLECTORS):
base directory should be lower precedence. fixed: [ruby-dev:29622]
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test/unit/autorunner.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test/unit/autorunner.rb b/lib/test/unit/autorunner.rb index 71dbccbce..dadf080d1 100644 --- a/lib/test/unit/autorunner.rb +++ b/lib/test/unit/autorunner.rb @@ -64,7 +64,7 @@ module Test c.pattern.concat(r.pattern) if(r.pattern) c.exclude.concat(r.exclude) if(r.exclude) c.base = r.base - $:.unshift(r.base) if r.base + $:.push(r.base) if r.base c.collect(*(r.to_run.empty? ? ['.'] : r.to_run)) end, } @@ -111,7 +111,7 @@ module Test end if(@standalone) - o.on('-b', '--basedir=DIR', "Base directory of test suits.") do |b| + o.on('-b', '--basedir=DIR', "Base directory of test suites.") do |b| @base = b end |