formula_assertions: ensure the right Test::Unit is required

This commit is contained in:
Baptiste Fontaine 2016-01-19 15:42:37 +01:00
parent 27b606d928
commit 8c19472d6f

View File

@ -21,7 +21,7 @@ module Homebrew
FailedAssertion = Test::Unit::AssertionFailedError
end
include Test::Unit::Assertions
include ::Test::Unit::Assertions
# Returns the output of running cmd, and asserts the exit status
def shell_output(cmd, result = 0)