[glib] Tests: Fix up the expected messages
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Tests: Fix up the expected messages
- Date: Mon, 11 Nov 2013 14:44:29 +0000 (UTC)
commit 0212ab61824c098ec0a213465e85e2bc2702b4ed
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Nov 6 16:58:00 2013 +0800
Tests: Fix up the expected messages
There was an expected messages that was not in the form that GLib on
Windows actually produces, which causes some test to fail. Fix this up.
https://bugzilla.gnome.org/show_bug.cgi?id=711047
gio/tests/credentials.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/credentials.c b/gio/tests/credentials.c
index 5134e38..afd73cc 100644
--- a/gio/tests/credentials.c
+++ b/gio/tests/credentials.c
@@ -143,8 +143,8 @@ test_basic (void)
#else /* ! G_CREDENTIALS_SUPPORTED */
g_test_expect_message (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING,
- "*g_credentials_get_native: Trying to get*"
- "credentials but*no support*");
+ "*g_credentials_get_native: Trying to get "
+ "credentials *but*no support*");
bad_native_creds = g_credentials_get_native (creds, G_CREDENTIALS_TYPE_LINUX_UCRED);
g_test_assert_expected_messages ();
g_assert_null (bad_native_creds);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]