Create a FileContent from a string.
(content: str, path: str = "src/fl/test.h")
| 23 | |
| 24 | |
| 25 | def _make(content: str, path: str = "src/fl/test.h") -> FileContent: |
| 26 | """Create a FileContent from a string.""" |
| 27 | return FileContent(path=path, content=content, lines=content.splitlines()) |
| 28 | |
| 29 | |
| 30 | # ============================================================================ |
no test coverage detected