From 9d86cf15f0275ffeee4519bd054e3b61dc8992ac Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 26 Feb 2026 15:42:09 +0000 Subject: 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 --- tests/purgatory_sync.rs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'tests/purgatory_sync.rs') diff --git a/tests/purgatory_sync.rs b/tests/purgatory_sync.rs index eefd6bc..ced39ff 100644 --- a/tests/purgatory_sync.rs +++ b/tests/purgatory_sync.rs @@ -711,15 +711,10 @@ async fn test_concurrent_state_and_pr_sync() { ); // Check refs/nostr/ points to pr_commit - let pr_ref_correct = check_ref_at_commit( - &syncing_domain, - &npub, - identifier, - &pr_ref_name, - &pr_commit, - ) - .await - .expect("Failed to check PR ref"); + let pr_ref_correct = + check_ref_at_commit(&syncing_domain, &npub, identifier, &pr_ref_name, &pr_commit) + .await + .expect("Failed to check PR ref"); assert!( pr_ref_correct, @@ -993,7 +988,7 @@ async fn test_pr_event_clone_tag_sync_with_partial_oid_aggregation_from_multiple let syncing_relay = TestRelay::start_on_port_with_options( syncing_port, Some(source_grasp.url().to_string()), // Bootstrap from source_grasp - true, // Disable negentropy - MockRelay doesn't support NIP-77 + true, // Disable negentropy - MockRelay doesn't support NIP-77 ) .await; -- cgit v1.2.3