diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2012-10-23 00:51:34 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2012-10-23 00:51:34 +0400 |
commit | 9c1df247ba2f9cf6f8016f3078f89d01ed9dc9a1 (patch) | |
tree | 9485a3fe2d0e82b9704a0953c4187fdf01f09a20 /eglib | |
parent | a8713118a330253674fc4d1aa8a36942502af501 (diff) |
Fix the eglib test suite.
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/test/utf8.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eglib/test/utf8.c b/eglib/test/utf8.c index 153a4bbc60f..a924902c99f 100644 --- a/eglib/test/utf8.c +++ b/eglib/test/utf8.c @@ -140,7 +140,7 @@ compare_strings_utf16_RESULT (const gunichar2 *expected, const gunichar2 *actual } #if !defined(EGLIB_TESTS) -#define g_utf8_to_utf16_with_nuls g_utf8_to_utf16 +#define eg_utf8_to_utf16_with_nuls g_utf8_to_utf16 #endif RESULT @@ -155,7 +155,7 @@ compare_utf8_to_utf16_explicit (const gunichar2 *expected, const gchar *utf8, gl error = NULL; if (include_nuls) - ret = g_utf8_to_utf16_with_nuls (utf8, size_spec, &in_read, &out_read, &error); + ret = eg_utf8_to_utf16_with_nuls (utf8, size_spec, &in_read, &out_read, &error); else ret = g_utf8_to_utf16 (utf8, size_spec, &in_read, &out_read, &error); @@ -272,7 +272,7 @@ test_utf8_to_utf16_with_nuls () #endif /* implicit length is forbidden */ - if (g_utf8_to_utf16_with_nuls (src1, -1, NULL, NULL, NULL) != NULL) + if (eg_utf8_to_utf16_with_nuls (src1, -1, NULL, NULL, NULL) != NULL) return FAILED ("explicit nulls must fail with -1 length\n"); /* empty string */ |