aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_patching.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 13:28:15 +0100
committerGitHub2016-09-18 13:28:15 +0100
commit59b7f16bfd9c1968aae0a2f1cd9a43d3d160d99f (patch)
tree17d2adec882cdeef36a8fd40d891fe7fe4021572 /Library/Homebrew/test/test_patching.rb
parent56541001a45ea58c54096bc42584c17d72b1415a (diff)
parent1bdbb0f462e4c3557bbcba0b203696bdcf025bb4 (diff)
downloadbrew-59b7f16bfd9c1968aae0a2f1cd9a43d3d160d99f.tar.bz2
Merge pull request #989 from MikeMcQuaid/rubocop-final
Rubocop: apply auto-corrections and don't use hash-rockets
Diffstat (limited to 'Library/Homebrew/test/test_patching.rb')
-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 8511981e1..18b848b10 100644
--- a/Library/Homebrew/test/test_patching.rb
+++ b/Library/Homebrew/test/test_patching.rb
@@ -163,7 +163,7 @@ class PatchingTests < Homebrew::TestCase
def test_patch_p0
assert_patched formula {
def patches
- { :p0 => PATCH_URL_B }
+ { p0: PATCH_URL_B }
end
}
end
@@ -179,7 +179,7 @@ class PatchingTests < Homebrew::TestCase
def test_patch_hash
assert_patched formula {
def patches
- { :p1 => PATCH_URL_A }
+ { p1: PATCH_URL_A }
end
}
end
@@ -187,7 +187,7 @@ class PatchingTests < Homebrew::TestCase
def test_patch_hash_array
assert_patched formula {
def patches
- { :p1 => [PATCH_URL_A] }
+ { p1: [PATCH_URL_A] }
end
}
end