From a959d7cb98ed0e5b6e2fabf36301accd28f0641c Mon Sep 17 00:00:00 2001 From: rl1987 Date: Tue, 5 Mar 2019 17:58:31 +0200 Subject: Use tor_assertf{_nonfatal} in code --- src/test/test_bt_cl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/test_bt_cl.c') diff --git a/src/test/test_bt_cl.c b/src/test/test_bt_cl.c index 08b08ba423..b29c2c6cbc 100644 --- a/src/test/test_bt_cl.c +++ b/src/test/test_bt_cl.c @@ -46,7 +46,7 @@ crash(int x) *(volatile int *)0 = 0; #endif /* defined(__clang_analyzer__) || defined(__COVERITY__) */ } else if (crashtype == 1) { - tor_assert(1 == 0); + tor_assertf(1 == 0, "%d != %d", 1, 0); } else if (crashtype == -1) { ; } -- cgit v1.2.3-54-g00ecf