aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-01-07 23:47:42 +0000
committerMike McQuaid2013-01-07 23:48:10 +0000
commitc670339c02985878336c4f719d6b4e2b538cdc5c (patch)
treedc62b9ee6b8e9f7a231875ee5a21a1781ee1b0a4 /Library
parent967a60a0543aab16a9a472d8150f41b6a4943359 (diff)
downloadbrew-c670339c02985878336c4f719d6b4e2b538cdc5c.tar.bz2
Fix brew-test-bot for new test DSL.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmds/brew-test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmds/brew-test-bot.rb b/Library/Contributions/cmds/brew-test-bot.rb
index 2feaa2cb2..83c00b1f6 100755
--- a/Library/Contributions/cmds/brew-test-bot.rb
+++ b/Library/Contributions/cmds/brew-test-bot.rb
@@ -202,7 +202,7 @@ class Test
bottle_filename = bottle_filename(formula_object, bottle_version)
test "brew uninstall #{formula}"
test "brew install #{bottle_filename}"
- test "brew test #{formula}" if defined? formula_object.test
+ test "brew test #{formula}" if formula_object.test_defined?
test "brew uninstall #{formula}"
test "brew uninstall #{dependencies}" unless dependencies.empty?
end