aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_patching.rb
diff options
context:
space:
mode:
authorXu Cheng2015-08-03 21:18:00 +0800
committerXu Cheng2015-08-03 21:27:40 +0800
commita5a1cc9865466fa2d4cc21a306fd4a77f13628f8 (patch)
tree5505cd7b3d10be7af142024a7066b9e53680440d /Library/Homebrew/test/test_patching.rb
parent1af6ffa950a6b512fa3ac3cdcfb3fc1d81d5b6e4 (diff)
downloadbrew-a5a1cc9865466fa2d4cc21a306fd4a77f13628f8.tar.bz2
fix ruby syntax warnings
Closes Homebrew/homebrew#42409. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/test/test_patching.rb')
-rw-r--r--Library/Homebrew/test/test_patching.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/test/test_patching.rb b/Library/Homebrew/test/test_patching.rb
index a0e7acec0..85c131021 100644
--- a/Library/Homebrew/test/test_patching.rb
+++ b/Library/Homebrew/test/test_patching.rb
@@ -83,7 +83,7 @@ class PatchingTests < Homebrew::TestCase
assert_patched formula {
def patches
{ :p0 => PATCH_URL_B }
- end
+ end
}
end
@@ -91,7 +91,7 @@ class PatchingTests < Homebrew::TestCase
assert_patched formula {
def patches
[PATCH_URL_A]
- end
+ end
}
end
@@ -99,7 +99,7 @@ class PatchingTests < Homebrew::TestCase
assert_patched formula {
def patches
{ :p1 => PATCH_URL_A }
- end
+ end
}
end
@@ -107,7 +107,7 @@ class PatchingTests < Homebrew::TestCase
assert_patched formula {
def patches
{ :p1 => [PATCH_URL_A] }
- end
+ end
}
end