Fix typo in test name

This commit is contained in:
Romain Vimont 2019-06-11 21:47:31 +02:00
parent 02f189b1de
commit 273cec8a92

View file

@ -10,7 +10,7 @@ public class StringUtilsTest {
@Test
@SuppressWarnings("checkstyle:MagicNumber")
public void testUtf8Trucate() {
public void testUtf8Truncate() {
String s = "aÉbÔc";
byte[] utf8 = s.getBytes(StandardCharsets.UTF_8);
Assert.assertEquals(7, utf8.length);