summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2024-08-17 15:04:00 +0900
committergit <svn-admin@ruby-lang.org>2025-01-06 17:07:57 +0000
commit3da850104ea75d6ea6ac6babae3596972129f953 (patch)
treef07702059dd6fc6343b79a75d8a80d210b98002b /test
parentff708f86fadd891869a96320f1de499dee1b1046 (diff)
[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
Diffstat (limited to 'test')
-rw-r--r--test/openssl/test_pkey.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_pkey.rb b/test/openssl/test_pkey.rb
index aae6b7e071..0a55364af6 100644
--- a/test/openssl/test_pkey.rb
+++ b/test/openssl/test_pkey.rb
@@ -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") }