JPP: kaas talk fixed format unit test to use format with jvm guess tone
Some checks failed
Run test asserts / Test-Asserts (push) Failing after 45s
Some checks failed
Run test asserts / Test-Asserts (push) Failing after 45s
This commit is contained in:
parent
04d6d2e3b3
commit
3ff3676dc8
1 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ public class KaasTalkTextLocalizerTest {
|
|||
Assertions.assertThrows(NullPointerException.class, () -> {
|
||||
KaasTalkTextLocalizer.format(null);
|
||||
});
|
||||
Assertions.assertNotNull(KaasTalkTextLocalizer.formatToned(嘴ᗮᙿᗮ.English.class, ₜₓₜMissingAnnotationTest.class, "", ""));
|
||||
Assertions.assertNotNull(KaasTalkTextLocalizer.format(ₜₓₜMissingAnnotationTest.class, "", ""));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
@ -51,6 +51,7 @@ public class KaasTalkTextLocalizerTest {
|
|||
String res = KaasTalkTextLocalizer.formatToned(嘴ᗮᙿᗮ.English.class, ₜₓₜMissingAnnotationTest.class, "foo", "bar");
|
||||
Assertions.assertNotNull(res);
|
||||
Assertions.assertTrue(res.contains("required"));
|
||||
Assertions.assertTrue(res.contains("foo"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
@ -58,5 +59,6 @@ public class KaasTalkTextLocalizerTest {
|
|||
String res = KaasTalkTextLocalizer.formatToned(嘴ᗮᙿᗮ.China.class, ₜₓₜMissingAnnotationTest.class, "foo", "bar");
|
||||
Assertions.assertNotNull(res);
|
||||
Assertions.assertTrue(res.contains("必需"));
|
||||
Assertions.assertTrue(res.contains("bar"));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue