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": 10
}
},
"identifierName": "func"
},
"name": "func"
},
@@ -90,6 +91,7 @@
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
@@ -103,7 +105,8 @@
"end": {
"line": 1,
"column": 31
}
},
"identifierName": "x"
},
"name": "x",
"decorators": [
@@ -147,7 +150,8 @@
"end": {
"line": 1,
"column": 27
}
},
"identifierName": "foo"
},
"name": "foo"
},
@@ -168,7 +172,8 @@
"end": {
"line": 1,
"column": 58
}
},
"identifierName": "y"
},
"name": "y",
"decorators": [
@@ -212,7 +217,8 @@
"end": {
"line": 1,
"column": 37
}
},
"identifierName": "bar"
},
"name": "bar"
},
@@ -261,7 +267,8 @@
"end": {
"line": 1,
"column": 41
}
},
"identifierName": "a"
},
"name": "a"
},
@@ -331,7 +338,8 @@
"end": {
"line": 1,
"column": 54
}
},
"identifierName": "baz"
},
"name": "baz"
},