Correct description of how to fail tests

Fixes Homebrew/homebrew#33463.
This commit is contained in:
Jack Nagel 2014-10-21 22:43:46 -05:00
parent f29376c867
commit d3ae3419a9

View File

@ -398,8 +398,8 @@ class ExampleFormula < Formula
assert_equal "result", stdout.read assert_equal "result", stdout.read
end end
# If an exception is raised (e.g. by assert), or if we return false, or if # The test will fail if it returns false, or if an exception is raised.
# the command run by `system` prints to stderr, we consider the test failed. # Failed assertions and failed `system` commands will raise exceptions.
end end