]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix the expected bug warning in dir/param_voting_lookup tests
authorNick Mathewson <nickm@torproject.org>
Fri, 7 Jul 2017 17:06:02 +0000 (13:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 7 Jul 2017 17:06:02 +0000 (13:06 -0400)
src/test/test_dir.c

index a9d9cba7df16439512922e1da55911bc69af4160..847779a242043ca5204a7ce99a651c2f4600b272 100644 (file)
@@ -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,