More docs for brew create generated formula tests
To assist those new to stuff.
This commit is contained in:
parent
d05478e85b
commit
28aef26a47
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user