test-paint: More output for failures

This commit is contained in:
Matthias Clasen 2023-01-09 15:01:59 -05:00
parent 64e3f53fc2
commit 1d662632d9
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ test_hb_paint (gconstpointer d,
if (g_strv_length (lines) != g_strv_length (expected))
{
g_test_message ("Unexpected number of lines in output (%d instead of %d)", g_strv_length (lines), g_strv_length (expected));
g_test_message ("Unexpected number of lines in output (%d instead of %d):\n%s", g_strv_length (lines), g_strv_length (expected), data.string->str);
g_test_fail ();
}
else