Fix string termination in unit test
Add back the missing quote to properly close the triple-quoted string. The expected string now has the correct number of closing quotes: - One quote to close the inner string - Three quotes to close the triple-quoted string
This commit is contained in:
parent
96ee7e8d0c
commit
96afd3272e
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