tests: Add tests for string_matches_one_of()

Writing this test I'm unsure whether a function like
string_matches_one_of() should actually call cons_show().
Let's just note that for later.
This commit is contained in:
Michael Vetter
2026-02-24 20:00:57 +01:00
parent a7be9f1280
commit b7d53adba6
3 changed files with 60 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ main(int argc, char* argv[])
cmocka_unit_test(test_strtoi_range_invalid_input),
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(clear_empty),
cmocka_unit_test(reset_after_create),