mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01: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:
parent
c58a7b8c74
commit
0212ab6182
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user