Skip to content

Commit

Permalink
Use correct equality operator for tox_test
Browse files Browse the repository at this point in the history
Check to ensure that all 3 tox instances are up rather than
just one.
  • Loading branch information
Chuongv committed Sep 11, 2016
1 parent 05f474b commit 7e9cd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto_tests/tox_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ START_TEST(test_few_clients)
Tox *tox3 = tox_new(0, &t_n_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;
Expand Down

0 comments on commit 7e9cd0e

Please sign in to comment.