diff --git a/marytts-common/src/test/java/marytts/modules/phonemiser/AllophoneSetTest.java b/marytts-common/src/test/java/marytts/modules/phonemiser/AllophoneSetTest.java index 6520f68d..3172b06f 100644 --- a/marytts-common/src/test/java/marytts/modules/phonemiser/AllophoneSetTest.java +++ b/marytts-common/src/test/java/marytts/modules/phonemiser/AllophoneSetTest.java @@ -177,4 +177,11 @@ public class AllophoneSetTest { // @formatter:on } + @Test(expectedExceptions = IllegalArgumentException.class) + public void testLegacySyllabifyWithoutNucleus() { + String actual = allophoneSet.syllabify("s1"); + String expected = "' s"; + Assert.assertEquals(actual, expected); + } + }