diff options
Diffstat (limited to 'Library/Homebrew/test/testing_env.rb')
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index 731ef5b86..8e3c92a32 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -67,10 +67,7 @@ def shutup end end -unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT'] - $:.unshift(File.expand_path("#{ABS__FILE__}/../../compat")) - require 'compatibility' -end +require 'compat' unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT'] require 'test/unit' # must be after at_exit require 'extend/ARGV' # needs to be after test/unit to avoid conflict with OptionsParser |
