From 5a7dcb86485f050aeeb77eef3313a6b92a2adde4 Mon Sep 17 00:00:00 2001 From: Mosder Date: Thu, 17 Sep 2026 15:51:23 +0200 Subject: feat: changed output tests and suppression to use file descriptors for more portability --- tests/string_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/string_tests.c') 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]; -- cgit v1.2.3