File tree Expand file tree Collapse file tree 2 files changed +664
-558
lines changed
json-diff-test/src/main/resources Expand file tree Collapse file tree 2 files changed +664
-558
lines changed Original file line number Diff line number Diff line change 43224322 },
43234323 {
43244324 "caseName": "忽略根下的数组 后续改进【目前不支持】",
4325- "skip": true,
43264325 "actual": [
43274326 [
43284327 {
85898588 "ignorePath": [
85908589 "$[*][*]"
85918590 ]
8591+ },
8592+ "ret": {
8593+ "defectsList": [
8594+ {
8595+ "actual": "2",
8596+ "illustrate": "Only one set of keys exists expect('null'),actual('v')",
8597+ "travelPath": {
8598+ "abstractTravelPath": "$[*][*].a[*].v",
8599+ "actualTravelPath": "$[0][0].a[0].v",
8600+ "expectTravelPath": "$[0][0].a[0].null"
8601+ }
8602+ },
8603+ {
8604+ "actual": "12",
8605+ "illustrate": "Only one set of keys exists expect('null'),actual('a')",
8606+ "travelPath": {
8607+ "abstractTravelPath": "$[*][*].a[*].a",
8608+ "actualTravelPath": "$[0][0].a[1].a",
8609+ "expectTravelPath": "$[0][0].a[1].null"
8610+ }
8611+ }
8612+ ],
8613+ "match": false
85928614 }
85938615 },
85948616 {
91839205 "mapping": {
91849206 "a": "b"
91859207 }
9208+ },
9209+ "ret": {
9210+ "match": true
91869211 }
91879212 },
91889213 {
1040910434 "ignorePath": [
1041010435 "$[*].f"
1041110436 ]
10412- }
10437+ },
10438+ "ret": {}
1041310439 },
1041410440 {
1041510441 "caseName": "配置mapping和ignoreOrder和ignorePath 预期中存在实际没有得值e TODO",
You can’t perform that action at this time.
0 commit comments