aboutsummaryrefslogtreecommitdiff
path: root/core/testing/runner.odin
diff options
context:
space:
mode:
Diffstat (limited to 'core/testing/runner.odin')
-rw-r--r--core/testing/runner.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/testing/runner.odin b/core/testing/runner.odin
index 9ce4f35cb..cdb911d15 100644
--- a/core/testing/runner.odin
+++ b/core/testing/runner.odin
@@ -983,8 +983,8 @@ To partly mitigate this, redirect STDERR to a file or use the -define:ODIN_TEST_
json_report.success = total_success_count
json_report.duration = finished_in
- err := json.marshal_to_writer(os.stream_from_handle(json_fd), json_report, &{ pretty = true })
- fmt.assertf(err == nil, "Error writing JSON report: %v", err)
+ json_err := json.marshal_to_writer(os.stream_from_handle(json_fd), json_report, &{ pretty = true })
+ fmt.assertf(json_err == nil, "Error writing JSON report: %v", json_err)
}
return total_success_count == total_test_count