summaryrefslogtreecommitdiff
path: root/test/rubygems
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-27 12:00:04 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-12 17:24:43 +0900
commit2c0072dec58cb5f99a072a3b2dd341974ec84887 (patch)
treebda9bd59f3b51d2d2337eb33afc299465011f84d /test/rubygems
parenta1c416460b2cda7df6810ef8e9619d1903242de4 (diff)
[rubygems/rubygems] Use dummy assertion for assert_https
https://github.com/rubygems/rubygems/commit/64d843fe17
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4491
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/test_bundled_ca.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_bundled_ca.rb b/test/rubygems/test_bundled_ca.rb
index 6973758c4c..082bb53ba3 100644
--- a/test/rubygems/test_bundled_ca.rb
+++ b/test/rubygems/test_bundled_ca.rb
@@ -26,7 +26,7 @@ class TestBundledCA < Gem::TestCase
end
def assert_https(host)
- self.assertions += 1
+ assert true
http = Net::HTTP.new(host, 443)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_PEER