Skip to content

Commit 0152e23

Browse files
author
Nathan Hawes
committed
[incrParse] Fix expected syntax tree json to account for added comment
1 parent 8baba29 commit 0152e23

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/incrParse/Outputs/extend-identifier-at-eof.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@
3232
"kind": "kw__"
3333
},
3434
"leadingTrivia": [
35+
{
36+
"kind": "Newline",
37+
"value": 1
38+
},
39+
{
40+
"kind": "LineComment",
41+
"value": "\/\/ ATTENTION: This file is testing the EOF token. "
42+
},
43+
{
44+
"kind": "Newline",
45+
"value": 1
46+
},
47+
{
48+
"kind": "LineComment",
49+
"value": "\/\/ DO NOT PUT ANYTHING AFTER THE CHANGE, NOT EVEN A NEWLINE"
50+
},
3551
{
3652
"kind": "Newline",
3753
"value": 1

0 commit comments

Comments
 (0)