aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_compiler_selector.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-10 22:43:47 -0500
committerJack Nagel2014-06-18 20:34:09 -0500
commit16884ea08e115723ca595bf29389cddef54f9c63 (patch)
tree79e3c0c89981c4978cda2889129fd771e64cb00f /Library/Homebrew/test/test_compiler_selector.rb
parent203653e821c40a68dbdfd9a9457214dfa63111ad (diff)
downloadhomebrew-16884ea08e115723ca595bf29389cddef54f9c63.tar.bz2
Switch to Minitest
Diffstat (limited to 'Library/Homebrew/test/test_compiler_selector.rb')
-rw-r--r--Library/Homebrew/test/test_compiler_selector.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_compiler_selector.rb b/Library/Homebrew/test/test_compiler_selector.rb
index f447c6b5d..c379e5713 100644
--- a/Library/Homebrew/test/test_compiler_selector.rb
+++ b/Library/Homebrew/test/test_compiler_selector.rb
@@ -50,7 +50,7 @@ class CompilerSelectorTests < Homebrew::TestCase
def test_all_compiler_failures
@f << :clang << :llvm << :gcc << 'gcc-4.8'
- assert_raise(CompilerSelectionError) { actual_cc }
+ assert_raises(CompilerSelectionError) { actual_cc }
end
def test_no_compiler_failures
@@ -111,7 +111,7 @@ class CompilerSelectorTests < Homebrew::TestCase
def test_missing_gcc
@versions = CompilerVersions.new( :gcc_build_version => nil)
@f << :clang << :llvm << 'gcc-4.8'
- assert_raise(CompilerSelectionError) { actual_cc }
+ assert_raises(CompilerSelectionError) { actual_cc }
end
def test_missing_llvm_and_gcc
@@ -120,6 +120,6 @@ class CompilerSelectorTests < Homebrew::TestCase
:llvm_build_version => nil
)
@f << :clang << 'gcc-4.8'
- assert_raise(CompilerSelectionError) { actual_cc }
+ assert_raises(CompilerSelectionError) { actual_cc }
end
end