1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2006-10-02 14:48:44 +00:00
parent 7d054f8913
commit 27841c008e
2 changed files with 5 additions and 2 deletions

View file

@ -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)