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

@@ -54,12 +54,14 @@
"end": {
"line": 1,
"column": 13
}
},
"identifierName": "func"
},
"name": "func"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
@@ -73,7 +75,8 @@
"end": {
"line": 1,
"column": 22
}
},
"identifierName": "x"
},
"name": "x",
"decorators": [
@@ -117,7 +120,8 @@
"end": {
"line": 1,
"column": 18
}
},
"identifierName": "foo"
},
"name": "foo"
},
@@ -138,7 +142,8 @@
"end": {
"line": 1,
"column": 49
}
},
"identifierName": "y"
},
"name": "y",
"decorators": [
@@ -182,7 +187,8 @@
"end": {
"line": 1,
"column": 28
}
},
"identifierName": "bar"
},
"name": "bar"
},
@@ -231,7 +237,8 @@
"end": {
"line": 1,
"column": 32
}
},
"identifierName": "a"
},
"name": "a"
},
@@ -301,7 +308,8 @@
"end": {
"line": 1,
"column": 45
}
},
"identifierName": "baz"
},
"name": "baz"
},