diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-24 15:34:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-24 15:34:34 -0400 |
commit | 0b36208fd88e284592bb78d5b7c41226d6576e00 (patch) | |
tree | df80462197e8a8d3bfe2e45912272f7ecbb2126d /src/test/test_dir_common.c | |
parent | 067a4422fec371e1ef3a1b8d13d5da9a1e90c70b (diff) | |
download | tor-0b36208fd88e284592bb78d5b7c41226d6576e00.tar.gz tor-0b36208fd88e284592bb78d5b7c41226d6576e00.zip |
apply ahf's test_assert_zero.cocci
Diffstat (limited to 'src/test/test_dir_common.c')
-rw-r--r-- | src/test/test_dir_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_dir_common.c b/src/test/test_dir_common.c index fca70249bd..fdf43533a8 100644 --- a/src/test/test_dir_common.c +++ b/src/test/test_dir_common.c @@ -146,7 +146,7 @@ dir_common_gen_routerstatus_for_v3ns(int idx, time_t now) break; default: /* Shouldn't happen */ - tt_assert(0); + tt_abort(); } if (vrs) { vrs->microdesc = tor_malloc_zero(sizeof(vote_microdesc_hash_t)); |