Erase comment start positions from snapshot tests (#6178)
Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
		| @ -18,10 +18,10 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|             "type": "Identifier" | ||||
|           }, | ||||
|           "init": { | ||||
|             "commentStart": 6, | ||||
|             "commentStart": 0, | ||||
|             "elements": [ | ||||
|               { | ||||
|                 "commentStart": 7, | ||||
|                 "commentStart": 0, | ||||
|                 "end": 0, | ||||
|                 "raw": "1", | ||||
|                 "start": 0, | ||||
| @ -33,7 +33,7 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|                 } | ||||
|               }, | ||||
|               { | ||||
|                 "commentStart": 10, | ||||
|                 "commentStart": 0, | ||||
|                 "end": 0, | ||||
|                 "raw": "2", | ||||
|                 "start": 0, | ||||
| @ -45,7 +45,7 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|                 } | ||||
|               }, | ||||
|               { | ||||
|                 "commentStart": 13, | ||||
|                 "commentStart": 0, | ||||
|                 "end": 0, | ||||
|                 "raw": "3", | ||||
|                 "start": 0, | ||||
| @ -72,12 +72,12 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|         "type": "VariableDeclaration" | ||||
|       }, | ||||
|       { | ||||
|         "commentStart": 16, | ||||
|         "commentStart": 0, | ||||
|         "declaration": { | ||||
|           "commentStart": 16, | ||||
|           "commentStart": 0, | ||||
|           "end": 0, | ||||
|           "id": { | ||||
|             "commentStart": 16, | ||||
|             "commentStart": 0, | ||||
|             "end": 0, | ||||
|             "name": "pushedArr", | ||||
|             "start": 0, | ||||
| @ -87,10 +87,10 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|             "arguments": [ | ||||
|               { | ||||
|                 "abs_path": false, | ||||
|                 "commentStart": 33, | ||||
|                 "commentStart": 0, | ||||
|                 "end": 0, | ||||
|                 "name": { | ||||
|                   "commentStart": 33, | ||||
|                   "commentStart": 0, | ||||
|                   "end": 0, | ||||
|                   "name": "arr", | ||||
|                   "start": 0, | ||||
| @ -102,7 +102,7 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|                 "type": "Name" | ||||
|               }, | ||||
|               { | ||||
|                 "commentStart": 38, | ||||
|                 "commentStart": 0, | ||||
|                 "end": 0, | ||||
|                 "raw": "4", | ||||
|                 "start": 0, | ||||
| @ -116,10 +116,10 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|             ], | ||||
|             "callee": { | ||||
|               "abs_path": false, | ||||
|               "commentStart": 28, | ||||
|               "commentStart": 0, | ||||
|               "end": 0, | ||||
|               "name": { | ||||
|                 "commentStart": 28, | ||||
|                 "commentStart": 0, | ||||
|                 "end": 0, | ||||
|                 "name": "push", | ||||
|                 "start": 0, | ||||
| @ -129,7 +129,7 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|               "start": 0, | ||||
|               "type": "Name" | ||||
|             }, | ||||
|             "commentStart": 28, | ||||
|             "commentStart": 0, | ||||
|             "end": 0, | ||||
|             "start": 0, | ||||
|             "type": "CallExpression", | ||||
| @ -145,23 +145,23 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|         "type": "VariableDeclaration" | ||||
|       }, | ||||
|       { | ||||
|         "commentStart": 41, | ||||
|         "commentStart": 0, | ||||
|         "declaration": { | ||||
|           "commentStart": 41, | ||||
|           "commentStart": 0, | ||||
|           "end": 0, | ||||
|           "id": { | ||||
|             "commentStart": 41, | ||||
|             "commentStart": 0, | ||||
|             "end": 0, | ||||
|             "name": "fail", | ||||
|             "start": 0, | ||||
|             "type": "Identifier" | ||||
|           }, | ||||
|           "init": { | ||||
|             "commentStart": 48, | ||||
|             "commentStart": 0, | ||||
|             "computed": false, | ||||
|             "end": 0, | ||||
|             "object": { | ||||
|               "commentStart": 48, | ||||
|               "commentStart": 0, | ||||
|               "end": 0, | ||||
|               "name": "arr", | ||||
|               "start": 0, | ||||
| @ -169,7 +169,7 @@ description: Result of parsing array_elem_push_fail.kcl | ||||
|               "type": "Identifier" | ||||
|             }, | ||||
|             "property": { | ||||
|               "commentStart": 52, | ||||
|               "commentStart": 0, | ||||
|               "end": 0, | ||||
|               "raw": "3", | ||||
|               "start": 0, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user