mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Fix Hebrew support
- Correct gender of 1 and 2 (and 11 and 12) to match remainder of numbers - Fix spelling of 8 (and 18 and 80) - Add cases for thousands 3-9 and support in the logic - Fix placement of "and" conjunction to match Academy of Hebrew Language position - Add tests
This commit is contained in:
committed by
Ernesto Rodriguez Ortiz
parent
4f116228b5
commit
28c304c2f4
@@ -102,7 +102,7 @@ class CliTestCase(unittest.TestCase):
|
||||
)
|
||||
|
||||
def test_cli_with_lang_to(self):
|
||||
"""You should be able to specify a language
|
||||
"""You should be able to specify a language and currency
|
||||
"""
|
||||
output = self.cli.run_cmd(150.55, '--lang', 'es', '--to', 'currency')
|
||||
self.assertEqual(output.return_code, 0)
|
||||
|
||||
Reference in New Issue
Block a user