Skip to content

Commit d08e557

Browse files
committed
fix-test(array): 修复用例
修复用例
1 parent 1f519d0 commit d08e557

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

json-diff-test/src/main/resources/array/MultArrays.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9783,21 +9783,7 @@
97839783
"b": "a"
97849784
}
97859785
},
9786-
"ret": {
9787-
"defectsList":[
9788-
{
9789-
"actual":2,
9790-
"expect":1,
9791-
"illustrate":"The expect('2') data is inconsistent with the actual('1') data",
9792-
"travelPath":{
9793-
"abstractTravelPath":"root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].b.b",
9794-
"actualTravelPath":"root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].b.a",
9795-
"expectTravelPath":"root[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][].b.b"
9796-
}
9797-
}
9798-
],
9799-
"match":false
9800-
}
9786+
"ret": {"match":true}
98019787
},
98029788
{
98039789
"caseName": "数组对象中key不一致对应 TODO",
@@ -9821,6 +9807,21 @@
98219807
"mapping": {
98229808
"b": "a"
98239809
}
9810+
},
9811+
"ret" : {
9812+
"defectsList": [
9813+
{
9814+
"actual": 2,
9815+
"expect": 3,
9816+
"illustrate": "The expect('3') data is inconsistent with the actual('2') data",
9817+
"travelPath": {
9818+
"abstractTravelPath": "root[].a",
9819+
"actualTravelPath": "root[1].b",
9820+
"expectTravelPath": "root[1].a"
9821+
}
9822+
}
9823+
],
9824+
"match": false
98249825
}
98259826
},
98269827
{

0 commit comments

Comments
 (0)