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

@@ -83,7 +83,8 @@
"end": {
"line": 1,
"column": 6
}
},
"identifierName": "module"
},
"name": "module"
},
@@ -99,7 +100,8 @@
"end": {
"line": 1,
"column": 14
}
},
"identifierName": "exports"
},
"name": "exports"
},
@@ -122,6 +124,7 @@
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
@@ -135,7 +138,8 @@
"end": {
"line": 1,
"column": 33
}
},
"identifierName": "context"
},
"name": "context"
}
@@ -181,12 +185,14 @@
"end": {
"line": 3,
"column": 23
}
},
"identifierName": "isConstant"
},
"name": "isConstant"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
@@ -200,7 +206,8 @@
"end": {
"line": 3,
"column": 28
}
},
"identifierName": "node"
},
"name": "node"
}
@@ -260,7 +267,8 @@
"end": {
"line": 4,
"column": 20
}
},
"identifierName": "node"
},
"name": "node"
},
@@ -276,7 +284,8 @@
"end": {
"line": 4,
"column": 25
}
},
"identifierName": "type"
},
"name": "type"
},
@@ -338,7 +347,8 @@
"end": {
"line": 6,
"column": 33
}
},
"identifierName": "isConstant"
},
"name": "isConstant"
},
@@ -383,7 +393,8 @@
"end": {
"line": 6,
"column": 38
}
},
"identifierName": "node"
},
"name": "node"
},
@@ -399,7 +410,8 @@
"end": {
"line": 6,
"column": 50
}
},
"identifierName": "expressions"
},
"name": "expressions"
},
@@ -459,7 +471,8 @@
"end": {
"line": 6,
"column": 55
}
},
"identifierName": "node"
},
"name": "node"
},
@@ -475,7 +488,8 @@
"end": {
"line": 6,
"column": 67
}
},
"identifierName": "expressions"
},
"name": "expressions"
},
@@ -493,7 +507,8 @@
"end": {
"line": 6,
"column": 74
}
},
"identifierName": "length"
},
"name": "length"
},
@@ -631,4 +646,4 @@
}
}
]
}
}