diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2019-03-05 17:58:31 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-03-29 14:25:59 -0400 |
commit | a959d7cb98ed0e5b6e2fabf36301accd28f0641c (patch) | |
tree | ffc500161fdebd187fac88694832386e6e61470c /src/test/test_bt_cl.c | |
parent | f66a17444e4a83e548985784956f321e9e1e1ab2 (diff) | |
download | tor-a959d7cb98ed0e5b6e2fabf36301accd28f0641c.tar.gz tor-a959d7cb98ed0e5b6e2fabf36301accd28f0641c.zip |
Use tor_assertf{_nonfatal} in code
Diffstat (limited to 'src/test/test_bt_cl.c')
-rw-r--r-- | src/test/test_bt_cl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { ; } |