Actions
Optimization #4066
closed
SB
JR
Add a PASS_IF_NULL macro to the FAIL/PASS API
Optimization #4066:
Add a PASS_IF_NULL macro to the FAIL/PASS API
Effort:
Difficulty:
Label:
Beginner, C, Outreachy
Description
src/util-unittests.h contains a few macro definitions that are being used in the new tests. There is PASS, PASS_IF for the success paths. Add a `PASS_IF_NULL` macro. Its function should be as the name suggests. It should pass if the value provided to it is NULL.
Actions