Clarify arrow in snapshot tests

This commit is contained in:
Jakub Beránek 2025-06-18 13:14:16 +02:00
parent 21d21d5f81
commit 718e475cb1
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -1274,6 +1274,10 @@ mod staging {
/// Renders the executed bootstrap steps for usage in snapshot tests with insta.
/// Only renders certain important steps.
/// Each value in `steps` should be a tuple of (Step, step output).
///
/// The arrow in the rendered output (`X -> Y`) means `X builds Y`.
/// This is similar to the output printed by bootstrap to stdout, but here it is
/// generated purely for the purpose of tests.
fn render_steps(steps: &[ExecutedStep]) -> String {
steps
.iter()