aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-06-12 21:31:51 -0500
committerJack Nagel2014-06-12 21:31:51 -0500
commit23f1ba3d4c05bdf74bd66915b26f4d2daba349e1 (patch)
tree9c22af0f280cdc2420bfea774ec52152ba9d4ba0 /Library/Homebrew/test
parentd5ee438f3a63ecc07b2ca51ceaf42b595662c279 (diff)
downloadhomebrew-23f1ba3d4c05bdf74bd66915b26f4d2daba349e1.tar.bz2
Remove repeated test code
Diffstat (limited to 'Library/Homebrew/test')
-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