[rubygems/rubygems] util/rubocop -A --only Layout/SpaceInsidePercentLiteralDelimiters

https://github.com/rubygems/rubygems/commit/c6de27fc6d
This commit is contained in:
Hiroshi SHIBATA 2023-03-16 11:48:15 +09:00
parent 85fd33c526
commit d9f92511ad
2 changed files with 3 additions and 3 deletions

View File

@ -508,7 +508,7 @@ class TestGemCommandsExecCommand < Gem::TestCase
end
end
fetcher.gem "a", "1.1.a" do |s|
s.executables = %w[foo ]
s.executables = %w[foo]
s.files = %w[bin/foo lib/a.rb]
write_file File.join(*%W[gems #{s.original_name} bin foo]) do |f|
@ -536,7 +536,7 @@ class TestGemCommandsExecCommand < Gem::TestCase
end
end
fetcher.download "a", "1.1.a" do |s|
s.executables = %w[foo ]
s.executables = %w[foo]
s.files = %w[bin/foo lib/a.rb]
write_file File.join(*%W[gems #{s.original_name} bin foo]) do |f|

View File

@ -48,7 +48,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