aboutsummaryrefslogtreecommitdiff
path: root/core/testing
diff options
context:
space:
mode:
Diffstat (limited to 'core/testing')
-rw-r--r--core/testing/signal_handler_libc.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/testing/signal_handler_libc.odin b/core/testing/signal_handler_libc.odin
index f60cf2540..d76fdd66b 100644
--- a/core/testing/signal_handler_libc.odin
+++ b/core/testing/signal_handler_libc.odin
@@ -51,7 +51,7 @@ stop_test_callback :: proc "c" (sig: libc.int) {
sigbuf[i] = cast(u8)('0' + m)
i -= 1
}
- sigstr = cast(string)sigbuf[i:]
+ sigstr = cast(string)sigbuf[1 + i:len(sigbuf) - 1]
}
advisory_a := `