Skip to content

Commit 58c508a

Browse files
committed
Add test case for thaiword_to_date() - without datetime argument
1 parent 474b958 commit 58c508a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,8 @@ def test_thaiword_to_date(self):
363363
now + timedelta(days=-2), thaiword_to_date("วานซืน", now)
364364
)
365365

366+
self.assertIsNotNone(thaiword_to_date("วันนี้")
367+
366368
# it's error if "พรุ่งนี้" is 1 not 32.
367369
#self.assertEqual(
368370
# thaiword_to_date("วันนี้").day + 1,

0 commit comments

Comments
 (0)