mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
tests/lib/strutil/str_replace_all.c: rename file.
This commit is contained in:
parent
f1cf92f435
commit
634219ccad
@ -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
|
||||
|
||||
|
@ -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* */
|
Loading…
Reference in New Issue
Block a user