diff --git a/glib/tests/regex.c b/glib/tests/regex.c index 13361c488..a774683f7 100644 --- a/glib/tests/regex.c +++ b/glib/tests/regex.c @@ -131,6 +131,8 @@ test_new_fail (gconstpointer d) g_assert (regex == NULL); g_assert_error (error, G_REGEX_ERROR, data->expected_error); + g_test_message ("Compiling pattern /%s/ failed with error: %s", + data->pattern, error->message); g_error_free (error); }