From 3be67f72523b55486cad2bd2fa0f6c79b23c82a4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 9 May 2013 23:53:26 -0500 Subject: Reorganize compat --- Library/Homebrew/test/testing_env.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Library/Homebrew/test') 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 -- cgit v1.2.3