Skip to content

Commit d7a8213

Browse files
authored
Update edge case handling in thai_word_tone_detector
1 parent 55f52e9 commit d7a8213

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/compact/testc_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ def test_thai_word_tone_detector(self):
3333
thai_word_tone_detector("ราคา"), [("รา", "m"), ("คา", "m")]
3434
)
3535
# Edge cases: None and empty string
36-
self.assertEqual(thai_word_tone_detector(None), [("", "")])
37-
self.assertEqual(thai_word_tone_detector(""), [("", "")])
36+
self.assertEqual(thai_word_tone_detector(None), [])
37+
self.assertEqual(thai_word_tone_detector(""), [])

0 commit comments

Comments
 (0)