More docs for brew create generated formula tests

To assist those new to stuff.
This commit is contained in:
Max Howell 2011-09-20 03:38:30 +01:00
parent d05478e85b
commit 28aef26a47

View File

@ -124,8 +124,12 @@ class FormulaCreator
end end
def test def test
# this will fail we won't accept that, make it test the program works! # This test will fail and we won't accept that! It's enough to just
system "/usr/bin/false" # replace "false" with the main program this formula installs, but
# it'd be nice if you were more thorough. Test the test with
# `brew test #{name}`. Remove this comment before submitting
# your pull request!
system "false"
end end
end end
EOS EOS