From 3483d6857814d344d5259cc0978a20cc54c62e77 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 10 Sep 2013 13:08:03 -0700 Subject: 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(-) (limited to 'Library') 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 -- cgit v1.2.3