diff options
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/test/formula_test.rb | 2 | ||||
| -rwxr-xr-x | Library/Homebrew/test/unittest.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/formula_test.rb b/Library/Homebrew/test/formula_test.rb index 15cafae13..c79c62571 100755 --- a/Library/Homebrew/test/formula_test.rb +++ b/Library/Homebrew/test/formula_test.rb @@ -3,7 +3,7 @@ # support, and with no warranty, express or implied, as to its usefulness for # any purpose. -$:.unshift File.dirname(__FILE__)+'/..' +$:.push(File.expand_path(__FILE__+'/../..')) require 'test/unit' require 'global' require 'formula' diff --git a/Library/Homebrew/test/unittest.rb b/Library/Homebrew/test/unittest.rb index e6bd27387..923080ea8 100755 --- a/Library/Homebrew/test/unittest.rb +++ b/Library/Homebrew/test/unittest.rb @@ -5,7 +5,7 @@ ABS__FILE__=File.expand_path(__FILE__) -$:.unshift File.dirname(ABS__FILE__)+'/..' +$:.push(File.expand_path(__FILE__+'/../..')) require 'extend/pathname' require 'utils' require 'hardware' |
