diff options
| author | Jack Nagel | 2012-04-09 17:45:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-09 17:45:35 -0500 |
| commit | f296683409c4e838364e72f45fe15a7ff6721c29 (patch) | |
| tree | dd5f1763067931098b99c9f705db070648990b72 /Library/Homebrew | |
| parent | c134ba6c4a4c224ab6f294bcc484f1fd1cbab0aa (diff) | |
| download | brew-f296683409c4e838364e72f45fe15a7ff6721c29.tar.bz2 | |
tests: fix no-op fails_with test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew')
| -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 |
