Check if a node has is_test:true in its properties JSON. */
| 45 | |
| 46 | /* Check if a node has is_test:true in its properties JSON. */ |
| 47 | static bool node_is_test(const cbm_gbuf_node_t *n) { |
| 48 | if (!n || !n->properties_json) { |
| 49 | return false; |
| 50 | } |
| 51 | return strstr(n->properties_json, "\"is_test\":true") != NULL; |
| 52 | } |
| 53 | |
| 54 | /* Helper to check suffix. */ |
| 55 | static bool str_ends_with(const char *s, size_t slen, const char *suffix) { |
no outgoing calls
no test coverage detected