Test runner: Detect extra property in 'actual' but not in 'expected'. (#407)

* Test runner: Detect extra property in 'actual' but not in 'expected'.

Also update all expected.json where this would result in errors.

* Include rmExpected.js script in case it is needed again
This commit is contained in:
Andy
2017-03-19 14:03:11 -07:00
committed by Daniel Tschinder
parent 82b7872cb8
commit 0545173f66
1379 changed files with 12566 additions and 11513 deletions

View File

@@ -54,12 +54,14 @@
"end": {
"line": 1,
"column": 20
}
},
"identifierName": "Dictionary"
},
"name": "Dictionary"
},
"typeParameters": null,
"extends": [],
"mixins": [],
"body": {
"type": "ObjectTypeAnnotation",
"start": 21,
@@ -102,7 +104,8 @@
"end": {
"line": 1,
"column": 54
}
},
"identifierName": "length"
},
"name": "length"
},
@@ -122,6 +125,7 @@
}
},
"optional": false,
"static": false,
"variance": null
}
],
@@ -140,6 +144,7 @@
"column": 46
}
},
"static": false,
"id": {
"type": "Identifier",
"start": 24,
@@ -152,7 +157,8 @@
"end": {
"line": 1,
"column": 29
}
},
"identifierName": "index"
},
"name": "index"
},
@@ -188,10 +194,11 @@
},
"variance": null
}
]
],
"exact": false
}
}
]
},
"comments": []
}
],
"directives": []
}
}