Skip to content

Commit

Permalink
resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurozbekuk committed Jan 11, 2025
1 parent 150d438 commit 27a2fee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solutions/tests/test_longest_word.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def test_sentence_with_punctuation(self):
Test case for sentences containing punctuation.
The function should return the longest word, ignoring punctuation.
"""
result = longest_word("Hello, world!")
self.assertEqual(result, "world")
result = longest_word("Hello, worlds!")
self.assertEqual(result, "worlds")

def test_non_string_input(self):
"""
Expand Down

0 comments on commit 27a2fee

Please sign in to comment.