aboutsummaryrefslogtreecommitdiff
path: root/tests/string_tests.c
diff options
context:
space:
mode:
authorMosder <git@mosder.eu>2026-09-17 15:51:23 +0200
committerMosder <git@mosder.eu>2026-09-17 15:51:23 +0200
commit5a7dcb86485f050aeeb77eef3313a6b92a2adde4 (patch)
tree8da7de37d80b36f054bfc6d5dba284dda609c435 /tests/string_tests.c
parentde163fe7ee64e63d36dd581db16c776831cbead0 (diff)
feat: changed output tests and suppression to use file descriptors for more portability
Diffstat (limited to 'tests/string_tests.c')
-rw-r--r--tests/string_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/string_tests.c b/tests/string_tests.c
index eaa9498..8ca0dcd 100644
--- a/tests/string_tests.c
+++ b/tests/string_tests.c
@@ -41,7 +41,7 @@ TEST(ss_print_helper) {
}
TEST(printing) {
- test_assert_out(ss_print_helper, stdout, "test");
+ test_assert_out(ss_print_helper, STDOUT_FILENO, "test");
StringSlice ss = ss_from_str("slice");
char buf[16];