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.
This commit is contained in:
parent
6b876d488c
commit
96ee7e8d0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue