diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-01 14:31:32 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-01 15:22:38 +0000 |
| commit | d2ac69816567f092fe0d4661723bc43778cb481b (patch) | |
| tree | e8b51b61a6a7b0ab1a214adebe4e237143b01f0b /grasp-audit/src/specs/grasp01/push_authorization.rs | |
| parent | 7a78815e29b01c83f3d0ec195ba717a2eba8cd37 (diff) | |
fix cargo clippy and fmt warnings
Diffstat (limited to 'grasp-audit/src/specs/grasp01/push_authorization.rs')
| -rw-r--r-- | grasp-audit/src/specs/grasp01/push_authorization.rs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/grasp-audit/src/specs/grasp01/push_authorization.rs b/grasp-audit/src/specs/grasp01/push_authorization.rs index d8652ae..24eae1d 100644 --- a/grasp-audit/src/specs/grasp01/push_authorization.rs +++ b/grasp-audit/src/specs/grasp01/push_authorization.rs | |||
| @@ -351,10 +351,7 @@ async fn setup_repo_with_wrong_commit_pushed( | |||
| 351 | /// IMPORTANT: We must publish the EXACT same event that was used during setup, | 351 | /// IMPORTANT: We must publish the EXACT same event that was used during setup, |
| 352 | /// otherwise the event ID won't match the refs/nostr/<event-id> ref that was pushed. | 352 | /// otherwise the event ID won't match the refs/nostr/<event-id> ref that was pushed. |
| 353 | #[allow(dead_code)] | 353 | #[allow(dead_code)] |
| 354 | async fn publish_pr_event_and_wait( | 354 | async fn publish_pr_event_and_wait(ctx: &TestContext<'_>, pr_event: &Event) -> Result<(), String> { |
| 355 | ctx: &TestContext<'_>, | ||
| 356 | pr_event: &Event, | ||
| 357 | ) -> Result<(), String> { | ||
| 358 | // Publish the exact same PR event that was created during setup | 355 | // Publish the exact same PR event that was created during setup |
| 359 | ctx.client() | 356 | ctx.client() |
| 360 | .send_event(pr_event.clone()) | 357 | .send_event(pr_event.clone()) |
| @@ -1892,11 +1889,6 @@ impl PushAuthorizationTests { | |||
| 1892 | mod tests { | 1889 | mod tests { |
| 1893 | use super::*; | 1890 | use super::*; |
| 1894 | 1891 | ||
| 1895 | #[test] | ||
| 1896 | fn test_module_exists() { | ||
| 1897 | assert!(true); | ||
| 1898 | } | ||
| 1899 | |||
| 1900 | /// Test to discover the PR test commit hash | 1892 | /// Test to discover the PR test commit hash |
| 1901 | /// | 1893 | /// |
| 1902 | /// This test creates a deterministic commit with PR-specific parameters | 1894 | /// This test creates a deterministic commit with PR-specific parameters |