diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-02 14:48:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-02 14:48:44 +0000 |
commit | 27841c008e0d22c4ebaed88af90f850c931da49d (patch) | |
tree | 0cee7eb56e671ec10a1a3a5bf566a058e7459356 /lib | |
parent | 7d054f8913c824143b5c82aada2dba55d81f4f1e (diff) | |
download | ruby-27841c008e0d22c4ebaed88af90f850c931da49d.tar.gz |
* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#collect_file):
load expanded path. fixed: [ruby-dev:29621]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test/unit/collector/dir.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/collector/dir.rb b/lib/test/unit/collector/dir.rb index 2cee7dde44..dadd9408c7 100644 --- a/lib/test/unit/collector/dir.rb +++ b/lib/test/unit/collector/dir.rb @@ -77,7 +77,7 @@ module Test end def collect_file(name, suites, already_gathered) - dir = File.dirname(File.expand_path(name, @base)) + dir = File.dirname(name = File.expand_path(name, @base)) $:.unshift(dir) if(@req) @req.require(name) |