diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-02 14:42:26 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-02 14:42:26 +0000 |
| commit | c9b2e08552642bbdb67255782307abf1e7eb78d0 (patch) | |
| tree | 41d41169ac617fde9bc74dff6e334c5622e60943 /grasp-audit/src | |
| parent | 6fe9d3280e2d675726c9d5c09538354992049b5d (diff) | |
refactor: fix fmt and clippy
Diffstat (limited to 'grasp-audit/src')
| -rw-r--r-- | grasp-audit/src/fixtures.rs | 6 | ||||
| -rw-r--r-- | grasp-audit/src/specs/grasp01/push_authorization.rs | 6 |
2 files changed, 6 insertions, 6 deletions
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 { | |||
| 230 | /// | 230 | /// |
| 231 | /// Stages: | 231 | /// Stages: |
| 232 | /// 1. **Generated**: Creates ValidRepo (owner's announcement with maintainer in maintainers tag) | 232 | /// 1. **Generated**: Creates ValidRepo (owner's announcement with maintainer in maintainers tag) |
| 233 | /// + MaintainerState (maintainer's state event ONLY - no announcement) | 233 | /// + MaintainerState (maintainer's state event ONLY - no announcement) |
| 234 | /// 2. **Sent**: Sends events to relay | 234 | /// 2. **Sent**: Sends events to relay |
| 235 | /// 3. **Verified**: Confirms events accepted by relay | 235 | /// 3. **Verified**: Confirms events accepted by relay |
| 236 | /// 4. **DataPushed**: Clones repo, creates maintainer deterministic commit, pushes to relay | 236 | /// 4. **DataPushed**: Clones repo, creates maintainer deterministic commit, pushes to relay |
| @@ -253,8 +253,8 @@ pub enum FixtureKind { | |||
| 253 | /// | 253 | /// |
| 254 | /// Stages: | 254 | /// Stages: |
| 255 | /// 1. **Generated**: Creates MaintainerStateDataPushed (includes ValidRepo + OwnerStateDataPushed) | 255 | /// 1. **Generated**: Creates MaintainerStateDataPushed (includes ValidRepo + OwnerStateDataPushed) |
| 256 | /// + MaintainerAnnouncement (maintainer's announcement listing recursive maintainer) | 256 | /// + MaintainerAnnouncement (maintainer's announcement listing recursive maintainer) |
| 257 | /// + RecursiveMaintainerState (recursive maintainer's state event) | 257 | /// + RecursiveMaintainerState (recursive maintainer's state event) |
| 258 | /// 2. **Sent**: Sends events to relay | 258 | /// 2. **Sent**: Sends events to relay |
| 259 | /// 3. **Verified**: Confirms events accepted by relay | 259 | /// 3. **Verified**: Confirms events accepted by relay |
| 260 | /// 4. **DataPushed**: Clones repo, creates recursive maintainer deterministic commit, pushes to relay | 260 | /// 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 { | |||
| 650 | /// | 650 | /// |
| 651 | /// This test uses the MaintainerStateDataPushed fixture which handles all 4 stages: | 651 | /// This test uses the MaintainerStateDataPushed fixture which handles all 4 stages: |
| 652 | /// 1. **Generated**: Creates ValidRepo (owner's announcement with maintainer in maintainers tag) | 652 | /// 1. **Generated**: Creates ValidRepo (owner's announcement with maintainer in maintainers tag) |
| 653 | /// + MaintainerState (maintainer's state event ONLY - no announcement) | 653 | /// + MaintainerState (maintainer's state event ONLY - no announcement) |
| 654 | /// 2. **Sent**: Sends events to relay | 654 | /// 2. **Sent**: Sends events to relay |
| 655 | /// 3. **Verified**: Confirms events accepted by relay | 655 | /// 3. **Verified**: Confirms events accepted by relay |
| 656 | /// 4. **DataPushed**: Clones repo, creates maintainer deterministic commit, pushes to relay | 656 | /// 4. **DataPushed**: Clones repo, creates maintainer deterministic commit, pushes to relay |
| @@ -692,8 +692,8 @@ impl PushAuthorizationTests { | |||
| 692 | /// | 692 | /// |
| 693 | /// This test uses the RecursiveMaintainerStateDataPushed fixture which handles all 4 stages: | 693 | /// This test uses the RecursiveMaintainerStateDataPushed fixture which handles all 4 stages: |
| 694 | /// 1. **Generated**: Creates MaintainerStateDataPushed (owner's + maintainer's data pushed) | 694 | /// 1. **Generated**: Creates MaintainerStateDataPushed (owner's + maintainer's data pushed) |
| 695 | /// + MaintainerAnnouncement (maintainer lists recursive maintainer) | 695 | /// + MaintainerAnnouncement (maintainer lists recursive maintainer) |
| 696 | /// + RecursiveMaintainerState (recursive maintainer's state event) | 696 | /// + RecursiveMaintainerState (recursive maintainer's state event) |
| 697 | /// 2. **Sent**: Sends events to relay | 697 | /// 2. **Sent**: Sends events to relay |
| 698 | /// 3. **Verified**: Confirms events accepted by relay | 698 | /// 3. **Verified**: Confirms events accepted by relay |
| 699 | /// 4. **DataPushed**: Clones repo, creates recursive maintainer deterministic commit, pushes to relay | 699 | /// 4. **DataPushed**: Clones repo, creates recursive maintainer deterministic commit, pushes to relay |