1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/openssl/test_x509cert.rb: Prevent "unused variable" warning

This commit is contained in:
Yusuke Endoh 2021-07-19 10:57:56 +09:00
parent 91ffce8f24
commit ab2bd3ff35

View file

@ -316,7 +316,7 @@ class OpenSSL::TestX509Certificate < OpenSSL::TestCase
fullchain_path = Fixtures.file_path("pkey", "garbage.txt")
assert_raise(OpenSSL::X509::CertificateError) do
certificates = OpenSSL::X509::Certificate.load_file(fullchain_path)
OpenSSL::X509::Certificate.load_file(fullchain_path)
end
end