Skip to content

Commit

Permalink
Log inner macro steps
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Nov 28, 2024
1 parent fd8ca36 commit 78e9918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

## Unreleased

* Log inner macro steps

## v0.6.0 (November 28, 2024)

* Added macro feature to Toolproof
Expand Down
4 changes: 4 additions & 0 deletions toolproof/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ pub fn log_step_runs(steps: &Vec<ToolproofTestStep>, indent: usize) {
ToolproofTestStep::Ref {
hydrated_steps: Some(inner_steps),
..
}
| ToolproofTestStep::Macro {
hydrated_steps: Some(inner_steps),
..
} => {
log_step_runs(inner_steps, indent + 2);
}
Expand Down

0 comments on commit 78e9918

Please sign in to comment.