diff --git a/packages/svelte/tests/parser-modern/samples/comment-in-tag/output.json b/packages/svelte/tests/parser-modern/samples/comment-in-tag/output.json index ac8dd0bd2f..ec12b15619 100644 --- a/packages/svelte/tests/parser-modern/samples/comment-in-tag/output.json +++ b/packages/svelte/tests/parser-modern/samples/comment-in-tag/output.json @@ -77,24 +77,6 @@ "raw": "2", "data": "2" } - ], - "leadingComments": [ - { - "type": "Line", - "value": " this is a line comment", - "start": 20, - "end": 45, - "loc": { - "start": { - "line": 3, - "column": 1 - }, - "end": { - "line": 3, - "column": 26 - } - } - } ] }, { @@ -122,56 +104,6 @@ "raw": "3", "data": "3" } - ], - "leadingComments": [ - { - "type": "Block", - "value": " this is a\n\t\tm\n\t\tu\n\t\tl\n\t\tt\n\t\ti\n\t\tl\n\t\ti\n\t\tn\n\t\te\n\t\tcomment\n\t", - "start": 61, - "end": 123, - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 16, - "column": 3 - } - } - }, - { - "type": "Line", - "value": " oh look another line comment", - "start": 125, - "end": 156, - "loc": { - "start": { - "line": 17, - "column": 1 - }, - "end": { - "line": 17, - "column": 32 - } - } - }, - { - "type": "Line", - "value": " (two, in fact)", - "start": 158, - "end": 175, - "loc": { - "start": { - "line": 18, - "column": 1 - }, - "end": { - "line": 18, - "column": 18 - } - } - } ] } ], @@ -230,40 +162,6 @@ "raw": "1", "data": "1" } - ], - "leadingComments": [ - { - "type": "Block", - "value": " inline ", - "start": 207, - "end": 219, - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 18 - } - } - }, - { - "type": "Block", - "value": " another inline ", - "start": 220, - "end": 240, - "loc": { - "start": { - "line": 22, - "column": 19 - }, - "end": { - "line": 22, - "column": 39 - } - } - } ] } ],