Skip to content

Commit 74731d9

Browse files
mamerhenium
authored andcommitted
test/openssl/test_x509cert.rb: Prevent "unused variable" warning
(cherry picked from commit ruby/ruby@ab2bd3f)
1 parent 68fa9c8 commit 74731d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/openssl/test_x509cert.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def test_load_file_fullchain_garbage
316316
fullchain_path = Fixtures.file_path("pkey", "garbage.txt")
317317

318318
assert_raise(OpenSSL::X509::CertificateError) do
319-
certificates = OpenSSL::X509::Certificate.load_file(fullchain_path)
319+
OpenSSL::X509::Certificate.load_file(fullchain_path)
320320
end
321321
end
322322

0 commit comments

Comments
 (0)