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

@@ -84,7 +84,8 @@
"end": {
"line": 1,
"column": 2
}
},
"identifierName": "a"
},
"name": "a"
},
@@ -100,7 +101,8 @@
"end": {
"line": 1,
"column": 4
}
},
"identifierName": "a"
},
"name": "a"
},
@@ -131,7 +133,8 @@
"end": {
"line": 1,
"column": 10
}
},
"identifierName": "a"
},
"name": "a"
}

View File

@@ -112,7 +112,8 @@
"end": {
"line": 1,
"column": 5
}
},
"identifierName": "a"
},
"name": "a"
},

View File

@@ -84,7 +84,8 @@
"end": {
"line": 1,
"column": 2
}
},
"identifierName": "a"
},
"name": "a"
},
@@ -114,7 +115,8 @@
"end": {
"line": 1,
"column": 4
}
},
"identifierName": "b"
},
"name": "b"
},
@@ -180,7 +182,8 @@
"end": {
"line": 1,
"column": 9
}
},
"identifierName": "c"
},
"name": "c"
},
@@ -224,7 +227,8 @@
"end": {
"line": 1,
"column": 14
}
},
"identifierName": "a"
},
"name": "a"
},

View File

@@ -116,7 +116,8 @@
"end": {
"line": 1,
"column": 3
}
},
"identifierName": "a"
},
"name": "a"
},
@@ -146,7 +147,8 @@
"end": {
"line": 1,
"column": 3
}
},
"identifierName": "a"
},
"name": "a"
},
@@ -162,10 +164,14 @@
"end": {
"line": 1,
"column": 5
}
},
"identifierName": "b"
},
"name": "b"
}
},
"extra": {
"shorthand": true
}
}
]

View File

@@ -84,7 +84,8 @@
"end": {
"line": 1,
"column": 2
}
},
"identifierName": "a"
},
"name": "a"
}