mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -13,7 +13,7 @@ public class Md5Test {
|
||||
|
||||
@Test
|
||||
public void md5To16Test() {
|
||||
final String hex16 = new MD5().digestHex16("中国");
|
||||
final String hex16 = MD5.of().digestHex16("中国");
|
||||
Assertions.assertEquals(16, hex16.length());
|
||||
Assertions.assertEquals("cb143acd6c929826", hex16);
|
||||
}
|
||||
|
Reference in New Issue
Block a user