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
|
@ -51,7 +51,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
assert_match %r|Unable to find gem 'foo'|, @ui.output
|
||||
assert_match %r{Unable to find gem 'foo'}, @ui.output
|
||||
assert_equal "", @ui.error
|
||||
end
|
||||
|
||||
|
@ -64,7 +64,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
assert_match %r|Unable to find gem 'foo'|, @ui.output
|
||||
assert_match %r{Unable to find gem 'foo'}, @ui.output
|
||||
assert_equal "", @ui.error
|
||||
end
|
||||
|
||||
|
@ -93,7 +93,7 @@ class TestGemCommandsOpenCommand < Gem::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
assert_match %r|'foo' is a default gem and can't be opened\.| , @ui.output
|
||||
assert_match %r{'foo' is a default gem and can't be opened\.} , @ui.output
|
||||
assert_equal "", @ui.error
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue