aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-01-10 10:20:39 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-06 15:34:06 -0500
commit6076adde256c7480b569f928c28d14ee637fbd6e (patch)
tree3b7c21356f3d48381fdb292737841fba4394a653 /src/test/test_dir.c
parentf39ba52029c946304cc5a67fa93ca9aab10b2941 (diff)
downloadtor-6076adde256c7480b569f928c28d14ee637fbd6e.tar.gz
tor-6076adde256c7480b569f928c28d14ee637fbd6e.zip
circuitbuild: expect bug message that clang-format will generate.
clang-format wants to put no space here, so we need to tell the test to expect a lack of a space.
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 3b2ba64d2c..dd07e30e41 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -3022,7 +3022,7 @@ test_dir_param_voting_lookup(void *arg)
dirvote_get_intermediate_param_value(lst, "jack", -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,
- "!(! ok)");
+ "!(!ok)");
tor_end_capture_bugs_();
/* electricity and opa aren't integers. */
tor_capture_bugs_(1);
@@ -3030,7 +3030,7 @@ test_dir_param_voting_lookup(void *arg)
dirvote_get_intermediate_param_value(lst, "electricity", -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,
- "!(! ok)");
+ "!(!ok)");
tor_end_capture_bugs_();
tor_capture_bugs_(1);
@@ -3038,7 +3038,7 @@ test_dir_param_voting_lookup(void *arg)
dirvote_get_intermediate_param_value(lst, "opa", -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,
- "!(! ok)");
+ "!(!ok)");
tor_end_capture_bugs_();
done: