aboutsummaryrefslogtreecommitdiff
path: root/tests/test_str.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-06-10 07:58:23 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-06-10 07:58:23 -0400
commit5b648b30593e861693a02c4c5243595db2b5999e (patch)
treeac78a6515d742c8c3b3326ff6a988b994be2db89 /tests/test_str.c
parent75aa8070cc66a1bd6d4d95ada02b87cf7c1bfa9e (diff)
downloadstasis-5b648b30593e861693a02c4c5243595db2b5999e.tar.gz
Remove debug printf statements
Diffstat (limited to 'tests/test_str.c')
-rw-r--r--tests/test_str.c2
1 files changed, 0 insertions, 2 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);
}