Skip to content

Commit

Permalink
Change test function name, fix lint. Issue #33
Browse files Browse the repository at this point in the history
Signed-off-by: Aziz Mukhtorjonov <[email protected]>
  • Loading branch information
AzizMukhtorjonov committed Sep 11, 2024
1 parent 0e278f3 commit 53ef9b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl SDJWTVerifier {
.map(|value| value.to_string())
.and_then(|value| {
SDJWTCommon::decode_header_and_get_sign_algorithm(&value)
} );
});

verifier.verify_key_binding_jwt(
expected_aud.to_owned(),
Expand Down Expand Up @@ -743,7 +743,7 @@ mod tests {
assert_eq!(user_claims, verified_claims);
}
#[test]
fn verify_when_sd_jwt_es256_key_binding_eddsa() {
fn verify_presentation_when_sd_jwt_uses_es256_and_key_binding_uses_eddsa() {

let user_claims = json!({
"address": {
Expand Down

0 comments on commit 53ef9b8

Please sign in to comment.