diff options
| author | Mike McQuaid | 2017-12-08 16:45:41 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-12-08 16:45:41 +0000 |
| commit | 4fa16c942845c86160264416b451d2d289a1cb17 (patch) | |
| tree | 353ba05828f7d1380c2b92b9fa0fd2b7b4fb7363 /Library/Homebrew/formula_assertions.rb | |
| parent | 5055c31a867aa256cdec6b22f75b552a10ee7a99 (diff) | |
| download | brew-4fa16c942845c86160264416b451d2d289a1cb17.tar.bz2 | |
formula_assertions: remove Ruby 2.0 compatibility.
We only support Ruby 2.3, now.
Diffstat (limited to 'Library/Homebrew/formula_assertions.rb')
| -rw-r--r-- | Library/Homebrew/formula_assertions.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Library/Homebrew/formula_assertions.rb b/Library/Homebrew/formula_assertions.rb index 2ba5767a7..f81087a3d 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 |
