mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
Merge branch 'wip/pwithnall/macos-ci-fix' into 'main'
tests: Make an error check less specific in gsocketclient-slow See merge request GNOME/glib!4149
This commit is contained in:
commit
fc01879341
@ -231,7 +231,8 @@ test_connection_failed (void)
|
||||
g_main_context_iteration (NULL, TRUE);
|
||||
|
||||
conn = g_socket_client_connect_to_uri_finish (client, async_result, &local_error);
|
||||
g_assert_error (local_error, G_IO_ERROR, G_IO_ERROR_CONNECTION_REFUSED);
|
||||
g_assert_nonnull (local_error);
|
||||
g_assert_cmpint (local_error->domain, ==, G_IO_ERROR);
|
||||
g_assert_null (conn);
|
||||
g_clear_error (&local_error);
|
||||
g_clear_object (&async_result);
|
||||
|
Loading…
Reference in New Issue
Block a user