aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_compiler_selector.rb
diff options
context:
space:
mode:
authorMisty De Meo2013-09-10 13:08:03 -0700
committerMisty De Meo2013-09-10 13:08:03 -0700
commit15a3ae3d2836225c1eb3a05802971fc59a23a5fb (patch)
tree95bc882007fe654c574ac4125c56c8424043f25c /Library/Homebrew/test/test_compiler_selector.rb
parent55004d81b6f9e5b56e944b629444cebc3a9cccb4 (diff)
downloadbrew-15a3ae3d2836225c1eb3a05802971fc59a23a5fb.tar.bz2
Fix CompilerSelector test for llvm
Update test to reflect that llvm-gcc should take precedence over non-Apple GCC.
Diffstat (limited to 'Library/Homebrew/test/test_compiler_selector.rb')
-rw-r--r--Library/Homebrew/test/test_compiler_selector.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_compiler_selector.rb b/Library/Homebrew/test/test_compiler_selector.rb
index 5374a5452..dbe6fe9f6 100644
--- a/Library/Homebrew/test/test_compiler_selector.rb
+++ b/Library/Homebrew/test/test_compiler_selector.rb
@@ -98,9 +98,9 @@ class CompilerSelectorTests < Test::Unit::TestCase
assert_equal :llvm, actual_cc
end
- def test_non_apple_gcc_precedence
+ def test_llvm_precedence
@f << :clang << :gcc
- assert_equal 'gcc-4.8', actual_cc
+ assert_equal :llvm, actual_cc
end
def test_missing_gcc