test-paint: More helpful output
No need to print ASCII chars as hex.
This commit is contained in:
parent
f283d4d366
commit
42047070dd
|
@ -406,7 +406,7 @@ test_hb_paint (gconstpointer d,
|
||||||
if (lines[i][pos] != expected[i][pos])
|
if (lines[i][pos] != expected[i][pos])
|
||||||
break;
|
break;
|
||||||
|
|
||||||
g_test_message ("Unxpected output at %d:%d (%#x instead of %#x):\n%s", i, pos, (unsigned int)lines[i][pos], (unsigned int)expected[i][pos], data.string->str);
|
g_test_message ("Unexpected output at %d:%d (%c instead of %c):\n%s", i, pos, lines[i][pos], expected[i][pos], data.string->str);
|
||||||
g_test_fail ();
|
g_test_fail ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue