gmarkup test: fix use of message expect API
authorRyan Lortie <desrt@desrt.ca>
Mon, 20 Aug 2012 21:57:13 +0000 (17:57 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 20 Aug 2012 21:57:13 +0000 (17:57 -0400)
glib/tests/markup-collect.c

index 6c88a93..9030e5d 100644 (file)
@@ -247,7 +247,7 @@ test_cleanup (void)
   g_markup_parse_context_parse (context, XML, -1, NULL);
 
   g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
-                         "assertion `context->state != STATE_ERROR' failed");
+                         "g_markup_parse_context_end_parse: assertion `context->state != STATE_ERROR' failed");
   g_markup_parse_context_end_parse (context, NULL);
   g_test_assert_expected_messages ();