]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
switch to assert
authorAlan T. DeKok <aland@freeradius.org>
Mon, 10 Jul 2023 20:39:01 +0000 (16:39 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 10 Jul 2023 20:39:01 +0000 (16:39 -0400)
src/lib/util/pair_tests.c

index 6a1d58533b4b530d2285b50525c1d25b572c77dc..5282884aa36317e39a7a22e2f8c00c10b388c496 100644 (file)
@@ -148,7 +148,7 @@ static void test_fr_pair_afrom_da_nested(void)
 
        TEST_CASE("Top list does have the tlv attribute");
        parent = fr_pair_find_by_da(&local_pairs, NULL, fr_dict_attr_test_tlv);
-       TEST_CHECK(parent != NULL);
+       TEST_ASSERT(parent != NULL);
 
        TEST_CASE("Parent list does have the tlv child attribute");
        TEST_CHECK(fr_pair_find_by_da(&parent->vp_group, NULL, fr_dict_attr_test_tlv_string) == vp);