aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_patch.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-29 16:06:06 -0500
committerJack Nagel2014-07-29 16:22:06 -0500
commit3f12ddbccd8416d4355e0fd0efa8f95bc1a7632f (patch)
tree0c4693b736fbe17872487215a6b73ae534b8cecf /Library/Homebrew/test/test_patch.rb
parente0c97177170f1238c53d0b9ecca8dd97bf74c03e (diff)
downloadbrew-3f12ddbccd8416d4355e0fd0efa8f95bc1a7632f.tar.bz2
Decouple DATA patches from the executing script
Diffstat (limited to 'Library/Homebrew/test/test_patch.rb')
-rw-r--r--Library/Homebrew/test/test_patch.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_patch.rb b/Library/Homebrew/test/test_patch.rb
index bc0e522d3..4b8cdf53c 100644
--- a/Library/Homebrew/test/test_patch.rb
+++ b/Library/Homebrew/test/test_patch.rb
@@ -36,13 +36,13 @@ class PatchTests < Homebrew::TestCase
def test_create_DATA
patch = Patch.create(:p0, :DATA)
- assert_kind_of IOPatch, patch
+ assert_kind_of DATAPatch, patch
assert_equal :p0, patch.strip
end
def test_create_DATA_without_strip
patch = Patch.create(:DATA, nil)
- assert_kind_of IOPatch, patch
+ assert_kind_of DATAPatch, patch
assert_equal :p1, patch.strip
end