diff options
| author | Jack Nagel | 2013-05-09 23:53:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-05-10 23:27:28 -0500 |
| commit | 366ac016bdc7d43e1d4a11d8647a4ecf85925cec (patch) | |
| tree | 1ee2858133feda98c6399cd30962ce5f14f46b30 /Library/Homebrew/test | |
| parent | 9b7c228bdf9fd59b7b6021b52a2f67a90c5b5571 (diff) | |
| download | homebrew-366ac016bdc7d43e1d4a11d8647a4ecf85925cec.tar.bz2 | |
Reorganize compat
Diffstat (limited to 'Library/Homebrew/test')
| -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 |
