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:
6
test/fixtures/comments/basic/switch-fallthrough-comment/expected.json
vendored
Executable file → Normal file
6
test/fixtures/comments/basic/switch-fallthrough-comment/expected.json
vendored
Executable file → Normal file
@@ -54,7 +54,8 @@
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 10
|
||||
}
|
||||
},
|
||||
"identifierName": "foo"
|
||||
},
|
||||
"name": "foo"
|
||||
},
|
||||
@@ -187,7 +188,8 @@
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 12
|
||||
}
|
||||
},
|
||||
"identifierName": "doIt"
|
||||
},
|
||||
"name": "doIt"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user