From c9b2e08552642bbdb67255782307abf1e7eb78d0 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 2 Dec 2025 14:42:26 +0000 Subject: refactor: fix fmt and clippy --- grasp-audit/src/fixtures.rs | 6 +++--- grasp-audit/src/specs/grasp01/push_authorization.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'grasp-audit') diff --git a/grasp-audit/src/fixtures.rs b/grasp-audit/src/fixtures.rs index e48f6b9..e5a80d7 100644 --- a/grasp-audit/src/fixtures.rs +++ b/grasp-audit/src/fixtures.rs @@ -230,7 +230,7 @@ pub enum FixtureKind { /// /// Stages: /// 1. **Generated**: Creates ValidRepo (owner's announcement with maintainer in maintainers tag) - /// + MaintainerState (maintainer's state event ONLY - no announcement) + /// + MaintainerState (maintainer's state event ONLY - no announcement) /// 2. **Sent**: Sends events to relay /// 3. **Verified**: Confirms events accepted by relay /// 4. **DataPushed**: Clones repo, creates maintainer deterministic commit, pushes to relay @@ -253,8 +253,8 @@ pub enum FixtureKind { /// /// Stages: /// 1. **Generated**: Creates MaintainerStateDataPushed (includes ValidRepo + OwnerStateDataPushed) - /// + MaintainerAnnouncement (maintainer's announcement listing recursive maintainer) - /// + RecursiveMaintainerState (recursive maintainer's state event) + /// + MaintainerAnnouncement (maintainer's announcement listing recursive maintainer) + /// + RecursiveMaintainerState (recursive maintainer's state event) /// 2. **Sent**: Sends events to relay /// 3. **Verified**: Confirms events accepted by relay /// 4. **DataPushed**: Clones repo, creates recursive maintainer deterministic commit, pushes to relay diff --git a/grasp-audit/src/specs/grasp01/push_authorization.rs b/grasp-audit/src/specs/grasp01/push_authorization.rs index 00b8ae9..af6247f 100644 --- a/grasp-audit/src/specs/grasp01/push_authorization.rs +++ b/grasp-audit/src/specs/grasp01/push_authorization.rs @@ -650,7 +650,7 @@ impl PushAuthorizationTests { /// /// This test uses the MaintainerStateDataPushed fixture which handles all 4 stages: /// 1. **Generated**: Creates ValidRepo (owner's announcement with maintainer in maintainers tag) - /// + MaintainerState (maintainer's state event ONLY - no announcement) + /// + MaintainerState (maintainer's state event ONLY - no announcement) /// 2. **Sent**: Sends events to relay /// 3. **Verified**: Confirms events accepted by relay /// 4. **DataPushed**: Clones repo, creates maintainer deterministic commit, pushes to relay @@ -692,8 +692,8 @@ impl PushAuthorizationTests { /// /// This test uses the RecursiveMaintainerStateDataPushed fixture which handles all 4 stages: /// 1. **Generated**: Creates MaintainerStateDataPushed (owner's + maintainer's data pushed) - /// + MaintainerAnnouncement (maintainer lists recursive maintainer) - /// + RecursiveMaintainerState (recursive maintainer's state event) + /// + MaintainerAnnouncement (maintainer lists recursive maintainer) + /// + RecursiveMaintainerState (recursive maintainer's state event) /// 2. **Sent**: Sends events to relay /// 3. **Verified**: Confirms events accepted by relay /// 4. **DataPushed**: Clones repo, creates recursive maintainer deterministic commit, pushes to relay -- cgit v1.2.3