mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
tests: Add a missing no-error assertion in the socket tests
It doesn’t fail, but at least now it’s there to catch problems if they do happen. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
parent
e46184205f
commit
7463a256cb
@ -617,6 +617,7 @@ test_ip_sync_dgram (GSocketFamily family)
|
|||||||
}
|
}
|
||||||
|
|
||||||
dest_addr = g_socket_get_local_address (data->server, &error);
|
dest_addr = g_socket_get_local_address (data->server, &error);
|
||||||
|
g_assert_no_error (error);
|
||||||
|
|
||||||
client = g_socket_new (family,
|
client = g_socket_new (family,
|
||||||
G_SOCKET_TYPE_DATAGRAM,
|
G_SOCKET_TYPE_DATAGRAM,
|
||||||
|
Loading…
Reference in New Issue
Block a user