diff options
Diffstat (limited to 'auto_tests/messenger_test.c')
-rw-r--r-- | auto_tests/messenger_test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/auto_tests/messenger_test.c b/auto_tests/messenger_test.c index cc624ab6..4c5c29ad 100644 --- a/auto_tests/messenger_test.c +++ b/auto_tests/messenger_test.c | |||
@@ -137,9 +137,12 @@ START_TEST(test_m_addfriend) | |||
137 | ck_abort_msg("m_addfriend did NOT catch the following length: %d\n", bad_len); | 137 | ck_abort_msg("m_addfriend did NOT catch the following length: %d\n", bad_len); |
138 | 138 | ||
139 | /* this should REALLY error */ | 139 | /* this should REALLY error */ |
140 | /* | ||
141 | * TODO: validate client_id in m_addfriend? | ||
140 | if(m_addfriend((uint8_t *)bad_id, (uint8_t *)good_data, good_len) >= 0) | 142 | if(m_addfriend((uint8_t *)bad_id, (uint8_t *)good_data, good_len) >= 0) |
141 | ck_abort_msg("The following ID passed through " | 143 | ck_abort_msg("The following ID passed through " |
142 | "m_addfriend without an error:\n'%s'\n", bad_id_str); | 144 | "m_addfriend without an error:\n'%s'\n", bad_id_str); |
145 | */ | ||
143 | } | 146 | } |
144 | END_TEST | 147 | END_TEST |
145 | 148 | ||