Yago Bolivar commited on
Commit
462099b
·
1 Parent(s): f4e197f

feat: update text reversal test to include multi-word input

Browse files
Files changed (1) hide show
  1. tests/test_text_reversal_tool.py +1 -1
tests/test_text_reversal_tool.py CHANGED
@@ -2,7 +2,7 @@ import pytest
2
  from src.text_reversal_tool import reverse_text
3
 
4
  def test_reverse_text():
5
- assert reverse_text("hello") == "olleh"
6
  assert reverse_text("world") == "dlrow"
7
  assert reverse_text("") == ""
8
  assert reverse_text("madam") == "madam"
 
2
  from src.text_reversal_tool import reverse_text
3
 
4
  def test_reverse_text():
5
+ assert reverse_text("hello hi 12345") == "54321 ih olleh"
6
  assert reverse_text("world") == "dlrow"
7
  assert reverse_text("") == ""
8
  assert reverse_text("madam") == "madam"