From 17eb71dfa199ed403083b4a1a57e55553a86aaf8 Mon Sep 17 00:00:00 2001 From: RAJVARDHAN <95933896+vardhans07@users.noreply.github.com> Date: Sat, 19 Sep 2026 01:48:40 +0530 Subject: [PATCH] Update test_report_writer.py test(report): verify fenced code blocks are preserved during deduplication --- tests/test_report_writer.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/test_report_writer.py b/tests/test_report_writer.py index 25dd6a9d6..b3db43aca 100644 --- a/tests/test_report_writer.py +++ b/tests/test_report_writer.py @@ -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." )