tests/lib/strutil/str_replace_all.c: rename file.

This commit is contained in:
Andrew Borodin 2023-07-23 12:33:16 +03:00
parent f1cf92f435
commit 634219ccad
2 changed files with 6 additions and 6 deletions

View File

@ -13,19 +13,19 @@ LIBS += $(GLIB_LIBS)
endif
TESTS = \
replace__str_replace_all \
parse_integer \
str_replace_all \
str_verscmp \
filevercmp
check_PROGRAMS = $(TESTS)
replace__str_replace_all_SOURCES = \
replace__str_replace_all.c
parse_integer_SOURCES = \
parse_integer.c
str_replace_all_SOURCES = \
str_replace_all.c
str_verscmp_SOURCES = \
str_verscmp.c

View File

@ -1,5 +1,5 @@
/*
lib/strutil - tests for lib/strutil/replace:str_replace_all() function.
lib/strutil - tests for lib/strutil/replace.c:str_replace_all() function.
Copyright (C) 2013-2023
Free Software Foundation, Inc.
@ -158,7 +158,7 @@ START_PARAMETRIZED_TEST (str_replace_all_test, str_replace_all_test_ds)
actual_result = str_replace_all (data->haystack, data->needle, data->replacement);
/* then */
g_assert_cmpstr (actual_result, ==, data->expected_result);
mctest_assert_str_eq (actual_result, data->expected_result);
g_free (actual_result);
}
/* *INDENT-OFF* */