[rubygems/rubygems] Improve some indentations

https://github.com/rubygems/rubygems/commit/30f228a97f
This commit is contained in:
David Rodríguez 2024-10-08 20:55:42 +02:00 committed by git
parent cd611becbb
commit 36e9a6bb41

View File

@ -182,7 +182,7 @@ class TestStubSpecification < Gem::TestCase
def stub_with_version
spec = File.join @gemhome, "specifications", "stub_e-2.gemspec"
File.open spec, "w" do |io|
io.write <<-STUB
io.write <<~STUB
# -*- encoding: utf-8 -*-
# stub: stub_v 2 ruby lib
@ -205,7 +205,7 @@ end
def stub_without_version
spec = File.join @gemhome, "specifications", "stub-2.gemspec"
File.open spec, "w" do |io|
io.write <<-STUB
io.write <<~STUB
# -*- encoding: utf-8 -*-
# stub: stub_v ruby lib
@ -228,7 +228,7 @@ end
def stub_with_extension
spec = File.join @gemhome, "specifications", "stub_e-2.gemspec"
File.open spec, "w" do |io|
io.write <<-STUB
io.write <<~STUB
# -*- encoding: utf-8 -*-
# stub: stub_e 2 ruby lib
# stub: ext/stub_e/extconf.rb
@ -254,7 +254,7 @@ end
def stub_without_extension
spec = File.join @gemhome, "specifications", "stub-2.gemspec"
File.open spec, "w" do |io|
io.write <<-STUB
io.write <<~STUB
# -*- encoding: utf-8 -*-
# stub: stub 2 ruby lib