[glib] g_test_expect_message: fix pattern syntax in example code
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] g_test_expect_message: fix pattern syntax in example code
- Date: Mon, 26 Nov 2012 15:48:52 +0000 (UTC)
commit b55e1820a9faff5557d99f78bd0a205659afc60d
Author: Dan Winship <danw gnome org>
Date: Sat Nov 24 15:47:45 2012 -0500
g_test_expect_message: fix pattern syntax in example code
glib/gmessages.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmessages.c b/glib/gmessages.c
index 7062dcf..e2be9ab 100644
--- a/glib/gmessages.c
+++ b/glib/gmessages.c
@@ -1083,7 +1083,7 @@ g_assert_warning (const char *log_domain,
* */
* g_test_expect_message (G_LOG_DOMAIN,
* G_LOG_LEVEL_CRITICAL,
- * "assertion.*acquired_context.*failed");
+ * "assertion*acquired_context*failed");
* g_main_context_push_thread_default (bad_context);
* g_test_assert_expected_messages ();
* ]|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]