update babylon fixtures to use File as the root node rather than Program
This commit is contained in:
101
test/fixtures/harmony/uncategorised/2/expected.json
vendored
101
test/fixtures/harmony/uncategorised/2/expected.json
vendored
@@ -1,35 +1,7 @@
|
||||
{
|
||||
"type": "Program",
|
||||
"body": [
|
||||
{
|
||||
"type": "ExpressionStatement",
|
||||
"expression": {
|
||||
"type": "Literal",
|
||||
"value": "𠮷野家",
|
||||
"raw": "\"\\u{20BB7}\\u{91CE}\\u{5BB6}\"",
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 27
|
||||
}
|
||||
}
|
||||
},
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 27
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": "File",
|
||||
"start": 0,
|
||||
"end": 27,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
@@ -39,5 +11,72 @@
|
||||
"line": 1,
|
||||
"column": 27
|
||||
}
|
||||
},
|
||||
"range": [
|
||||
0,
|
||||
27
|
||||
],
|
||||
"program": {
|
||||
"type": "Program",
|
||||
"start": 0,
|
||||
"end": 27,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 27
|
||||
}
|
||||
},
|
||||
"range": [
|
||||
0,
|
||||
27
|
||||
],
|
||||
"sourceType": "script",
|
||||
"body": [
|
||||
{
|
||||
"type": "ExpressionStatement",
|
||||
"start": 0,
|
||||
"end": 27,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 27
|
||||
}
|
||||
},
|
||||
"range": [
|
||||
0,
|
||||
27
|
||||
],
|
||||
"expression": {
|
||||
"type": "Literal",
|
||||
"start": 0,
|
||||
"end": 27,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 0
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 27
|
||||
}
|
||||
},
|
||||
"range": [
|
||||
0,
|
||||
27
|
||||
],
|
||||
"value": "𠮷野家",
|
||||
"rawValue": "𠮷野家",
|
||||
"raw": "\"\\u{20BB7}\\u{91CE}\\u{5BB6}\""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user