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": 47,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 47
}
},
"program": {
"type": "Program",
"start": 0,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 47
}
},
"sourceType": "script",
"body": [
{
"type": "LabeledStatement",
"start": 0,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 47
}
},
"body": {
"type": "WhileStatement",
"start": 11,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 11
},
"end": {
"line": 1,
"column": 47
}
},
"test": {
"type": "BooleanLiteral",
"start": 18,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 22
}
},
"value": true
},
"body": {
"type": "BlockStatement",
"start": 24,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 47
}
},
"body": [
{
"type": "ContinueStatement",
"start": 26,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 45
}
},
"label": {
"type": "Identifier",
"start": 35,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 44
},
"identifierName": "__proto__"
},
"name": "__proto__"
}
}
],
"directives": []
}
},
"label": {
"type": "Identifier",
"start": 0,
"end": 9,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 9
},
"identifierName": "__proto__"
},
"name": "__proto__"
}
}
],
"directives": []
}
}