aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-06-20 17:37:04 +0200
committerGitHub <noreply@github.com>2021-06-20 17:37:04 +0200
commitf10fc2a49420479fa69550c54d702d1387f045ed (patch)
tree7e4ede183f7310d522e45371f6f6ab56ebe42784
parenta2d5f660eda9cf112d49167fc446b04cc7c441b2 (diff)
parent055d8c53706f316d6bffa6e0361d0ded09a0b5f2 (diff)
Merge pull request #1023 from Kelimion/test_runner_fix
Fix Windows test runner.
-rw-r--r--core/testing/runner_windows.odin2
1 files changed, 1 insertions, 1 deletions
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();
};