Skip to content

Commit

Permalink
test: one extra assert statement, just for good luck
Browse files Browse the repository at this point in the history
  • Loading branch information
ik-work-gh committed Nov 20, 2024
1 parent 825290a commit f41623e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jwk-util/src/conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ mod test {
let expected_privkey: Jwk =
serde_json::from_value(expected_jwk.clone()).unwrap();
expected_jwk["d"].take(); // delete priv key
assert!(expected_jwk["d"].is_null());
let expected_pubkey: Jwk = serde_json::from_value(expected_jwk).unwrap();

let expected_pem_pub = r#"
Expand Down

0 comments on commit f41623e

Please sign in to comment.