Fix typo in test name
This commit is contained in:
parent
02f189b1de
commit
273cec8a92
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue