From 7c507a1f7f58adb48be887cd26686190c3b22cfd Mon Sep 17 00:00:00 2001 From: George Kadianakis Date: Thu, 3 Aug 2017 15:47:06 +0300 Subject: Relax assertions: turn them to BUGs and non-fatal asserts. --- src/test/test_hs_service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/test_hs_service.c b/src/test/test_hs_service.c index 6d5ea7ed7d..2ad8393e84 100644 --- a/src/test/test_hs_service.c +++ b/src/test/test_hs_service.c @@ -540,7 +540,7 @@ test_helper_functions(void *arg) /* Testing get_node_from_intro_point() */ { const node_t *node = get_node_from_intro_point(ip); - tt_assert(node == &mock_node); + tt_ptr_op(node, OP_EQ, &mock_node); SMARTLIST_FOREACH_BEGIN(ip->base.link_specifiers, hs_desc_link_specifier_t *, ls) { if (ls->type == LS_LEGACY_ID) { -- cgit v1.2.3-54-g00ecf