diff options
| author | Markus Reiter | 2017-02-12 16:50:41 +0100 |
|---|---|---|
| committer | GitHub | 2017-02-12 16:50:41 +0100 |
| commit | c660e01a674b69d0af6c3f860cc8486bf0a8af82 (patch) | |
| tree | 78353f4e7cfe59f5da266a951939c868db11c170 /Library/Homebrew/test/patch_test.rb | |
| parent | 76dfe030c70cde3aee731e5a68b82b9ac227b89c (diff) | |
| parent | 9e97eadccbd99df1c6ffe489ab316d7ebde7fe86 (diff) | |
| download | brew-c660e01a674b69d0af6c3f860cc8486bf0a8af82.tar.bz2 | |
Merge pull request #1993 from alyssais/rubocop_method_trailing_comma
rubocop: trailing comma in multiline method calls
Diffstat (limited to 'Library/Homebrew/test/patch_test.rb')
| -rw-r--r-- | Library/Homebrew/test/patch_test.rb | 10 |
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 |
