mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
So it matches the style used by bundler.
ab0580fd65
This commit is contained in:
parent
f987302cf4
commit
ba9dcdab36
47 changed files with 302 additions and 302 deletions
|
@ -82,7 +82,7 @@ class TestGemCommand < Gem::TestCase
|
|||
@cmd.invoke
|
||||
end
|
||||
|
||||
assert_match %r|Usage: gem doit|, @ui.output
|
||||
assert_match %r{Usage: gem doit}, @ui.output
|
||||
end
|
||||
|
||||
def test_invoke
|
||||
|
@ -168,7 +168,7 @@ class TestGemCommand < Gem::TestCase
|
|||
@cmd.invoke '-h'
|
||||
end
|
||||
|
||||
assert_match %r|Usage: gem doit|, @ui.output
|
||||
assert_match %r{Usage: gem doit}, @ui.output
|
||||
end
|
||||
|
||||
def test_option_recognition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue