Skip to content

Commit

Permalink
pkey: fix test case for new_raw_*key
Browse files Browse the repository at this point in the history
Method names must start with "test_" to run.
  • Loading branch information
rhenium committed Jan 6, 2025
1 parent 28a0a32 commit 20705b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/openssl/test_pkey.rb
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def test_x25519
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") }
Expand Down

0 comments on commit 20705b8

Please sign in to comment.