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
1 changed files with 1 additions and 1 deletions

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