diff options
-rw-r--r-- | tests/test_str.c | 2 | ||||
-rw-r--r-- | tests/test_strlist.c | 1 |
2 files changed, 0 insertions, 3 deletions
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); } diff --git a/tests/test_strlist.c b/tests/test_strlist.c index 099ab3f..aa9eb4e 100644 --- a/tests/test_strlist.c +++ b/tests/test_strlist.c @@ -142,7 +142,6 @@ void test_strlist_append_file() { const char *right; left = strlist_item(list, z); right = expected[z]; - printf("left = '%s', right = '%s'\n", left, right); OMC_ASSERT(strcmp(left, right) == 0, "file content is different than expected"); } OMC_ASSERT(strcmp_array(list->data, expected) == 0, "file contents does not match expected values"); |