Skip to content

Commit 77b681a

Browse files
TMHSDigitalclaude
andcommitted
Test: leave Stats.Repeat out of the report drift test (#341)
cf034fd added scan.Stats.Repeat, which TestTargetReportsEveryStatsField in internal/report could not set and failed on. Repeat is not part of the run-quality report: the CLI takes it off a stopped pass before the report, so it is listed with RootDone as unreported. Refs #341 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent cf034fd commit 77b681a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎internal/report/report_test.go‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ func TestTargetReportsEveryStatsField(t *testing.T) {
4242
// The names themselves go to the -inconclusive file (#217); the
4343
// outcomes already count them.
4444
"Inconclusive": true,
45+
// What a -resume repeats; the CLI takes it off before the report (#341).
46+
"Repeat": true,
4547
}
4648
// Skipped and Wildcard are set so Expired and Fingerprint show.
4749
base := scan.Stats{Skipped: 1, Wildcard: true}

0 commit comments

Comments
 (0)