Don't load unused compat files for tests

This commit is contained in:
Jack Nagel 2014-06-16 14:32:06 -05:00
parent 3b3c03159a
commit 344f77e179

View File

@ -73,8 +73,6 @@ def shutup
end end
end end
require 'compat' unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT']
require 'test/unit' # must be after at_exit require 'test/unit' # must be after at_exit
require 'extend/ARGV' # needs to be after test/unit to avoid conflict with OptionsParser require 'extend/ARGV' # needs to be after test/unit to avoid conflict with OptionsParser
ARGV.extend(HomebrewArgvExtension) ARGV.extend(HomebrewArgvExtension)