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

@@ -69,7 +69,8 @@
"end": {
"line": 1,
"column": 7
}
},
"identifierName": "obj"
},
"name": "obj"
},
@@ -117,7 +118,8 @@
"end": {
"line": 2,
"column": 8
}
},
"identifierName": "method"
},
"name": "method"
},
@@ -125,6 +127,7 @@
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
@@ -138,7 +141,8 @@
"end": {
"line": 2,
"column": 17
}
},
"identifierName": "x"
},
"name": "x",
"decorators": [
@@ -182,7 +186,8 @@
"end": {
"line": 2,
"column": 13
}
},
"identifierName": "foo"
},
"name": "foo"
},
@@ -203,7 +208,8 @@
"end": {
"line": 2,
"column": 44
}
},
"identifierName": "y"
},
"name": "y",
"decorators": [
@@ -247,7 +253,8 @@
"end": {
"line": 2,
"column": 23
}
},
"identifierName": "bar"
},
"name": "bar"
},
@@ -296,7 +303,8 @@
"end": {
"line": 2,
"column": 27
}
},
"identifierName": "a"
},
"name": "a"
},
@@ -366,7 +374,8 @@
"end": {
"line": 2,
"column": 40
}
},
"identifierName": "baz"
},
"name": "baz"
},