Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions Library/Homebrew/formula_assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ module Assertions
require "test/unit/assertions"
include ::Test::Unit::Assertions

# TODO: remove this when we no longer support Ruby 2.0.
unless defined?(Test::Unit::AssertionFailedError)
Test::Unit::AssertionFailedError = MiniTest::Assertion
end

# Returns the output of running cmd, and asserts the exit status
def shell_output(cmd, result = 0)
ohai cmd
Expand Down