mirror of
https://github.com/usestrix/strix.git
synced 2026-11-18 09:42:48 +00:00
Update test_report_writer.py
test(report): verify fenced code blocks are preserved during deduplication
This commit is contained in:
parent
e7006390a5
commit
17eb71dfa1
1 changed files with 10 additions and 0 deletions
|
|
@ -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."
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue