From 96ee7e8d0c4c035f83fb0a1f26e3886b0096a0d7 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Sun, 10 Aug 2025 21:15:03 -0400 Subject: [PATCH] Fix escaped quote in unit test expected string Remove stray backslash from expected multiline string in test_find_most_recent_code_block. The expected string now correctly matches the extracted code block content: - def test_function(): - return "Hello, World\!" This fixes the test assertion to match the actual extracted content exactly. --- tests/unit/test_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_app.py b/tests/unit/test_app.py index bdaed79..9beccfa 100644 --- a/tests/unit/test_app.py +++ b/tests/unit/test_app.py @@ -520,7 +520,7 @@ And some more text after. result = "\n".join(code_block_lines) expected = """def test_function(): - return "Hello, World!\"""" + return "Hello, World!"""" self.assertEqual(result, expected)