Skip to content

Commit d5e16ff

Browse files
committed
add testcase for alibaba#1074
1 parent 4c4fc7f commit d5e16ff

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.alibaba.json.bvt.bug;
2+
3+
import com.alibaba.fastjson.JSON;
4+
import junit.framework.TestCase;
5+
6+
/**
7+
* Created by wenshao on 16/03/2017.
8+
*/
9+
public class Issue1074 extends TestCase {
10+
public void test_for_issue() throws Exception {
11+
String json = "/*xxx*/{}";
12+
JSON.parseObject(json);
13+
}
14+
}

0 commit comments

Comments
 (0)