Erase comment start positions from snapshot tests (#6178)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-07 17:42:15 +12:00
committed by GitHub
parent e7b23e1638
commit e6ae89ebf9
145 changed files with 41979 additions and 41979 deletions

View File

@ -18,10 +18,10 @@ description: Result of parsing array_elem_push.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.kcl
}
},
{
"commentStart": 10,
"commentStart": 0,
"end": 0,
"raw": "2",
"start": 0,
@ -45,7 +45,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 13,
"commentStart": 0,
"end": 0,
"raw": "3",
"start": 0,
@ -72,12 +72,12 @@ description: Result of parsing array_elem_push.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 16,
"commentStart": 0,
"declaration": {
"commentStart": 16,
"commentStart": 0,
"end": 0,
"id": {
"commentStart": 16,
"commentStart": 0,
"end": 0,
"name": "new_arr1",
"start": 0,
@ -87,10 +87,10 @@ description: Result of parsing array_elem_push.kcl
"arguments": [
{
"abs_path": false,
"commentStart": 32,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 32,
"commentStart": 0,
"end": 0,
"name": "arr",
"start": 0,
@ -102,7 +102,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Name"
},
{
"commentStart": 37,
"commentStart": 0,
"end": 0,
"raw": "4",
"start": 0,
@ -116,10 +116,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 27,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 27,
"commentStart": 0,
"end": 0,
"name": "push",
"start": 0,
@ -129,7 +129,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 27,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -145,12 +145,12 @@ description: Result of parsing array_elem_push.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 40,
"commentStart": 0,
"declaration": {
"commentStart": 40,
"commentStart": 0,
"end": 0,
"id": {
"commentStart": 40,
"commentStart": 0,
"end": 0,
"name": "new_arr2",
"start": 0,
@ -160,10 +160,10 @@ description: Result of parsing array_elem_push.kcl
"arguments": [
{
"abs_path": false,
"commentStart": 56,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 56,
"commentStart": 0,
"end": 0,
"name": "new_arr1",
"start": 0,
@ -175,7 +175,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Name"
},
{
"commentStart": 66,
"commentStart": 0,
"end": 0,
"raw": "5",
"start": 0,
@ -189,10 +189,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 51,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 51,
"commentStart": 0,
"end": 0,
"name": "push",
"start": 0,
@ -202,7 +202,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 51,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -218,16 +218,16 @@ description: Result of parsing array_elem_push.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 69,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 81,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 81,
"commentStart": 0,
"end": 0,
"name": "new_arr1",
"start": 0,
@ -235,7 +235,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 90,
"commentStart": 0,
"end": 0,
"raw": "0",
"start": 0,
@ -251,7 +251,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 94,
"commentStart": 0,
"end": 0,
"raw": "1",
"start": 0,
@ -263,7 +263,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 97,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -275,7 +275,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 106,
"commentStart": 0,
"end": 0,
"raw": "\"element 0 should not have changed\"",
"start": 0,
@ -286,10 +286,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 69,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 69,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -299,7 +299,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 69,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -310,16 +310,16 @@ description: Result of parsing array_elem_push.kcl
"type": "ExpressionStatement"
},
{
"commentStart": 143,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 155,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 155,
"commentStart": 0,
"end": 0,
"name": "new_arr1",
"start": 0,
@ -327,7 +327,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 164,
"commentStart": 0,
"end": 0,
"raw": "1",
"start": 0,
@ -343,7 +343,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 168,
"commentStart": 0,
"end": 0,
"raw": "2",
"start": 0,
@ -355,7 +355,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 171,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -367,7 +367,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 180,
"commentStart": 0,
"end": 0,
"raw": "\"element 1 should not have changed\"",
"start": 0,
@ -378,10 +378,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 143,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 143,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -391,7 +391,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 143,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -402,16 +402,16 @@ description: Result of parsing array_elem_push.kcl
"type": "ExpressionStatement"
},
{
"commentStart": 217,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 229,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 229,
"commentStart": 0,
"end": 0,
"name": "new_arr1",
"start": 0,
@ -419,7 +419,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 238,
"commentStart": 0,
"end": 0,
"raw": "2",
"start": 0,
@ -435,7 +435,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 242,
"commentStart": 0,
"end": 0,
"raw": "3",
"start": 0,
@ -447,7 +447,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 245,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -459,7 +459,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 254,
"commentStart": 0,
"end": 0,
"raw": "\"element 2 should not have changed\"",
"start": 0,
@ -470,10 +470,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 217,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 217,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -483,7 +483,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 217,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -494,16 +494,16 @@ description: Result of parsing array_elem_push.kcl
"type": "ExpressionStatement"
},
{
"commentStart": 291,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 303,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 303,
"commentStart": 0,
"end": 0,
"name": "new_arr1",
"start": 0,
@ -511,7 +511,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 312,
"commentStart": 0,
"end": 0,
"raw": "3",
"start": 0,
@ -527,7 +527,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 316,
"commentStart": 0,
"end": 0,
"raw": "4",
"start": 0,
@ -539,7 +539,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 319,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -551,7 +551,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 328,
"commentStart": 0,
"end": 0,
"raw": "\"4 was added to the end of the array\"",
"start": 0,
@ -562,10 +562,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 291,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 291,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -575,7 +575,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 291,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -586,16 +586,16 @@ description: Result of parsing array_elem_push.kcl
"type": "ExpressionStatement"
},
{
"commentStart": 367,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 379,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 379,
"commentStart": 0,
"end": 0,
"name": "new_arr2",
"start": 0,
@ -603,7 +603,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 388,
"commentStart": 0,
"end": 0,
"raw": "0",
"start": 0,
@ -619,7 +619,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 392,
"commentStart": 0,
"end": 0,
"raw": "1",
"start": 0,
@ -631,7 +631,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 395,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -643,7 +643,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 404,
"commentStart": 0,
"end": 0,
"raw": "\"element 0 should not have changed\"",
"start": 0,
@ -654,10 +654,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 367,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 367,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -667,7 +667,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 367,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -678,16 +678,16 @@ description: Result of parsing array_elem_push.kcl
"type": "ExpressionStatement"
},
{
"commentStart": 441,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 453,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 453,
"commentStart": 0,
"end": 0,
"name": "new_arr2",
"start": 0,
@ -695,7 +695,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 462,
"commentStart": 0,
"end": 0,
"raw": "1",
"start": 0,
@ -711,7 +711,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 466,
"commentStart": 0,
"end": 0,
"raw": "2",
"start": 0,
@ -723,7 +723,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 469,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -735,7 +735,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 478,
"commentStart": 0,
"end": 0,
"raw": "\"element 1 should not have changed\"",
"start": 0,
@ -746,10 +746,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 441,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 441,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -759,7 +759,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 441,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -770,16 +770,16 @@ description: Result of parsing array_elem_push.kcl
"type": "ExpressionStatement"
},
{
"commentStart": 515,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 527,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 527,
"commentStart": 0,
"end": 0,
"name": "new_arr2",
"start": 0,
@ -787,7 +787,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 536,
"commentStart": 0,
"end": 0,
"raw": "2",
"start": 0,
@ -803,7 +803,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 540,
"commentStart": 0,
"end": 0,
"raw": "3",
"start": 0,
@ -815,7 +815,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 543,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -827,7 +827,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 552,
"commentStart": 0,
"end": 0,
"raw": "\"element 2 should not have changed\"",
"start": 0,
@ -838,10 +838,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 515,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 515,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -851,7 +851,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 515,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -862,16 +862,16 @@ description: Result of parsing array_elem_push.kcl
"type": "ExpressionStatement"
},
{
"commentStart": 589,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 601,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 601,
"commentStart": 0,
"end": 0,
"name": "new_arr2",
"start": 0,
@ -879,7 +879,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 610,
"commentStart": 0,
"end": 0,
"raw": "3",
"start": 0,
@ -895,7 +895,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 614,
"commentStart": 0,
"end": 0,
"raw": "4",
"start": 0,
@ -907,7 +907,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 617,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -919,7 +919,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 626,
"commentStart": 0,
"end": 0,
"raw": "\"4 was added to the end of the array\"",
"start": 0,
@ -930,10 +930,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 589,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 589,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -943,7 +943,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 589,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -954,16 +954,16 @@ description: Result of parsing array_elem_push.kcl
"type": "ExpressionStatement"
},
{
"commentStart": 665,
"commentStart": 0,
"end": 0,
"expression": {
"arguments": [
{
"commentStart": 677,
"commentStart": 0,
"computed": false,
"end": 0,
"object": {
"commentStart": 677,
"commentStart": 0,
"end": 0,
"name": "new_arr2",
"start": 0,
@ -971,7 +971,7 @@ description: Result of parsing array_elem_push.kcl
"type": "Identifier"
},
"property": {
"commentStart": 686,
"commentStart": 0,
"end": 0,
"raw": "4",
"start": 0,
@ -987,7 +987,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
},
{
"commentStart": 690,
"commentStart": 0,
"end": 0,
"raw": "5",
"start": 0,
@ -999,7 +999,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 693,
"commentStart": 0,
"end": 0,
"raw": "0.00001",
"start": 0,
@ -1011,7 +1011,7 @@ description: Result of parsing array_elem_push.kcl
}
},
{
"commentStart": 702,
"commentStart": 0,
"end": 0,
"raw": "\"5 was added to the end of the array\"",
"start": 0,
@ -1022,10 +1022,10 @@ description: Result of parsing array_elem_push.kcl
],
"callee": {
"abs_path": false,
"commentStart": 665,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 665,
"commentStart": 0,
"end": 0,
"name": "assertEqual",
"start": 0,
@ -1035,7 +1035,7 @@ description: Result of parsing array_elem_push.kcl
"start": 0,
"type": "Name"
},
"commentStart": 665,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",