diff options
| author | Jack Nagel | 2014-06-18 20:32:51 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-18 20:32:51 -0500 |
| commit | 982e9239b8ba2c2a49ccedec2a108a4580047bcb (patch) | |
| tree | 2f14dcbb8f00b31631d33452359fb56bf6e501c9 /Library/Homebrew/test/test_patch.rb | |
| parent | 55950bec59c45884a457f596eae9a363e1a4f41c (diff) | |
| download | brew-982e9239b8ba2c2a49ccedec2a108a4580047bcb.tar.bz2 | |
Use a custom test class so we can avoid monkeypatching
Diffstat (limited to 'Library/Homebrew/test/test_patch.rb')
| -rw-r--r-- | Library/Homebrew/test/test_patch.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_patch.rb b/Library/Homebrew/test/test_patch.rb index 9056e8371..0b3f9993d 100644 --- a/Library/Homebrew/test/test_patch.rb +++ b/Library/Homebrew/test/test_patch.rb @@ -1,7 +1,7 @@ require 'testing_env' require 'patch' -class PatchTests < Test::Unit::TestCase +class PatchTests < Homebrew::TestCase def test_create_simple patch = Patch.create(:p2) assert_kind_of ExternalPatch, patch @@ -51,7 +51,7 @@ class PatchTests < Test::Unit::TestCase end end -class LegacyPatchTests < Test::Unit::TestCase +class LegacyPatchTests < Homebrew::TestCase def test_patch_single_string patches = Patch.normalize_legacy_patches("http://example.com/patch.diff") assert_equal 1, patches.length |
