Update test_report_writer.py

test(report): verify fenced code blocks are preserved during deduplication
This commit is contained in:
RAJVARDHAN 2026-09-19 01:48:40 +05:30 • committed by GitHub
parent e7006390a5
commit 17eb71dfa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -246,6 +246,11 @@ def test_deduplicate_markdown_headings() -> None:
"# Executive Summary\n"
"# Executive Summary\n"
"This is the summary content.\n\n"
"```bash\n"
"# bash comment inside fence\n"
"# bash comment inside fence\n"
"echo test\n"
"```\n\n"
"## Methodology\n"
"## Methodology\n"
"Testing approach details."
@ -253,6 +258,11 @@ def test_deduplicate_markdown_headings() -> None:
expected = (
"# Executive Summary\n"
"This is the summary content.\n\n"
"```bash\n"
"# bash comment inside fence\n"
"# bash comment inside fence\n"
"echo test\n"
"```\n\n"
"## Methodology\n"
"Testing approach details."
)