Skip to content

Commit

Permalink
test/openssl/test_x509cert.rb: Prevent "unused variable" warning
Browse files Browse the repository at this point in the history
(cherry picked from commit ruby/ruby@ab2bd3f)
  • Loading branch information
mame authored and rhenium committed Jul 19, 2021
1 parent 68fa9c8 commit 74731d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/openssl/test_x509cert.rb
Expand Up @@ -316,7 +316,7 @@ def test_load_file_fullchain_garbage
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

Expand Down

0 comments on commit 74731d9

Please sign in to comment.