diff options
| author | Jack Nagel | 2012-04-09 17:45:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-09 17:45:35 -0500 |
| commit | cce350691c23eb356b980d00b6505952daa730a8 (patch) | |
| tree | f17e3f39d2c99a6a68d050242bd410bda2a0b27d /Library | |
| parent | 31f582a29eb2c0589c05be97191860c78c006de7 (diff) | |
| download | homebrew-cce350691c23eb356b980d00b6505952daa730a8.tar.bz2 | |
tests: fix no-op fails_with test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_formula.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb index f3339d95e..3144afaa9 100644 --- a/Library/Homebrew/test/test_formula.rb +++ b/Library/Homebrew/test/test_formula.rb @@ -96,10 +96,10 @@ class FormulaTests < Test::Unit::TestCase assert !(f.fails_with? :gcc) cs = CompilerSelector.new(f) cs.select_compiler - assert ENV.compiler, case MacOS.clang_build_version + assert_equal case MacOS.clang_build_version when 0..210 then :gcc else :clang - end + end, ENV.compiler ENV.send MacOS.default_compiler f = TestMixedCompilerFailures.new |
