mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +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
|
@ -580,8 +580,8 @@ pl (1 i386-linux)
|
|||
@cmd.execute
|
||||
end
|
||||
|
||||
assert_match %r%^a %, @stub_ui.output
|
||||
assert_match %r%^pl %, @stub_ui.output
|
||||
assert_match %r{^a }, @stub_ui.output
|
||||
assert_match %r{^pl }, @stub_ui.output
|
||||
assert_equal '', @stub_ui.error
|
||||
end
|
||||
|
||||
|
@ -593,8 +593,8 @@ pl (1 i386-linux)
|
|||
@cmd.send :show_gems, /a/i
|
||||
end
|
||||
|
||||
assert_match %r%^a %, @stub_ui.output
|
||||
refute_match %r%^pl %, @stub_ui.output
|
||||
assert_match %r{^a }, @stub_ui.output
|
||||
refute_match %r{^pl }, @stub_ui.output
|
||||
assert_empty @stub_ui.error
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue