Skip to content

Commit

Permalink
fixed testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Jul 31, 2016
1 parent 97af052 commit 20eaad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/alibaba/json/bvt/bug/Issue689.java
Expand Up @@ -12,7 +12,7 @@


public class Issue689 extends TestCase { public class Issue689 extends TestCase {
public void test_0() throws Exception { public void test_0() throws Exception {
Map<String, Object> map = Collections.singletonMap("value", "A B"); Map<String, ?> map = Collections.singletonMap("value", "A B");
String json = JSON.toJSONString(map); String json = JSON.toJSONString(map);
Assert.assertEquals("{\"value\":\"A\\u00A0B\"}", json); Assert.assertEquals("{\"value\":\"A\\u00A0B\"}", json);


Expand Down

0 comments on commit 20eaad5

Please sign in to comment.