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

147 lines
3.1 KiB
JSON

{
"type": "File",
"start": 0,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 36
}
},
"program": {
"type": "Program",
"start": 0,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 36
}
},
"sourceType": "script",
"body": [
{
"type": "LabeledStatement",
"start": 0,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 36
}
},
"body": {
"type": "WhileStatement",
"start": 6,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 36
}
},
"test": {
"type": "BooleanLiteral",
"start": 13,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 13
},
"end": {
"line": 1,
"column": 17
}
},
"value": true
},
"body": {
"type": "BlockStatement",
"start": 19,
"end": 36,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 36
}
},
"body": [
{
"type": "ContinueStatement",
"start": 21,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 34
}
},
"label": {
"type": "Identifier",
"start": 30,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 34
},
"identifierName": "done"
},
"name": "done"
}
}
],
"directives": []
}
},
"label": {
"type": "Identifier",
"start": 0,
"end": 4,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 4
},
"identifierName": "done"
},
"name": "done"
}
}
],
"directives": []
}
}