diff options
| author | Mike McQuaid | 2017-12-08 21:01:32 +0000 |
|---|---|---|
| committer | GitHub | 2017-12-08 21:01:32 +0000 |
| commit | e72fde418b439b45c6036774159b8e2479faaefe (patch) | |
| tree | dac1d4cfc5a36ce3c2f16572da13ed374097f274 /Library/Homebrew | |
| parent | 4df12861a08f48eb0e569124f0d641f83d439db4 (diff) | |
| parent | 4fa16c942845c86160264416b451d2d289a1cb17 (diff) | |
| download | brew-e72fde418b439b45c6036774159b8e2479faaefe.tar.bz2 | |
Merge pull request #3546 from MikeMcQuaid/formula_assertions_ruby_23
formula_assertions: remove Ruby 2.0 compatibility.
Diffstat (limited to 'Library/Homebrew')
| -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 |
