| 106 | }; |
| 107 | |
| 108 | static bool tis_same(const char *line, bool matched, cbm_ti_span_t span, const char *expected) { |
| 109 | if (!*expected) { |
| 110 | return !matched; |
| 111 | } |
| 112 | return matched && span.len == strlen(expected) && |
| 113 | memcmp(line + span.start, expected, span.len) == 0; |
| 114 | } |
| 115 | |
| 116 | /* Every pattern gives on every line what the reference expression gives. */ |
| 117 | TEST(test_impact_source_line_patterns_match_the_reference) { |
no outgoing calls
no test coverage detected