summaryrefslogtreecommitdiff
path: root/src/test/test_nodelist.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-01-20 13:42:13 +1000
committerteor <teor@torproject.org>2020-01-20 15:51:30 +1000
commitaf30be9515931d3eafbd6efc8e2caf1122ad6bec (patch)
treec8a4e09d948071604bdae935cb790b2013617148 /src/test/test_nodelist.c
parent3851128e886906aee5afa790c96f5b7dc2940454 (diff)
downloadtor-af30be9515931d3eafbd6efc8e2caf1122ad6bec.tar.gz
tor-af30be9515931d3eafbd6efc8e2caf1122ad6bec.zip
test/nodelist: Remove ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD
When we removed obsolete consensus methods in 32695, we also removed ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD, so we need to remove it from the routerstatus format tests. Part of 20218.
Diffstat (limited to 'src/test/test_nodelist.c')
-rw-r--r--src/test/test_nodelist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/test_nodelist.c b/src/test/test_nodelist.c
index 388cd74f3b..fbbbf0a99f 100644
--- a/src/test/test_nodelist.c
+++ b/src/test/test_nodelist.c
@@ -1272,10 +1272,8 @@ test_nodelist_routerstatus_has_visibly_changed(void *arg)
tor_free(fmt); \
fmt_orig = routerstatus_format_entry(&rs_orig, NULL, NULL, \
NS_CONTROL_PORT, \
- ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD, \
NULL); \
fmt = routerstatus_format_entry(&rs, NULL, NULL, NS_CONTROL_PORT, \
- ROUTERSTATUS_FORMAT_NO_CONSENSUS_METHOD, \
NULL); \
tt_assert(fmt_orig); \
tt_assert(fmt); \