[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems

So it matches the style used by bundler.

ab0580fd65
This commit is contained in:
David Rodríguez 2020-03-24 19:51:43 +01:00 committed by Hiroshi SHIBATA
parent f987302cf4
commit ba9dcdab36
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
47 changed files with 302 additions and 302 deletions

View file

@ -189,15 +189,15 @@ class TestGemIndexer < Gem::TestCase
@indexer.generate_index
end
assert_match %r%^\.\.\.\.\.\.\.\.\.\.\.\.$%, @ui.output
assert_match %r%^Generating Marshal quick index gemspecs for 12 gems$%,
assert_match %r{^\.\.\.\.\.\.\.\.\.\.\.\.$}, @ui.output
assert_match %r{^Generating Marshal quick index gemspecs for 12 gems$},
@ui.output
assert_match %r%^Complete$%, @ui.output
assert_match %r%^Generating specs index$%, @ui.output
assert_match %r%^Generating latest specs index$%, @ui.output
assert_match %r%^Generating prerelease specs index$%, @ui.output
assert_match %r%^Complete$%, @ui.output
assert_match %r%^Compressing indices$%, @ui.output
assert_match %r{^Complete$}, @ui.output
assert_match %r{^Generating specs index$}, @ui.output
assert_match %r{^Generating latest specs index$}, @ui.output
assert_match %r{^Generating prerelease specs index$}, @ui.output
assert_match %r{^Complete$}, @ui.output
assert_match %r{^Compressing indices$}, @ui.output
assert_equal '', @ui.error
end