tests: Be more verbose in error messages.

Also, it makes it easier to copy/paste diffs from the message log...
This commit is contained in:
Benjamin Otte 2011-04-15 16:21:25 +02:00
parent dd78ab5a2f
commit ce44c95ce8

View File

@ -192,7 +192,7 @@ test_css_file (GFile *file)
if (diff && diff[0])
{
g_test_message ("%s", diff);
g_test_message ("Resulting CSS doesn't match reference:\n%s", diff);
g_test_fail ();
}
@ -208,7 +208,7 @@ test_css_file (GFile *file)
if (diff && diff[0])
{
g_test_message ("%s", diff);
g_test_message ("Errors don't match expected errors:\n%s", diff);
g_test_fail ();
}
}