diff options
| author | Jack Nagel | 2014-07-10 12:38:09 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-10 12:42:54 -0500 |
| commit | 126d2133ab824072f526bc88830a5b9948247bfb (patch) | |
| tree | 081cc8b092e323470c362f9d8f446ebdaea76f2c /Library/Homebrew/test/test_patch.rb | |
| parent | 2b9cfe9fa536ec730611f751f445e1a2b35b735b (diff) | |
| download | brew-126d2133ab824072f526bc88830a5b9948247bfb.tar.bz2 | |
Fix method signature
Diffstat (limited to 'Library/Homebrew/test/test_patch.rb')
| -rw-r--r-- | Library/Homebrew/test/test_patch.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_patch.rb b/Library/Homebrew/test/test_patch.rb index 23ee84565..bc0e522d3 100644 --- a/Library/Homebrew/test/test_patch.rb +++ b/Library/Homebrew/test/test_patch.rb @@ -3,7 +3,7 @@ require 'patch' class PatchTests < Homebrew::TestCase def test_create_simple - patch = Patch.create(:p2) + patch = Patch.create(:p2, nil) assert_kind_of ExternalPatch, patch assert_predicate patch, :external? assert_equal :p2, patch.strip @@ -17,7 +17,7 @@ class PatchTests < Homebrew::TestCase end def test_create_io_without_strip - patch = Patch.create(StringIO.new("foo")) + patch = Patch.create(StringIO.new("foo"), nil) assert_kind_of IOPatch, patch assert_equal :p1, patch.strip end @@ -29,7 +29,7 @@ class PatchTests < Homebrew::TestCase end def test_create_string_without_strip - patch = Patch.create("foo") + patch = Patch.create("foo", nil) assert_kind_of IOPatch, patch assert_equal :p1, patch.strip end @@ -41,7 +41,7 @@ class PatchTests < Homebrew::TestCase end def test_create_DATA_without_strip - patch = Patch.create(:DATA) + patch = Patch.create(:DATA, nil) assert_kind_of IOPatch, patch assert_equal :p1, patch.strip end |
