diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-10 07:58:23 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-06-10 07:58:23 -0400 |
commit | 5b648b30593e861693a02c4c5243595db2b5999e (patch) | |
tree | ac78a6515d742c8c3b3326ff6a988b994be2db89 | |
parent | 75aa8070cc66a1bd6d4d95ada02b87cf7c1bfa9e (diff) | |
download | ohmycal-5b648b30593e861693a02c4c5243595db2b5999e.tar.gz |
Remove debug printf statements
-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"); |