From 4fa16c942845c86160264416b451d2d289a1cb17 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 8 Dec 2017 16:45:41 +0000 Subject: [PATCH] formula_assertions: remove Ruby 2.0 compatibility. We only support Ruby 2.3, now. --- Library/Homebrew/formula_assertions.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Library/Homebrew/formula_assertions.rb b/Library/Homebrew/formula_assertions.rb index 2ba5767a71..f81087a3dd 100644 --- a/Library/Homebrew/formula_assertions.rb +++ b/Library/Homebrew/formula_assertions.rb @@ -3,11 +3,6 @@ module Homebrew 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