diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 15:42:09 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 15:42:09 +0000 |
| commit | 9d86cf15f0275ffeee4519bd054e3b61dc8992ac (patch) | |
| tree | 65b5d5ffb2a11b5ecd05d01e63fb5a4a0f8b6e06 /grasp-audit/src/specs | |
| parent | a2ecfc5a63311570f0f90c7ee40117e289639cb8 (diff) | |
chore: apply cargo fmt and fix clippy warnings
Fix pre-existing clippy lints:
- &PathBuf -> &Path in audit_cleanup.rs
- too_many_arguments on process_newly_available_git_data,
process_purgatory_announcements, and HttpService::new
- clone_on_copy for PublicKey (Copy type) in purgatory cleanup loop
Diffstat (limited to 'grasp-audit/src/specs')
| -rw-r--r-- | grasp-audit/src/specs/grasp01/purgatory.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/grasp-audit/src/specs/grasp01/purgatory.rs b/grasp-audit/src/specs/grasp01/purgatory.rs index 0686da8..fdc1e32 100644 --- a/grasp-audit/src/specs/grasp01/purgatory.rs +++ b/grasp-audit/src/specs/grasp01/purgatory.rs | |||
| @@ -54,9 +54,7 @@ impl PurgatoryTests { | |||
| 54 | 54 | ||
| 55 | // Deletion event tests (NIP-09) | 55 | // Deletion event tests (NIP-09) |
| 56 | results.add(Self::test_deletion_by_event_id_removes_purgatory_state_event(client).await); | 56 | results.add(Self::test_deletion_by_event_id_removes_purgatory_state_event(client).await); |
| 57 | results.add( | 57 | results.add(Self::test_deletion_by_coordinate_removes_purgatory_state_event(client).await); |
| 58 | Self::test_deletion_by_coordinate_removes_purgatory_state_event(client).await, | ||
| 59 | ); | ||
| 60 | 58 | ||
| 61 | // PR purgatory tests | 59 | // PR purgatory tests |
| 62 | results.add(Self::test_pr_event_accepted_into_purgatory_and_isnt_served(client).await); | 60 | results.add(Self::test_pr_event_accepted_into_purgatory_and_isnt_served(client).await); |