mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 14:49:16 +02:00
g_test_expect_message: fix pattern syntax in example code
This commit is contained in:
parent
37f369a41e
commit
b55e1820a9
@ -1083,7 +1083,7 @@ g_assert_warning (const char *log_domain,
|
|||||||
* */
|
* */
|
||||||
* g_test_expect_message (G_LOG_DOMAIN,
|
* g_test_expect_message (G_LOG_DOMAIN,
|
||||||
* G_LOG_LEVEL_CRITICAL,
|
* G_LOG_LEVEL_CRITICAL,
|
||||||
* "assertion.*acquired_context.*failed");
|
* "assertion*acquired_context*failed");
|
||||||
* g_main_context_push_thread_default (bad_context);
|
* g_main_context_push_thread_default (bad_context);
|
||||||
* g_test_assert_expected_messages ();
|
* g_test_assert_expected_messages ();
|
||||||
* ]|
|
* ]|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user