mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 20:06:21 +00:00
tests: Add test for valid_tls_policy_option()
See last commit with comment regarding cons_show(). In this test here we can see that if we pass NULL cons_show() isn't called. Making it a bit different that other invalid test cases.
This commit is contained in:
@@ -102,7 +102,7 @@ main(int argc, char* argv[])
|
||||
cmocka_unit_test(test_strtoi_range_null_empty_input),
|
||||
cmocka_unit_test(test_strtoi_range_null_err_msg),
|
||||
cmocka_unit_test(test_string_matches_one_of_edge_cases),
|
||||
|
||||
cmocka_unit_test(test_valid_tls_policy_option),
|
||||
cmocka_unit_test(clear_empty),
|
||||
cmocka_unit_test(reset_after_create),
|
||||
cmocka_unit_test(find_after_create),
|
||||
|
||||
Reference in New Issue
Block a user