summaryrefslogtreecommitdiff
path: root/source/tests
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-12 16:21:29 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-12 16:21:29 +0200
commitd403ce66efb9b1150d103bc3b15eeaad312553a8 (patch)
treea824b6ebb995b7a6794efa7f10060bf9ae74e066 /source/tests
parent3466546567bb2a4014c221523bbb04c1860916f5 (diff)
downloadkit-d403ce66efb9b1150d103bc3b15eeaad312553a8.zip
Update TODO
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/input_buffer.test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tests/input_buffer.test.c b/source/tests/input_buffer.test.c
index d37ebb6..4712da9 100644
--- a/source/tests/input_buffer.test.c
+++ b/source/tests/input_buffer.test.c
@@ -56,7 +56,7 @@ TEST("input buffer read twice") {
is_destroy(in);
}
-static int is_integer_(str_t const data) {
+static i8 is_integer_(str_t const data) {
for (ptrdiff_t i = 0; i < data.size; i++)
if (data.values[i] < '0' || data.values[i] > '9')
return 0;