Skip to content

Commit 53e1ce2

Browse files
authored
Update test_search_engine.py
1 parent faab09d commit 53e1ce2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_search_engine.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ def test_search_absent_word_not_found(self, docs, word, res):
4545
"""
4646
Test that the search function returns an empty list for absent words.
4747
"""
48-
assert search(docs, word) == res, f"Expected [], but got {
48+
assert search(docs, word) == res, f"""Expected [], but got {
4949
search(docs, word)
50-
}"
50+
}"""
5151

5252
@pytest.mark.parametrize(
5353
'docs, word, res',
@@ -72,9 +72,9 @@ def test_search_empty_word(self, word):
7272
Test that the search function returns an empty list for empty
7373
or whitespace-only queries.
7474
"""
75-
assert search(docs, word) == [], f'Expected [], but got {
75+
assert search(docs, word) == [], f'''Expected [], but got {
7676
search(docs, word)
77-
}'
77+
}'''
7878

7979

8080
def test_search_word_with_punctuation(self):

0 commit comments

Comments
 (0)