mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-19 00:17:51 +02:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user