diff options
| author | Jack Nagel | 2013-05-09 23:53:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-05-10 23:27:28 -0500 |
| commit | 3be67f72523b55486cad2bd2fa0f6c79b23c82a4 (patch) | |
| tree | 7a8b3ea8b9cdfe3f735821a73438c713be31af8b /Library/Homebrew/test/testing_env.rb | |
| parent | 290a93ea758488486e02ff063a28b57117501c07 (diff) | |
| download | brew-3be67f72523b55486cad2bd2fa0f6c79b23c82a4.tar.bz2 | |
Reorganize compat
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 |
