aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-06-12 21:31:51 -0500
committerJack Nagel2014-06-12 21:31:51 -0500
commit1beefdb5d06d5ec07714aede24dce020ff6b0b37 (patch)
treeaa81661b75eb431f6bebca5ca04bfaebf16c56b5 /Library/Homebrew
parente9cf30eb2c576507cd6e096cf7f5ab3ffad494f9 (diff)
downloadbrew-1beefdb5d06d5ec07714aede24dce020ff6b0b37.tar.bz2
Remove repeated test code
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/test/test_formula_install.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/Homebrew/test/test_formula_install.rb b/Library/Homebrew/test/test_formula_install.rb
index cc42bff61..6e66c0284 100644
--- a/Library/Homebrew/test/test_formula_install.rb
+++ b/Library/Homebrew/test/test_formula_install.rb
@@ -63,12 +63,6 @@ class InstallTests < Test::Unit::TestCase
end
end.new
- temporary_install f do
- shutup do
- f.brew { f.install }
- end
-
- assert_equal 1, f.bin.children.length
- end
+ temporary_install(f) { assert_equal 1, f.bin.children.length }
end
end