mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Use correct logical operator for tox_test
Check to ensure that all 3 tox instances are up rather than just one.
This commit is contained in:
parent
05f474b4df
commit
d9cd1b0c64
|
@ -440,7 +440,7 @@ START_TEST(test_few_clients)
|
||||||
Tox *tox3 = tox_new(0, &t_n_error);
|
Tox *tox3 = tox_new(0, &t_n_error);
|
||||||
ck_assert_msg(t_n_error == TOX_ERR_NEW_OK, "wrong error");
|
ck_assert_msg(t_n_error == TOX_ERR_NEW_OK, "wrong error");
|
||||||
|
|
||||||
ck_assert_msg(tox1 || tox2 || tox3, "Failed to create 3 tox instances");
|
ck_assert_msg(tox1 && tox2 && tox3, "Failed to create 3 tox instances");
|
||||||
|
|
||||||
{
|
{
|
||||||
TOX_ERR_GET_PORT error;
|
TOX_ERR_GET_PORT error;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user