diff --git a/auto_tests/bootstrap_test.c b/auto_tests/bootstrap_test.c index fd46d09c..d6138855 100644 --- a/auto_tests/bootstrap_test.c +++ b/auto_tests/bootstrap_test.c @@ -29,6 +29,7 @@ int main(void) c_sleep(ITERATION_INTERVAL); } + assert(tox_self_get_connection_status(tox_udp) == TOX_CONNECTION_UDP); printf("Connection (UDP): %d\n", tox_self_get_connection_status(tox_udp)); tox_kill(tox_udp); diff --git a/auto_tests/tcp_relay_test.c b/auto_tests/tcp_relay_test.c index 84fb92da..d0c70934 100644 --- a/auto_tests/tcp_relay_test.c +++ b/auto_tests/tcp_relay_test.c @@ -33,6 +33,7 @@ int main(void) c_sleep(ITERATION_INTERVAL); } + assert(tox_self_get_connection_status(tox_tcp) == TOX_CONNECTION_TCP); printf("Connection (TCP): %d\n", tox_self_get_connection_status(tox_tcp)); tox_kill(tox_tcp);