Skip to content

Commit

Permalink
clippy + fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
UMR1352 committed Jan 18, 2024
1 parent bf8b302 commit 7c67b67
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions identity_storage/src/storage/tests/credential_validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,10 @@ where
}

// 1: unsupported status type.
credential.credential_status = Some(
Status::new(
Url::parse("https://example.com/").unwrap(),
"UnsupportedStatus2023".to_owned(),
)
.into(),
);
credential.credential_status = Some(Status::new(
Url::parse("https://example.com/").unwrap(),
"UnsupportedStatus2023".to_owned(),
));
for (status_check, expected) in [
(StatusCheck::Strict, false),
(StatusCheck::SkipUnsupported, true),
Expand Down

0 comments on commit 7c67b67

Please sign in to comment.