From 055d8c53706f316d6bffa6e0361d0ded09a0b5f2 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Sun, 20 Jun 2021 17:33:39 +0200 Subject: [PATCH] Fix Windows test runner. --- core/testing/runner_windows.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/testing/runner_windows.odin b/core/testing/runner_windows.odin index d8633f703..c64de4fe6 100644 --- a/core/testing/runner_windows.odin +++ b/core/testing/runner_windows.odin @@ -153,7 +153,7 @@ run_internal_test :: proc(t: ^T, it: Internal_Test) { } global_exception_handler = win32.AddVectoredExceptionHandler(0, exception_handler_proc); - context.assertion_failure_proc = proc(prefix, message: string, loc: runtime.Source_Code_Location) { + context.assertion_failure_proc = proc(prefix, message: string, loc: runtime.Source_Code_Location) -> ! { errorf(t=global_current_t, format="%s %s", args={prefix, message}, loc=loc); intrinsics.trap(); };