aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test')
-rw-r--r--lib/test/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 311d758a81..ac15a95b07 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -228,7 +228,7 @@ module Test
return false if !super
result = false
files.each {|f|
- d = File.dirname(path = File.expand_path(f))
+ d = File.dirname(path = File.realpath(f))
unless $:.include? d
$: << d
end