mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
fix test
This commit is contained in:
parent
d09f741318
commit
9a69843f5e
@ -673,8 +673,8 @@ public class StrUtilTest {
|
||||
@Test
|
||||
public void truncateUtf8Test2() {
|
||||
final String str = "这是This一";
|
||||
final String ret = StrUtil.truncateUtf8(str, 12);
|
||||
Assert.assertEquals("这是Thi...", ret);
|
||||
final String ret = StrUtil.truncateUtf8(str, 13);
|
||||
Assert.assertEquals("这是This一", ret);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user