Skip to content
Snippets Groups Projects
Commit e9cf30eb authored by Jack Nagel's avatar Jack Nagel
Browse files

Support older Minitest constant

parent 3f3ba846
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,8 @@ module Homebrew extend self
if Object.const_defined?(:Minitest)
FailedAssertion = Minitest::Assertion
elsif Object.const_defined?(:MiniTest)
FailedAssertion = MiniTest::Assertion
else
FailedAssertion = Test::Unit::AssertionFailedError
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment