Skip to content

Commit

Permalink
Print the expected and actual output in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Jan 24, 2025
1 parent 71b8106 commit e47e352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tiger/tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ fn test_execution() {
if output != expected_output {
success = false;
println!(" FAIL");
println!("Expected: {}", expected_output);
println!("Actual: {}\n====================", output);
failure_count += 1;
}
else {
Expand Down

0 comments on commit e47e352

Please sign in to comment.