From 3f12ddbccd8416d4355e0fd0efa8f95bc1a7632f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 29 Jul 2014 16:06:06 -0500 Subject: Decouple DATA patches from the executing script --- Library/Homebrew/test/test_patch.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/test/test_patch.rb') 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 -- cgit v1.2.3