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:
7
test/fixtures/comments/basic/surrounding-while-loop-comments/expected.json
vendored
Executable file → Normal file
7
test/fixtures/comments/basic/surrounding-while-loop-comments/expected.json
vendored
Executable file → Normal file
@@ -54,12 +54,14 @@
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 10
|
||||
}
|
||||
},
|
||||
"identifierName": "f"
|
||||
},
|
||||
"name": "f"
|
||||
},
|
||||
"generator": false,
|
||||
"expression": false,
|
||||
"async": false,
|
||||
"params": [],
|
||||
"body": {
|
||||
"type": "BlockStatement",
|
||||
@@ -204,7 +206,8 @@
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 65
|
||||
}
|
||||
},
|
||||
"identifierName": "each"
|
||||
},
|
||||
"name": "each",
|
||||
"leadingComments": null
|
||||
|
||||
Reference in New Issue
Block a user