From aec19c24a90373906a456ed09aaf23a18b7229ba Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 21 Sep 2024 12:45:46 -0400 Subject: Remove pointless and inconsistent printing from unit tests --- test/test_node.c | 2 -- test/test_reader_writer.c | 1 - test/test_string.c | 3 --- test/test_uri.c | 3 --- test/test_writer.c | 1 - 5 files changed, 10 deletions(-) diff --git a/test/test_node.c b/test/test_node.c index 09e9dfff..574c10d3 100644 --- a/test/test_node.c +++ b/test/test_node.c @@ -285,7 +285,5 @@ main(void) test_node_from_string(); test_node_from_substring(); test_uri_node_from_node(); - - printf("Success\n"); return 0; } diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c index c229d1c5..0ed26794 100644 --- a/test/test_reader_writer.c +++ b/test/test_reader_writer.c @@ -332,6 +332,5 @@ main(void) assert(!remove(path)); free(path); - printf("Success\n"); return 0; } diff --git a/test/test_string.c b/test/test_string.c index 23835ca9..1af3f45a 100644 --- a/test/test_string.c +++ b/test/test_string.c @@ -7,7 +7,6 @@ #include #include -#include #include static void @@ -57,7 +56,5 @@ main(void) { test_strlen(); test_strerror(); - - printf("Success\n"); return 0; } diff --git a/test/test_uri.c b/test/test_uri.c index 94669ad5..1c440a30 100644 --- a/test/test_uri.c +++ b/test/test_uri.c @@ -8,7 +8,6 @@ #include #include #include -#include #include #define USTR(s) ((const uint8_t*)(s)) @@ -382,7 +381,5 @@ main(void) test_uri_parsing(); test_uri_from_string(); test_relative_uri(); - - printf("Success\n"); return 0; } diff --git a/test/test_writer.c b/test/test_writer.c index 6c765148..9e94e139 100644 --- a/test/test_writer.c +++ b/test/test_writer.c @@ -112,7 +112,6 @@ test_write_nested_anon(void) "\t\t \n" "\t] .\n"; - fprintf(stderr, "%s\n", out); assert(!strcmp((char*)out, expected)); serd_free(out); } -- cgit v1.2.1