diff options
| author | Jack Nagel | 2013-06-08 21:26:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-08 21:31:44 -0500 |
| commit | bae36f0830df37989b86ece36cc5282f32d7d087 (patch) | |
| tree | 0602049c5e00652085a1921f35006a0eeb62fe37 /Library/Homebrew/formula.rb | |
| parent | b0fe493ca11adc3d46a6d34e25c4c5fc8a7abb25 (diff) | |
| download | brew-bae36f0830df37989b86ece36cc5282f32d7d087.tar.bz2 | |
Make Test::Unit assertions available in formula tests
Closes Homebrew/homebrew#18753.
Closes Homebrew/homebrew#20358.
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 06dfafa45..402c4500b 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -562,6 +562,8 @@ class Formula end def test + require 'test/unit/assertions' + extend(Test::Unit::Assertions) ret = nil mktemp do @testpath = Pathname.pwd |
