mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Test two more base64cmp cases.
This commit is contained in:
@@ -409,6 +409,10 @@ test_consdiff_base64cmp(void *arg)
|
||||
tt_int_op(1, OP_EQ, strcmp("afoo", "Afoo"));
|
||||
tt_int_op(1, OP_EQ, base64cmp("afoo", "Afoo"));
|
||||
|
||||
/* Different lengths */
|
||||
tt_int_op(-1, OP_EQ, base64cmp("afoo", "afooo"));
|
||||
tt_int_op(1, OP_EQ, base64cmp("afooo", "afoo"));
|
||||
|
||||
done:
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user