aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/unittest.rb
diff options
context:
space:
mode:
authorMax Howell2009-10-23 16:40:55 +0100
committerMax Howell2009-10-23 19:22:51 +0100
commitd967421c6e8f188bc19d894b9c953be2a6abb1c5 (patch)
tree1ad7db44841ddec58d7acd5e0f6a70657a160676 /Library/Homebrew/test/unittest.rb
parent6ca096125de97955cb4a37166e97c2cb7332cc1e (diff)
downloadbrew-d967421c6e8f188bc19d894b9c953be2a6abb1c5.tar.bz2
The tests need the actual optparse apparently
Diffstat (limited to 'Library/Homebrew/test/unittest.rb')
-rwxr-xr-xLibrary/Homebrew/test/unittest.rb2
1 files changed, 1 insertions, 1 deletions
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'