brew create: use test DSL

This commit is contained in:
Mike McQuaid 2013-02-23 08:42:34 +00:00
parent 72afade1ee
commit b1241bb3a1

View File

@ -146,7 +146,9 @@ class FormulaCreator
system "make install" # if this fails, try separate make/make install steps
end
def test
test do
# `test do` will create, run in and delete a temporary directory.
#
# This test will fail and we won't accept that! It's enough to just replace
# "false" with the main program this formula installs, but it'd be nice if you
# were more thorough. Run the test with `brew test #{name}`.