aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_formula.rb
diff options
context:
space:
mode:
authorJack Nagel2014-12-28 00:03:16 -0500
committerJack Nagel2014-12-28 00:03:16 -0500
commitc04ca5bbf657c334bf600fd680f4c5bf435f3cb2 (patch)
treef59e586b962777475a6d384287a7fca152996d36 /Library/Homebrew/test/test_formula.rb
parent90bb89852d56ddf42c3663f4977c01322f6854bc (diff)
downloadhomebrew-c04ca5bbf657c334bf600fd680f4c5bf435f3cb2.tar.bz2
Drop pointless subclass in test
Diffstat (limited to 'Library/Homebrew/test/test_formula.rb')
-rw-r--r--Library/Homebrew/test/test_formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_formula.rb b/Library/Homebrew/test/test_formula.rb
index 6af1dbca0..1d45de375 100644
--- a/Library/Homebrew/test/test_formula.rb
+++ b/Library/Homebrew/test/test_formula.rb
@@ -42,7 +42,7 @@ class FormulaTests < Homebrew::TestCase
end
def test_installed_prefix
- f = Class.new(TestBall).new
+ f = TestBall.new
assert_equal f.prefix, f.installed_prefix
end