mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 22:53:38 +00:00
VoiceData.Exception: use AssertionError instead of Exception to get the language in the JUnit results.
This commit is contained in:
@@ -137,7 +137,7 @@ public class TextToSpeechTest extends AndroidTestCase
|
||||
assertThat(mEngine.getLanguage().getCountry(), is(""));
|
||||
assertThat(mEngine.getLanguage().getVariant(), is(""));
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (AssertionError e)
|
||||
{
|
||||
throw new VoiceData.Exception(data, e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user