This commit is contained in:
Behdad Esfahbod 2011-07-30 20:23:55 -04:00
parent 8613193bbf
commit 3a9b14dfdf
1 changed files with 4 additions and 4 deletions

View File

@ -1056,13 +1056,13 @@ test_shape_complex (ft_fixture_t *f, gconstpointer user_data)
if (fail) { if (fail) {
GString *str = g_string_new (""); GString *str = g_string_new ("");
for (i = 0; i < expected_len; i++)
g_string_append_printf (str, " %4d", data->glyphs[i]);
g_test_message ("Expected glyphs: %s", str->str);
g_string_truncate (str, 0);
for (i = 0; i < len; i++) for (i = 0; i < len; i++)
g_string_append_printf (str, " %4d", glyphs[i].codepoint); g_string_append_printf (str, " %4d", glyphs[i].codepoint);
g_test_message ("Received glyphs: %s", str->str); g_test_message ("Received glyphs: %s", str->str);
g_string_truncate (str, 0);
for (i = 0; i < expected_len; i++)
g_string_append_printf (str, " %4d", data->glyphs[i]);
g_test_message ("Expected glyphs: %s", str->str);
g_string_free (str, TRUE); g_string_free (str, TRUE);
g_test_message ("FAIL"); g_test_message ("FAIL");