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
|
@ -33,7 +33,7 @@ class TestGemCommandsWhichCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
assert_equal '', @ui.output
|
||||
assert_match %r%Can.t find Ruby library file or shared library directory\n%,
|
||||
assert_match %r{Can.t find Ruby library file or shared library directory\n},
|
||||
@ui.error
|
||||
end
|
||||
|
||||
|
@ -51,7 +51,7 @@ class TestGemCommandsWhichCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
assert_equal "#{@foo_bar.full_gem_path}/lib/foo_bar.rb\n", @ui.output
|
||||
assert_match %r%Can.t find Ruby library file or shared library missinglib\n%,
|
||||
assert_match %r{Can.t find Ruby library file or shared library missinglib\n},
|
||||
@ui.error
|
||||
end
|
||||
|
||||
|
@ -65,7 +65,7 @@ class TestGemCommandsWhichCommand < Gem::TestCase
|
|||
end
|
||||
|
||||
assert_equal '', @ui.output
|
||||
assert_match %r%Can.t find Ruby library file or shared library missinglib\n%,
|
||||
assert_match %r{Can.t find Ruby library file or shared library missinglib\n},
|
||||
@ui.error
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue