mirror of
https://gitee.com/dromara/hutool.git
synced 2025-07-19 07:44:49 +08:00
add test
This commit is contained in:
parent
38911594c8
commit
06c0544c11
@ -0,0 +1,13 @@
|
||||
package org.dromara.hutool.json;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class IssueIAP4GMTest {
|
||||
@Test
|
||||
void parse() {
|
||||
final String res = "{\"uid\":\"asdf\\n\"}";
|
||||
final JSONObject entries = JSONUtil.parseObj(res);
|
||||
Assertions.assertEquals("asdf\n", entries.getStr("uid"));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user