[ruby/openssl] pkey: fix test case for new_raw_*key

Method names must start with "test_" to run.

https://github.com/ruby/openssl/commit/fed9d09b76
This commit is contained in:
Kazuki Yamaguchi 2024-08-17 15:04:00 +09:00 committed by git
parent ff708f86fa
commit 3da850104e

View File

@ -188,7 +188,7 @@ class OpenSSL::TestPKey < OpenSSL::PKeyTestCase
bob_public_raw
end
def raw_initialize
def test_raw_initialize_errors
pend "Ed25519 is not implemented" unless openssl?(1, 1, 1) # >= v1.1.1
assert_raise(OpenSSL::PKey::PKeyError) { OpenSSL::PKey.new_raw_private_key("foo123", "xxx") }