diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bf93d9..fd6616a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ ## Unreleased +* Log inner macro steps + ## v0.6.0 (November 28, 2024) * Added macro feature to Toolproof diff --git a/toolproof/src/logging.rs b/toolproof/src/logging.rs index 732d8ec..98784c2 100644 --- a/toolproof/src/logging.rs +++ b/toolproof/src/logging.rs @@ -24,6 +24,10 @@ pub fn log_step_runs(steps: &Vec, indent: usize) { ToolproofTestStep::Ref { hydrated_steps: Some(inner_steps), .. + } + | ToolproofTestStep::Macro { + hydrated_steps: Some(inner_steps), + .. } => { log_step_runs(inner_steps, indent + 2); }