summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_cert_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-04-06 11:33:10 +0900
committergit <[email protected]>2023-04-06 23:33:20 +0000
commitfb822076d79339427648cb9eacf76528f827427e ()
tree85f35a4bb8be4a59706fd4f819c0019f78eb26a2 /test/rubygems/test_gem_commands_cert_command.rb
parentbffadcd6d46ccfccade79ce0efb60ced8eac4483 (diff)
[rubygems/rubygems] util/rubocop -A --only Style/LineEndConcatenation
https://.com/rubygems/rubygems/commit/67ece7b8b6
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb6
1 files changed, 3 insertions, 3 deletions
@@ -778,7 +778,7 @@ ERROR: --private-key not specified and ~/.gem/gem-private_key.pem does not exis
@cmd.handle_options %W[--certificate #{bad}]
end
- assert_equal "invalid argument: " +
"--certificate #{bad}: invalid X509 certificate",
e.message
end
@@ -789,7 +789,7 @@ ERROR: --private-key not specified and ~/.gem/gem-private_key.pem does not exis
@cmd.handle_options %W[--private-key #{nonexistent}]
end
- assert_equal "invalid argument: " +
"--private-key #{nonexistent}: does not exist",
e.message
@@ -807,7 +807,7 @@ ERROR: --private-key not specified and ~/.gem/gem-private_key.pem does not exis
@cmd.handle_options %W[--private-key #{PUBLIC_KEY_FILE}]
end
- assert_equal "invalid argument: " +
"--private-key #{PUBLIC_KEY_FILE}: private key not found",
e.message
end