diff --git a/Library/Homebrew/test/test_ENV.rb b/Library/Homebrew/test/test_ENV.rb index 8c1a725196..123918b46f 100644 --- a/Library/Homebrew/test/test_ENV.rb +++ b/Library/Homebrew/test/test_ENV.rb @@ -4,13 +4,6 @@ require 'hardware' class EnvironmentTests < Test::Unit::TestCase def test_ENV_options ENV.gcc_4_0 - begin - ENV.gcc_4_2 - rescue RuntimeError => e - if `sw_vers -productVersion` =~ /10\.(\d+)/ and $1.to_i < 7 - raise e - end - end ENV.O3 ENV.minimal_optimization ENV.no_optimization diff --git a/Library/Homebrew/test/test_bucket.rb b/Library/Homebrew/test/test_bucket.rb index 007c49d7da..56b67b6868 100644 --- a/Library/Homebrew/test/test_bucket.rb +++ b/Library/Homebrew/test/test_bucket.rb @@ -24,18 +24,6 @@ end class BeerTasting < Test::Unit::TestCase include VersionAssertions - def test_supported_compressed_types - assert_nothing_raised do - MockFormula.new 'test-0.1.tar.gz' - MockFormula.new 'test-0.1.tar.bz2' - MockFormula.new 'test-0.1.tar.xz' - MockFormula.new 'test-0.1.tgz' - MockFormula.new 'test-0.1.bgz' - MockFormula.new 'test-0.1.txz' - MockFormula.new 'test-0.1.zip' - end - end - FOOBAR='foo-bar' def test_formula_funcs classname=Formula.class_s(FOOBAR)