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 | 128a330294dc9b14aa09320d9ee0e351625b103c (patch) | |
| tree | 79aef83f4cdfbaa674d8b1ad79470c8955ecf3a3 | |
| parent | ab59325da0e0f9ca40aa292395828691c7073b61 (diff) | |
| download | ruby-128a330294dc9b14aa09320d9ee0e351625b103c.tar.gz ruby-128a330294dc9b14aa09320d9ee0e351625b103c.tar.xz ruby-128a330294dc9b14aa09320d9ee0e351625b103c.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/branches/ruby_1_8@11065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | lib/test/unit/autorunner.rb | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +Mon Oct 2 22:28:17 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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. + Mon Oct 2 15:49:19 2006 NAKAMURA Usaku <usa@ruby-lang.org> * instruby.rb: batfile should be CRLF'ed. 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 |
