mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
add test
This commit is contained in:
parent
645ee387d3
commit
9c51a71e20
14
hutool-json/src/test/java/org/dromara/hutool/json/Issue3289Test.java
Executable file
14
hutool-json/src/test/java/org/dromara/hutool/json/Issue3289Test.java
Executable file
@ -0,0 +1,14 @@
|
||||
package org.dromara.hutool.json;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class Issue3289Test {
|
||||
@Test
|
||||
void parseTest() {
|
||||
Assertions.assertThrows(JSONException.class, () -> {
|
||||
final String s = "{\"G\":00,[,,[0E5,6E9,6E5,6E9,6E5,6E9,6E5,6E9,6E9,6E5,true,6E5,6E9,6E5,6E9,6956,EE,5E9,6E5,RE,6E9,6E9,6E5,6E9,6E5,6E9,6E5,6E9,6E5,6E962756779,4141697],]}";
|
||||
JSONUtil.parse(s);
|
||||
});
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user