Fix typo in test name

master
Romain Vimont 7 years ago
parent 02f189b1de
commit 273cec8a92

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

Loading…
Cancel
Save