diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-12-18 13:24:23 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-12-18 13:24:23 -0500 |
commit | a6c9fcc486f3a635b711ab0bea21e0a7494621de (patch) | |
tree | bffbdef0c3400f51e3867f1c71d32605e2b8b1cf /src/test/test_nodelist.c | |
parent | c4fb7ad0348a190be8496b429aa96982f1b26917 (diff) | |
download | tor-a6c9fcc486f3a635b711ab0bea21e0a7494621de.tar.gz tor-a6c9fcc486f3a635b711ab0bea21e0a7494621de.zip |
Fix nodelist/node_is_dir test wrt 12538.
Diffstat (limited to 'src/test/test_nodelist.c')
-rw-r--r-- | src/test/test_nodelist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_nodelist.c b/src/test/test_nodelist.c index 0a4151ada1..b0cb87dc60 100644 --- a/src/test/test_nodelist.c +++ b/src/test/test_nodelist.c @@ -85,7 +85,7 @@ test_nodelist_node_is_dir(void *arg) rs.is_v2_dir = 0; rs.dir_port = 1; - tt_assert(node_is_dir(&node)); + tt_assert(! node_is_dir(&node)); node.rs = NULL; tt_assert(!node_is_dir(&node)); @@ -94,10 +94,10 @@ test_nodelist_node_is_dir(void *arg) tt_assert(node_is_dir(&node)); ri.supports_tunnelled_dir_requests = 0; ri.dir_port = 1; - tt_assert(node_is_dir(&node)); + tt_assert(! node_is_dir(&node)); - done: - return; + done: + return; } #define NODE(name, flags) \ |