summaryrefslogtreecommitdiff
path: root/tests/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/string.c')
-rw-r--r--tests/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/string.c b/tests/string.c
index d106380..e38994e 100644
--- a/tests/string.c
+++ b/tests/string.c
@@ -104,7 +104,7 @@ Test(string, set_string_too_large_fails) {
b32 ok = strng_set(s, "way too long for a 4 byte buffer");
- cr_expect_eq(ok, false);
+ cr_expect_eq(ok, -1);
cr_expect_eq(s->len, 0);
smrt_arena_destroy(arena);