Skip to content

Commit

Permalink
fix:es_euphony
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Nov 12, 2024
1 parent b3454f4 commit f94a044
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unittests/test_euphony.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ def test_euphonic_conjunction_and(self):
self.assertEqual(result, "Manuel e Hilario")
result = _join_word_list_es(["mujer", "hijos"], "and")
self.assertEqual(result, "mujer e hijos")
result = _join_word_list_es(["mató", "hirió"], "and")
self.assertEqual(result, "mató e hirió")
result = _join_word_list_es(["geografía", "historia"], "and")
self.assertEqual(result, "geografía e historia")

def test_euphonic_conjunction_exceptionsa_and(self):
# When following word starts by (H)IA, (H)IE or (H)IO, then usual Y preposition is used
Expand Down

0 comments on commit f94a044

Please sign in to comment.