Resolve more BUG warnings in the unit tests

This commit is contained in:
Nick Mathewson
2016-09-08 14:39:20 -04:00
parent d0fe86f39e
commit b0a9e54705
8 changed files with 85 additions and 18 deletions
+2 -2
View File
@@ -530,8 +530,8 @@ test_vote(void *arg)
HEX_DIGEST_LEN);
tt_mem_op(digest, ==, our_commit->rsa_identity, sizeof(digest));
tt_str_op(smartlist_get(tokens, 4), OP_EQ, our_commit->encoded_commit);
tt_str_op(smartlist_get(tokens, 5), OP_EQ, our_commit->encoded_reveal);
tt_str_op(smartlist_get(tokens, 5), OP_EQ, our_commit->encoded_reveal)
;
/* Finally, does this vote line creates a valid commit object? */
smartlist_t *args = smartlist_new();
smartlist_add(args, smartlist_get(tokens, 1));