()
| 49 | |
| 50 | |
| 51 | def test_remove_source_noop_when_not_present(): |
| 52 | text = "---\nsources: [summaries/a.md]\n---\n\nbody\n" |
| 53 | rewritten, empty = _remove_source_from_frontmatter(text, "summaries/z.md") |
| 54 | assert rewritten == text |
| 55 | assert empty is False |
| 56 | |
| 57 | |
| 58 | def test_remove_source_noop_without_frontmatter(): |
nothing calls this directly
no test coverage detected