aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-07 13:06:02 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-07 13:06:02 -0400
commit8e8abbbbee68aa4ee474ca573efc8abeafa22f23 (patch)
tree6d6ec79c9a6e0da93f3eeca746dda4ce669b8002 /src/test/test_dir.c
parenteb01f35149d9222922fee2bb51a6246d58f7d25f (diff)
downloadtor-8e8abbbbee68aa4ee474ca573efc8abeafa22f23.tar.gz
tor-8e8abbbbee68aa4ee474ca573efc8abeafa22f23.zip
Fix the expected bug warning in dir/param_voting_lookup tests
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index a9d9cba7df..847779a242 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -1785,7 +1785,7 @@ test_dir_param_voting_lookup(void *arg)
dirvote_get_intermediate_param_value(lst, "moomin", -100));
tt_int_op(smartlist_len(tor_get_captured_bug_log_()), OP_EQ, 1);
tt_str_op(smartlist_get(tor_get_captured_bug_log_(), 0), OP_EQ,
- "!(n_found > 1)");
+ "n_found == 0");
tor_end_capture_bugs_();
/* There is no 'fred=', so that is treated as not existing. */
tt_int_op(-100, OP_EQ,