| 1 | #include "test_test_impact_inventory_internal.h" |
| 2 | |
| 3 | static bool ni_path(cbm_inventory_path_t path, const char *expected) { |
| 4 | size_t length = strlen(expected); |
| 5 | return path.length == length && (length ? path.data && !memcmp(path.data, expected, length + 1) |
| 6 | : !path.data || !path.data[0]); |
| 7 | } |
| 8 | |
| 9 | static bool ni_default_file(const if_native *n, const cbm_inventory_filter_view_t *view, size_t i, |
| 10 | const char *path) { |
no outgoing calls
no test coverage detected