mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-11 08:30:31 +00:00
VoiceData.Exception: use AssertionError instead of Exception to get the language in the JUnit results.
This commit is contained in:
@@ -154,7 +154,7 @@ public class SpeechSynthesisTest extends AndroidTestCase
|
||||
assertThat(voice.locale.getVariant(), is(data.variant));
|
||||
assertThat(voice.toString(), is(data.name));
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (AssertionError e)
|
||||
{
|
||||
throw new VoiceData.Exception(data, e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user