From b1754542fb1bcfbb5b073e4a118af582733c8485 Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Mon, 30 Apr 2018 07:06:56 +0100 Subject: [PATCH] Add a test case for espeak-ng issue #471. --- tests/translate.test | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/translate.test b/tests/translate.test index 96f32a75..28b96506 100755 --- a/tests/translate.test +++ b/tests/translate.test @@ -18,6 +18,10 @@ test_phonemes en " h@l'oU" "hello" # correct word stress test_phonemes en " s'VmTIN Imp'o@t@nt" "something important" +# A list entry that uses '$text' to map to another list entry crashes 1.49.2 multi-word support: +test_phonemes en " d'eIbju:tI2d" "débuted" +test_phonemes en-US " d'eIbju:t#I#d" "débuted" + # bug: https://github.com/nvaccess/nvda/issues/7740 test_phonemes ta " 'il." "ள்" test_phonemes my " kon'i" "7" @@ -38,10 +42,9 @@ test_phonemes ka " 'imedg,ats#ru,ebuli m'agram Sv'ebis g'amomx,atveli s'axe" " # TODO: Fix adjacent emoji without whitespace so the pronunciation is separated by a space. test_phonemes en " 'e@ri:zr'eInboU" "♈🌈" test_phonemes en " 'e@ri:z r'eInboU" "♈ 🌈" -# multi-word -test_phonemes en " Ekskla#m'eIS@n kw'EstS@n m'A@k" "⁉" +test_phonemes en " Ekskla#m'eIS@n kw'EstS@n m'A@k" "⁉" # multi-word test_phonemes en " Ekskla#m'eIS@n kw'EstS@n m'A@k r'eInboU" "⁉ 🌈" -# A list entry that uses '$text' to map to another list entry crashes 1.49.2 multi-word support: -test_phonemes en " d'eIbju:tI2d" "débuted" -test_phonemes en-US " d'eIbju:t#I#d" "débuted" +# bug: https://github.com/espeak-ng/espeak-ng/issues/471 +test_phonemes sk " sm'eju:tsa s'a tv'a:R" "☺" +test_phonemes sk " bl'ax sm'eju:tsa 'es,a: tv'a:R" "blah ☺"