diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-12 11:23:51 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-12 11:23:51 +0000 |
| commit | 869fd91e5c652c48a32d284eedc989a79c7afaea (patch) | |
| tree | cd6212e0b835af2f7ba8617322140bd32d42ba9c /grasp-audit | |
| parent | d07dc0e3b14b8464e47f5ab009552eacda568a36 (diff) | |
fix: update doctest to use valid FixtureKind::RepoState variant
Diffstat (limited to 'grasp-audit')
| -rw-r--r-- | grasp-audit/src/fixtures.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grasp-audit/src/fixtures.rs b/grasp-audit/src/fixtures.rs index bbc7740..e1a5320 100644 --- a/grasp-audit/src/fixtures.rs +++ b/grasp-audit/src/fixtures.rs | |||
| @@ -517,8 +517,8 @@ impl<'a> TestContext<'a> { | |||
| 517 | /// ```no_run | 517 | /// ```no_run |
| 518 | /// # use grasp_audit::*; | 518 | /// # use grasp_audit::*; |
| 519 | /// # async fn example(ctx: &TestContext<'_>) -> anyhow::Result<()> { | 519 | /// # async fn example(ctx: &TestContext<'_>) -> anyhow::Result<()> { |
| 520 | /// // This ensures ValidRepo exists first, then creates MaintainerState | 520 | /// // This ensures ValidRepo exists first, then creates RepoState |
| 521 | /// let state = ctx.ensure_fixture(FixtureKind::MaintainerState).await?; | 521 | /// let state = ctx.ensure_fixture(FixtureKind::RepoState).await?; |
| 522 | /// # Ok(()) | 522 | /// # Ok(()) |
| 523 | /// # } | 523 | /// # } |
| 524 | /// ``` | 524 | /// ``` |