Restore console mode when test runner exits.

This commit is contained in:
Jeroen van Rijn
2025-05-20 16:51:24 +02:00
parent e36db15b48
commit 8bffd247b7
2 changed files with 24 additions and 6 deletions
+4
View File
@@ -949,5 +949,9 @@ To partly mitigate this, redirect STDERR to a file or use the -define:ODIN_TEST_
fmt.assertf(err == nil, "Error writing JSON report: %v", err)
}
when ODIN_OS == .Windows {
console_ansi_fini()
}
return total_success_count == total_test_count
}