diff options
author | bonmas14 <bonmas14@gmail.com> | 2025-09-28 20:34:50 +0000 |
---|---|---|
committer | bonmas14 <bonmas14@gmail.com> | 2025-09-28 20:34:50 +0000 |
commit | 099519b45594827aad7c85f84816ae9b0cdd4698 (patch) | |
tree | 21136b5727c6cfaa18c653535d62a1e05db118dd /tests/un/sorter.c | |
parent | c25b7709ef5c2bd9cae7047704c3a67b9160819a (diff) | |
download | ungrateful-099519b45594827aad7c85f84816ae9b0cdd4698.tar.gz ungrateful-099519b45594827aad7c85f84816ae9b0cdd4698.zip |
fix for test
Diffstat (limited to 'tests/un/sorter.c')
-rw-r--r-- | tests/un/sorter.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/un/sorter.c b/tests/un/sorter.c index 7d46772..a5e9c1d 100644 --- a/tests/un/sorter.c +++ b/tests/un/sorter.c @@ -14,7 +14,7 @@ b32 sort_test_case_string(String *data, String *expect, u64 size) { return true; } -void main() { +int main() { un_init(UN_MB(4)); { s32 data[] = {5, 4, 3, 2, 1}; @@ -81,4 +81,6 @@ void main() { String expected[] = { UN_STR(" space"), UN_STR("hello"), UN_STR("hello world"), UN_STR("space") }; assert(sort_test_case_string(data, expected, sizeof(data) / sizeof(data[0]))); } + + return 0; } |