diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-04-16 11:50:20 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-04-16 11:50:20 -0400 |
| commit | 8dfc361023276ee88170a2555f40d68a8ef57535 (patch) | |
| tree | a77f47b83cbfec2074cfca6ef304074286f08236 | |
| parent | d710fef8d3d4a9361c88504bda07bb97ea67a7ec (diff) | |
| download | stasis-8dfc361023276ee88170a2555f40d68a8ef57535.tar.gz | |
test_relocation: add test for tpl_render_to_file
| -rw-r--r-- | tests/test_relocation.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_relocation.c b/tests/test_relocation.c index a6c33f2..8a9beb6 100644 --- a/tests/test_relocation.c +++ b/tests/test_relocation.c @@ -16,7 +16,10 @@ void test_replace_text() { char input[BUFSIZ] = {0}; strcpy(input, test_string); + printf("input: %s\n", input); + printf("target: %s\n", target); STASIS_ASSERT(replace_text(input, target, "^^^", 0) == 0, "string replacement failed"); + printf("result: %s\n\n", input); STASIS_ASSERT(strcmp(input, expected) == 0, "unexpected replacement"); } |
