aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 9af2c97fc..70f25ed0e 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -634,6 +634,8 @@ test_dir_format()
/* puts(buf); */
test_assert(! router_get_dir_from_string_impl(buf, &dir2, pk1));
+ test_eq(2, dir2->n_routers);
+
if (pk1_str) free(pk1_str);
if (pk2_str) free(pk2_str);