fix(cli): restore test summary output for tree-sitter test
Problem: After commitf02d7e7e33the `tree-sitter test` command no longer printed the final test summary, leaving empty line. The `Stats` struct was embedded into `TestSummary`, and the explicit call to print it was removed. Solution: Print `parse_stats` from `TestSummary.fmt()` implementation. (cherry picked from commit17e3c7a5c5)
This commit is contained in:
parent
c1e49d1571
commit
d344e63a2e
1 changed files with 2 additions and 0 deletions
|
|
@ -595,6 +595,8 @@ impl std::fmt::Display for TestSummary {
|
|||
render_assertion_results("queries", &self.query_results)?;
|
||||
}
|
||||
|
||||
write!(f, "{}", self.parse_stats)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue