Skip to content

Commit 210a108

Browse files
uncle-lvwenshao
authored andcommitted
Remove unnecessary and potentially misleading comments
1 parent b101769 commit 210a108

File tree

1 file changed

+0
-2
lines changed
  • core/src/test/java/com/alibaba/fastjson2/issues_2200

1 file changed

+0
-2
lines changed

core/src/test/java/com/alibaba/fastjson2/issues_2200/Issue2227.kt

-2
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ class Issue2227 {
99
@Test
1010
fun testAssertJSONObjectWithVersion2() {
1111
val jsonObject = JSON.toJSON(OuterClass()) as JSONObject
12-
// 以下断言失败
1312
Assertions.assertTrue(jsonObject["nestedClass"] is JSONObject)
1413
}
1514

1615
@Test
1716
fun testAssertJSONObjectWithVersion1() {
1817
val jsonObject = com.alibaba.fastjson.JSON.toJSON(OuterClass()) as com.alibaba.fastjson.JSONObject
19-
// 以下断言成功
2018
Assertions.assertTrue(jsonObject["nestedClass"] is com.alibaba.fastjson.JSONObject)
2119
}
2220

0 commit comments

Comments
 (0)