summaryrefslogtreecommitdiffstats
path: root/tests/lib/search/glob_prepare_replace_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/search/glob_prepare_replace_str.c')
-rw-r--r--tests/lib/search/glob_prepare_replace_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/search/glob_prepare_replace_str.c b/tests/lib/search/glob_prepare_replace_str.c
index 6cc5020..0732980 100644
--- a/tests/lib/search/glob_prepare_replace_str.c
+++ b/tests/lib/search/glob_prepare_replace_str.c
@@ -1,7 +1,7 @@
/*
libmc - checks for processing esc sequences in replace string
- Copyright (C) 2011-2023
+ Copyright (C) 2011-2024
Free Software Foundation, Inc.
Written by:
@@ -77,7 +77,7 @@ START_PARAMETRIZED_TEST (test_glob_prepare_replace_str, test_glob_prepare_replac
/* when */
mc_search_run (s, data->input_value, 0, strlen (data->input_value), NULL);
- dest_str = mc_search_prepare_replace_str2 (s, (char *) data->replace_str);
+ dest_str = mc_search_prepare_replace_str2 (s, data->replace_str);
/* then */
mctest_assert_str_eq (dest_str, data->expected_result);