gmarkup test: fix use of message expect API

This commit is contained in:
Ryan Lortie 2012-08-20 17:57:13 -04:00
parent 56210220a2
commit 850680d751

View 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 ();