diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-07-20 11:53:08 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-07-20 12:14:40 +0200 |
commit | 62e68f965f7bce87eb0bf61bb134de5a3d3b7507 (patch) | |
tree | 817a07d1cd0d80e28c9c9c286c39d3abf9e751e4 /tests/unit/core | |
parent | 0440309cee9c738b76e5ba8eaa4b59ebd9d8951b (diff) | |
download | weechat-62e68f965f7bce87eb0bf61bb134de5a3d3b7507.zip |
api: rename function string_build_with_split_string to string_rebuild_split_string
Diffstat (limited to 'tests/unit/core')
-rw-r--r-- | tests/unit/core/test-core-string.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/core/test-core-string.cpp b/tests/unit/core/test-core-string.cpp index 8b7d4a952..f14e572a6 100644 --- a/tests/unit/core/test-core-string.cpp +++ b/tests/unit/core/test-core-string.cpp @@ -1700,15 +1700,15 @@ TEST(CoreString, SplitTags) /* * Tests functions: - * string_build_with_split_string + * string_rebuild_split_string */ -TEST(CoreString, SplitBuildWithSplitString) +TEST(CoreString, RebuildSplitString) { char **argv, *str; int argc, flags; - str = string_build_with_split_string (NULL, NULL); + str = string_rebuild_split_string (NULL, NULL); POINTERS_EQUAL(NULL, str); flags = WEECHAT_STRING_SPLIT_STRIP_LEFT @@ -1716,15 +1716,15 @@ TEST(CoreString, SplitBuildWithSplitString) | WEECHAT_STRING_SPLIT_COLLAPSE_SEPS; argv = string_split (" abc de fghi ", " ", NULL, flags, 0, &argc); - str = string_build_with_split_string ((const char **)argv, NULL); + str = string_rebuild_split_string ((const char **)argv, NULL); STRCMP_EQUAL("abcdefghi", str); free (str); - str = string_build_with_split_string ((const char **)argv, ""); + str = string_rebuild_split_string ((const char **)argv, ""); STRCMP_EQUAL("abcdefghi", str); free (str); - str = string_build_with_split_string ((const char **)argv, ";;"); + str = string_rebuild_split_string ((const char **)argv, ";;"); STRCMP_EQUAL("abc;;de;;fghi", str); free (str); |