carrying method
This outcome with keep in place of its steps, and nothing else
changed.
Not a trim by itself: the run description passes every step back through here to re-point it at where its artifacts actually landed. stepsElided falls out of the arithmetic, and is zero for that caller.
Implementation
ScenarioRunOutcome carrying(List<ScenarioRunStep> keep) => ScenarioRunOutcome(
file: file,
name: name,
ok: ok,
skipped: skipped,
skipReason: skipReason,
device: device,
axes: axes,
ms: ms,
steps: keep,
stepCount: stepCount,
unchangedCount: unchangedCount,
unsettledCount: unsettledCount,
guessedCount: guessedCount,
stillTicking: stillTicking,
errors: errors,
translations: translations,
stepsElided: stepCount - keep.length,
);