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

@@ -101,9 +101,11 @@
"end": {
"line": 3,
"column": 11
}
},
"identifierName": "spawn"
},
"name": "spawn"
"name": "spawn",
"leadingComments": null
},
"value": {
"type": "Identifier",
@@ -117,15 +119,18 @@
"end": {
"line": 3,
"column": 11
}
},
"identifierName": "spawn"
},
"name": "spawn"
},
"leadingComments": null,
"extra": {
"shorthand": true
}
}
]
],
"leadingComments": null
},
"init": {
"type": "Identifier",
@@ -139,10 +144,12 @@
"end": {
"line": 3,
"column": 17
}
},
"identifierName": "x"
},
"name": "x"
}
},
"leadingComments": null
}
],
"kind": "var",
@@ -186,4 +193,4 @@
}
}
]
}
}