From 15a3ae3d2836225c1eb3a05802971fc59a23a5fb Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 10 Sep 2013 13:08:03 -0700 Subject: [PATCH] Fix CompilerSelector test for llvm Update test to reflect that llvm-gcc should take precedence over non-Apple GCC. --- Library/Homebrew/test/test_compiler_selector.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/test_compiler_selector.rb b/Library/Homebrew/test/test_compiler_selector.rb index 5374a54521..dbe6fe9f6f 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