diff options
Diffstat (limited to 'auto_tests/tox_test.c')
-rw-r--r-- | auto_tests/tox_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/auto_tests/tox_test.c b/auto_tests/tox_test.c index 133fbb2a..7f6443b7 100644 --- a/auto_tests/tox_test.c +++ b/auto_tests/tox_test.c | |||
@@ -578,7 +578,8 @@ START_TEST(test_many_group) | |||
578 | 578 | ||
579 | for (i = 0; i < NUM_GROUP_TOX; ++i) { | 579 | for (i = 0; i < NUM_GROUP_TOX; ++i) { |
580 | int num_peers = tox_group_number_peers(toxes[i], 0); | 580 | int num_peers = tox_group_number_peers(toxes[i], 0); |
581 | ck_assert_msg(num_peers == NUM_GROUP_TOX, "Bad number of group peers. expected: %u got: %i, tox %u", NUM_GROUP_TOX, num_peers, i); | 581 | ck_assert_msg(num_peers == NUM_GROUP_TOX, "Bad number of group peers. expected: %u got: %i, tox %u", NUM_GROUP_TOX, |
582 | num_peers, i); | ||
582 | } | 583 | } |
583 | 584 | ||
584 | printf("group connected\n"); | 585 | printf("group connected\n"); |
@@ -600,7 +601,7 @@ START_TEST(test_many_group) | |||
600 | } | 601 | } |
601 | 602 | ||
602 | ck_assert_msg(num_recv == NUM_GROUP_TOX, "Failed to recv group messages."); | 603 | ck_assert_msg(num_recv == NUM_GROUP_TOX, "Failed to recv group messages."); |
603 | 604 | ||
604 | for (k = NUM_GROUP_TOX; k != 0 ; --k) { | 605 | for (k = NUM_GROUP_TOX; k != 0 ; --k) { |
605 | tox_del_groupchat(toxes[k - 1], 0); | 606 | tox_del_groupchat(toxes[k - 1], 0); |
606 | 607 | ||