(code: str, path: str = "test.h")
| 8 | |
| 9 | |
| 10 | def _make_content(code: str, path: str = "test.h") -> FileContent: |
| 11 | lines = code.splitlines() |
| 12 | return FileContent(path=path, content=code, lines=lines) |
| 13 | |
| 14 | |
| 15 | def _get_violations(code: str, path: str = "test.h") -> list[tuple[int, str]]: |
no test coverage detected