Andy 0545173f66 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
2017-03-19 22:03:11 +01:00

151 lines
3.2 KiB
JSON

{
"type": "File",
"start": 0,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 34
}
},
"program": {
"type": "Program",
"start": 0,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 34
}
},
"sourceType": "script",
"body": [
{
"type": "VariableDeclaration",
"start": 0,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 14
}
},
"id": {
"type": "Identifier",
"start": 4,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 14
},
"identifierName": "implements"
},
"name": "implements"
},
"init": null
},
{
"type": "VariableDeclarator",
"start": 16,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 16,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 25
},
"identifierName": "interface"
},
"name": "interface"
},
"init": null
},
{
"type": "VariableDeclarator",
"start": 27,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 27,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 34
},
"identifierName": "package"
},
"name": "package"
},
"init": null
}
],
"kind": "var"
}
],
"directives": []
}
}