diff options
| author | Misty De Meo | 2013-09-10 13:08:03 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-09-10 13:08:03 -0700 |
| commit | 15a3ae3d2836225c1eb3a05802971fc59a23a5fb (patch) | |
| tree | 95bc882007fe654c574ac4125c56c8424043f25c /Library/Homebrew/test/test_compiler_selector.rb | |
| parent | 55004d81b6f9e5b56e944b629444cebc3a9cccb4 (diff) | |
| download | brew-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.rb | 4 |
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 |
