aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_patching.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_patching.rb b/Library/Homebrew/test/test_patching.rb
index 8a18125ef..a87741807 100644
--- a/Library/Homebrew/test/test_patching.rb
+++ b/Library/Homebrew/test/test_patching.rb
@@ -122,7 +122,7 @@ class PatchingTests < Homebrew::TestCase
url PATCH_URL_A
sha256 PATCH_A_SHA256
end
- end.brew(&:patch)
+ end.brew { |f, _staging| f.patch }
end
end
end
@@ -136,7 +136,7 @@ class PatchingTests < Homebrew::TestCase
sha256 TESTBALL_PATCHES_SHA256
apply APPLY_A
end
- end.brew(&:patch)
+ end.brew { |f, _staging| f.patch }
end
end
end
@@ -234,7 +234,7 @@ class PatchingTests < Homebrew::TestCase
sha256 TESTBALL_PATCHES_SHA256
apply "patches/#{APPLY_A}"
end
- end.brew(&:patch)
+ end.brew { |f, _staging| f.patch }
end
end
end