summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-07-09 18:28:03 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-07-09 18:28:03 +0200
commiteb86def4000e619f8c3c2dc79e0c88b847546321 (patch)
tree0d683f639ba3d0a3d24b01939a81e3e32168f131 /tests
parent666bc4fda2abdb57ca168763a915a1f7bc935fad (diff)
downloadweechat-eb86def4000e619f8c3c2dc79e0c88b847546321.zip
core: rename function string_iconv_fprintf to string_fprintf
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/core/test-string.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/core/test-string.cpp b/tests/unit/core/test-string.cpp
index 0947e16b7..fb1d06ddb 100644
--- a/tests/unit/core/test-string.cpp
+++ b/tests/unit/core/test-string.cpp
@@ -1008,7 +1008,7 @@ TEST(String, SplitBuildWithSplitString)
* string_iconv
* string_iconv_to_internal
* string_iconv_from_internal
- * string_iconv_fprintf
+ * string_fprintf
*/
TEST(String, Iconv)
@@ -1038,12 +1038,12 @@ TEST(String, Iconv)
WEE_TEST_STR("abc", string_iconv_from_internal (NULL, "abc"));
WEE_TEST_STR(noel_iso, string_iconv_from_internal ("ISO-8859-15", noel_utf8));
- /* string_iconv_fprintf */
+ /* string_fprintf */
f = fopen ("/dev/null", "w");
- LONGS_EQUAL(0, string_iconv_fprintf (f, NULL));
- LONGS_EQUAL(1, string_iconv_fprintf (f, "abc"));
- LONGS_EQUAL(1, string_iconv_fprintf (f, noel_utf8));
- LONGS_EQUAL(1, string_iconv_fprintf (f, noel_iso));
+ LONGS_EQUAL(0, string_fprintf (f, NULL));
+ LONGS_EQUAL(1, string_fprintf (f, "abc"));
+ LONGS_EQUAL(1, string_fprintf (f, noel_utf8));
+ LONGS_EQUAL(1, string_fprintf (f, noel_iso));
fclose (f);
}