From f94a0445c08f49cf21ae11ee9afe247d9219841f Mon Sep 17 00:00:00 2001 From: miro Date: Tue, 12 Nov 2024 06:33:02 +0000 Subject: [PATCH] fix:es_euphony --- test/unittests/test_euphony.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/unittests/test_euphony.py b/test/unittests/test_euphony.py index f0e401d2..1dce2671 100644 --- a/test/unittests/test_euphony.py +++ b/test/unittests/test_euphony.py @@ -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