summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2024-12-12 17:41:50 +0100
committergit <[email protected]>2024-12-16 18:09:54 +0000
commitc4d35040f4720b02856daaea4d4580aeda0af268 (patch)
tree8f3cd832c0b0993ad6f2065a52221d8c311f130d
parent516a6cd1ad620b880651c1333bd856a9d7dec3c4 (diff)
[rubygems/rubygems] Improve indentation of a `gem info` test
https://github.com/rubygems/rubygems/commit/b0a092dac3
-rw-r--r--test/rubygems/test_gem_commands_info_command.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_info_command.rb b/test/rubygems/test_gem_commands_info_command.rb
index 83e4c8a896..bca563079e 100644
--- a/test/rubygems/test_gem_commands_info_command.rb
+++ b/test/rubygems/test_gem_commands_info_command.rb
@@ -54,15 +54,15 @@ class TestGemCommandsInfoCommand < Gem::TestCase
@cmd.execute
end
- expected = <<-EOF
+ expected = <<~EOF
-*** REMOTE GEMS ***
+ *** REMOTE GEMS ***
-coolgem (1.0)
- Author: A User
- Homepage: http://example.com
+ coolgem (1.0)
+ Author: A User
+ Homepage: http://example.com
- this is a summary
+ this is a summary
EOF
assert_equal expected, @ui.output