-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.hb-spec.json
48 lines (48 loc) · 1.18 KB
/
example.hb-spec.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"$schema": "../schema/testcase.json",
"type": "success",
"description": "A basic example with one mustache",
"template": "Hello {{something}}",
"input": { "something": "world" },
"output": "Hello world",
"ast": {
"type": "Program",
"body": [
{
"type": "ContentStatement",
"value": "Hello ",
"original": "Hello ",
"loc": {
"start": { "line": 1, "column": 0 },
"end": { "line": 1, "column": 6 }
}
},
{
"type": "MustacheStatement",
"escaped": true,
"params": [],
"path": {
"type": "PathExpression",
"original": "something",
"data": false,
"depth": 0,
"parts": ["something"],
"loc": {
"start": { "line": 1, "column": 8 },
"end": { "line": 1, "column": 17 }
}
},
"strip": { "open": false, "close": false },
"loc": {
"start": { "line": 1, "column": 6 },
"end": { "line": 1, "column": 19 }
}
}
],
"strip": {},
"loc": {
"start": { "line": 1, "column": 0 },
"end": { "line": 1, "column": 19 }
}
}
}