diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-03 19:56:58 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-03-30 12:48:23 +0900 |
commit | 061add792e658878c839887682716737d9f6d677 (patch) | |
tree | b111148a604c7f2ab09f26b1804a2725d7c19680 /test/rubygems/test_gem_package_task.rb | |
parent | c16815cca7c223698c11b4c520b75caeb0499f93 (diff) | |
download | ruby-061add792e658878c839887682716737d9f6d677.tar.gz |
[rubygems/rubygems] Enable `Style/ExtraSpacing` and auto-correct
https://github.com/rubygems/rubygems/commit/6fa0b1b679
Diffstat (limited to 'test/rubygems/test_gem_package_task.rb')
-rw-r--r-- | test/rubygems/test_gem_package_task.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_package_task.rb b/test/rubygems/test_gem_package_task.rb index e01f4a4043..21fa9638a1 100644 --- a/test/rubygems/test_gem_package_task.rb +++ b/test/rubygems/test_gem_package_task.rb @@ -26,7 +26,7 @@ class TestGemPackageTask < Gem::TestCase g.summary = 'summary' end - pkg = Gem::PackageTask.new(gem) do |p| + pkg = Gem::PackageTask.new(gem) do |p| p.package_files << "y" end @@ -49,7 +49,7 @@ class TestGemPackageTask < Gem::TestCase g.files = Rake::FileList["x"].resolve g.platform = Gem::Platform::CURRENT end - pkg = Gem::PackageTask.new(gem) do |p| + pkg = Gem::PackageTask.new(gem) do |p| p.package_files << "y" end assert_equal ["x", "y"], pkg.package_files @@ -62,7 +62,7 @@ class TestGemPackageTask < Gem::TestCase g.files = Rake::FileList["x"].resolve g.platform = Gem::Platform::RUBY end - pkg = Gem::PackageTask.new(gem) do |p| + pkg = Gem::PackageTask.new(gem) do |p| p.package_files << "y" end assert_equal ["x", "y"], pkg.package_files |