aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula.rb4
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