mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
gmarkup test: fix use of message expect API
This commit is contained in:
parent
56210220a2
commit
850680d751
@ -247,7 +247,7 @@ test_cleanup (void)
|
|||||||
g_markup_parse_context_parse (context, XML, -1, NULL);
|
g_markup_parse_context_parse (context, XML, -1, NULL);
|
||||||
|
|
||||||
g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL,
|
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_markup_parse_context_end_parse (context, NULL);
|
||||||
g_test_assert_expected_messages ();
|
g_test_assert_expected_messages ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user