aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/patch_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/patch_test.rb')
-rw-r--r--Library/Homebrew/test/patch_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/test/patch_test.rb b/Library/Homebrew/test/patch_test.rb
index f5a61398a..3055eaf48 100644
--- a/Library/Homebrew/test/patch_test.rb
+++ b/Library/Homebrew/test/patch_test.rb
@@ -48,7 +48,7 @@ class LegacyPatchTests < Homebrew::TestCase
def test_patch_array
patches = Patch.normalize_legacy_patches(
- %w[http://example.com/patch1.diff http://example.com/patch2.diff]
+ %w[http://example.com/patch1.diff http://example.com/patch2.diff],
)
assert_equal 2, patches.length
@@ -58,7 +58,7 @@ class LegacyPatchTests < Homebrew::TestCase
def test_p0_hash_to_string
patches = Patch.normalize_legacy_patches(
- p0: "http://example.com/patch.diff"
+ p0: "http://example.com/patch.diff",
)
assert_equal 1, patches.length
@@ -67,7 +67,7 @@ class LegacyPatchTests < Homebrew::TestCase
def test_p1_hash_to_string
patches = Patch.normalize_legacy_patches(
- p1: "http://example.com/patch.diff"
+ p1: "http://example.com/patch.diff",
)
assert_equal 1, patches.length
@@ -77,7 +77,7 @@ class LegacyPatchTests < Homebrew::TestCase
def test_mixed_hash_to_strings
patches = Patch.normalize_legacy_patches(
p1: "http://example.com/patch1.diff",
- p0: "http://example.com/patch0.diff"
+ p0: "http://example.com/patch0.diff",
)
assert_equal 2, patches.length
assert_equal 1, patches.count { |p| p.strip == :p0 }
@@ -89,7 +89,7 @@ class LegacyPatchTests < Homebrew::TestCase
p1: ["http://example.com/patch10.diff",
"http://example.com/patch11.diff"],
p0: ["http://example.com/patch00.diff",
- "http://example.com/patch01.diff"]
+ "http://example.com/patch01.diff"],
)
assert_equal 4, patches.length