summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_cert_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-07-13 12:01:07 +0200
committerHiroshi SHIBATA <[email protected]>2020-07-31 21:07:19 +0900
commita89665b7b1abb5bb6005fd638dc920848cc50f72 ()
treef6c84f1bfb1148d203cd63c72c458de3a8f5e961 /test/rubygems/test_gem_commands_cert_command.rb
parenta6bfc951aa9c48e2a4608a9ae84e2e3b4fd9b390 (diff)
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
Notes: Merged: https://.com/ruby/ruby/pull/3379
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb2
1 files changed, 0 insertions, 2 deletions
@@ -11,7 +11,6 @@ if Gem.java_platform?
end
class TestGemCommandsCertCommand < Gem::TestCase
-
ALTERNATE_CERT = load_cert 'alternate'
EXPIRED_PUBLIC_CERT = load_cert 'expired'
@@ -806,5 +805,4 @@ ERROR: --private-key not specified and ~/.gem/gem-private_key.pem does not exis
assert_equal "invalid argument: --sign #{nonexistent}: does not exist",
e.message
end
-
end if defined?(OpenSSL::SSL) && !Gem.java_platform?