aboutsummaryrefslogtreecommitdiff
path: root/test_string.c
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 16:53:37 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-07-21 16:53:37 +0200
commit85b0db24804e6a8a66f557ac8917596db5fc5d9f (patch)
tree22cdfbf325fe7ecadc744a668f28c46b03e0f008 /test_string.c
parent2d225abf3b482fa2bf8cf9a56b8caefcc5724447 (diff)
refactor: Better types
Diffstat (limited to 'test_string.c')
-rw-r--r--test_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_string.c b/test_string.c
index f62f4ab..59da739 100644
--- a/test_string.c
+++ b/test_string.c
@@ -1,12 +1,12 @@
#include "string.h"
#include "testing.h"
-char test_string_literal_equality() {
+int test_string_literal_equality() {
t_assert(Str_equals(S("Bonjour"), S("Bonjour")));
return 0;
}
-char test_string_copy() {
+int test_string_copy() {
Arena perm = Arena_new(128e3);
Str src = S("Hello");