Skip to content

Commit 718e475

Browse files
committed
Clarify arrow in snapshot tests
1 parent 21d21d5 commit 718e475

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/src/core/builder/tests.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,10 @@ mod staging {
12741274
/// Renders the executed bootstrap steps for usage in snapshot tests with insta.
12751275
/// Only renders certain important steps.
12761276
/// Each value in `steps` should be a tuple of (Step, step output).
1277+
///
1278+
/// The arrow in the rendered output (`X -> Y`) means `X builds Y`.
1279+
/// This is similar to the output printed by bootstrap to stdout, but here it is
1280+
/// generated purely for the purpose of tests.
12771281
fn render_steps(steps: &[ExecutedStep]) -> String {
12781282
steps
12791283
.iter()

0 commit comments

Comments
 (0)