Skip to content

Commit

Permalink
Update to title test
Browse files Browse the repository at this point in the history
Signed-off-by: William José Moreno Reyes <williamjmorenor@gmail.com>
  • Loading branch information
williamjmorenor committed Oct 26, 2019
1 parent e90061a commit a1d29fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ def test_is_title(self):
from num2words.base import Num2Word_Base
self.base = Num2Word_Base()
self.assertEqual(
self.base.title(9),
9
self.base.title("one"),
"one"
)
self.base.is_title = True
self.assertEqual(
self.base.title("ii"),
"Ii"
self.base.title("one"),
"One"
)

0 comments on commit a1d29fc

Please sign in to comment.