From f011f2925bb912e9001d618375a2b384b8b0f862 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Tue, 16 Jul 2024 12:20:45 +0200 Subject: [PATCH] remove extra null termination --- tests/rename_tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/rename_tests.c b/tests/rename_tests.c index 973f3a8..b8891c6 100644 --- a/tests/rename_tests.c +++ b/tests/rename_tests.c @@ -30,7 +30,7 @@ int teardown(void **state) void rename_spaces(void **state) { char* output = (char*) *state; - char* input = "Dies ist ein Test Satz\0"; + char* input = "Dies ist ein Test Satz"; rename_str(input, output); -- 2.39.5