From 5b648b30593e861693a02c4c5243595db2b5999e Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 10 Jun 2024 07:58:23 -0400 Subject: Remove debug printf statements --- tests/test_str.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/test_str.c') diff --git a/tests/test_str.c b/tests/test_str.c index 2321ccd..943c3ce 100644 --- a/tests/test_str.c +++ b/tests/test_str.c @@ -269,7 +269,6 @@ void test_substring_between() { }; for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) { char *result = substring_between(tc[i].data, tc[i].delim); - printf("data = '%s', delim = '%s', expected = '%s', result = '%s'\n", tc[i].data, tc[i].delim, tc[i].expected, result); OMC_ASSERT(strcmp(result ? result : "", tc[i].expected) == 0, "unable to extract substring"); guard_free(result); } @@ -345,7 +344,6 @@ void test_strip() { char *result; strcpy(buf, tc[i].data); result = strip(buf); - printf("result = '%s', expected = '%s'\n", result, tc[i].expected); OMC_ASSERT(strcmp(result ? result : "", tc[i].expected) == 0, "incorrect strip-from-right"); guard_free(buf); } -- cgit