mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
增加设置验证码大小和针对alias注释
This commit is contained in:
@@ -352,4 +352,11 @@ public class JSONUtilTest {
|
||||
final String jsonStr = JSONUtil.toJsonStr(true);
|
||||
Assertions.assertEquals("true", jsonStr);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void issue3540Test() {
|
||||
final Long userId=10101010L;
|
||||
final String jsonStr = JSONUtil.toJsonStr(userId);
|
||||
Assertions.assertEquals("10101010", jsonStr);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user