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
|
@ -49,7 +49,7 @@ class TestGemRequestSetGemDependencyAPI < Gem::TestCase
|
|||
s.add_runtime_dependency 'bar', '>= 1.6.0', '< 1.6.4'
|
||||
end
|
||||
@gda.gemspec
|
||||
assert_equal %w{ foo bar }.sort, @set.dependencies.map(&:name).sort
|
||||
assert_equal %w[ foo bar ].sort, @set.dependencies.map(&:name).sort
|
||||
bar = @set.dependencies.find { |d| d.name == 'bar' }
|
||||
assert_equal [["<", Gem::Version.create('1.6.4')],
|
||||
[">=", Gem::Version.create('1.6.0')]], bar.requirement.requirements.sort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue