Skip to content

Commit

Permalink
add testcase for #1074
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Mar 16, 2017
1 parent 80fd576 commit 3203f0d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/test/java/com/alibaba/json/bvt/bug/Issue1074.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.alibaba.json.bvt.bug;

import com.alibaba.fastjson.JSON;
import junit.framework.TestCase;

/**
* Created by wenshao on 16/03/2017.
*/
public class Issue1074 extends TestCase {
public void test_for_issue() throws Exception {
String json = "/*xxx*/{}";
JSON.parseObject(json);
}
}

0 comments on commit 3203f0d

Please sign in to comment.