From 0b36208fd88e284592bb78d5b7c41226d6576e00 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 24 Aug 2017 15:34:34 -0400 Subject: apply ahf's test_assert_zero.cocci --- src/test/test_dir_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/test_dir_common.c') 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)); -- cgit v1.2.3-54-g00ecf