summaryrefslogtreecommitdiff
path: root/auto_tests/typing_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'auto_tests/typing_test.c')
-rw-r--r--auto_tests/typing_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/typing_test.c b/auto_tests/typing_test.c
index 60968876..54577420 100644
--- a/auto_tests/typing_test.c
+++ b/auto_tests/typing_test.c
@@ -48,7 +48,7 @@ static void test_typing(Tox **toxes, State *state)
48 iterate_all_wait(2, toxes, state, 200); 48 iterate_all_wait(2, toxes, state, 200);
49 } while (state[1].friend_is_typing); 49 } while (state[1].friend_is_typing);
50 50
51 TOX_ERR_FRIEND_QUERY err_t; 51 Tox_Err_Friend_Query err_t;
52 ck_assert_msg(tox_friend_get_typing(toxes[1], 0, &err_t) == 0, 52 ck_assert_msg(tox_friend_get_typing(toxes[1], 0, &err_t) == 0,
53 "tox_friend_get_typing should have returned false, but it didn't"); 53 "tox_friend_get_typing should have returned false, but it didn't");
54 ck_assert_msg(err_t == TOX_ERR_FRIEND_QUERY_OK, "tox_friend_get_typing call did not return correct error"); 54 ck_assert_msg(err_t == TOX_ERR_FRIEND_QUERY_OK, "tox_friend_get_typing call did not return correct error");