mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Properly fixed test.
This commit is contained in:
parent
0181fd95ae
commit
871a64197b
|
@ -174,7 +174,7 @@ START_TEST(test_getself_name)
|
|||
setname(m, (uint8_t *)nickname, len);
|
||||
getself_name(m, (uint8_t *)nick_check, len);
|
||||
|
||||
ck_assert_msg((memcmp(nickname, nick_check, len) != 0),
|
||||
ck_assert_msg((memcmp(nickname, nick_check, len) == 0),
|
||||
"getself_name failed to return the known name!\n"
|
||||
"known name: %s\nreturned: %s\n", nickname, nick_check);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user