...
1# TODO(fmt): first line in data.cue indented when it should not be: cuelang.org/issue/722
2
3-- schema.cue --
4a0: int
5a1: 1 | *2
6
7a2: string
8a3: "a" | *"b"
9
10a4: bytes
11a5: *'a' | 'b'
12
13a6: [...int]
14a7: *[0] | [...int]
15
16a8: bool
17a9: *true | false
18
19a10: null
20
21a11: null
22a12: null
23-- data.yaml --
24# comment a0
25a0: null
26
27# comment a1
28a1: null
29
30# comment a2
31a2: null
32
33# comment a3
34a3: null
35
36# comment a4
37a4: null
38
39# comment a5
40a5: null
41
42# comment a6
43a6: null
44
45# comment a7
46a7: null
47
48# comment a8
49a8: null
50
51# comment a9
52a9: null
53
54# comment a10
55a10: null
56
57-- data.cue --
58 // comment a0
59a0: null
60
61// comment a1
62a1: null
63
64// comment a2
65a2: null
66
67// comment a3
68a3: null
69
70// comment a4
71a4: null
72
73// comment a5
74a5: null
75
76// comment a6
77a6: null
78
79// comment a7
80a7: null
81
82// comment a8
83a8: null
84
85// comment a9
86a9: null
87
88// comment a10
89a10: null
90-- out/jsonpb/data.yaml --
91 // comment a0
92a0: 0
93
94// comment a1
95a1: 2
96
97// comment a2
98a2: ""
99
100// comment a3
101a3: "b"
102
103// comment a4
104a4: ''
105
106// comment a5
107a5: 'a'
108
109// comment a6
110a6: []
111
112// comment a7
113a7: [0]
114
115// comment a8
116a8: false
117
118// comment a9
119a9: true
120
121// comment a10
122a10: null
123-- out/jsonpb/data.cue --
124 // comment a0
125a0: 0
126
127// comment a1
128a1: 2
129
130// comment a2
131a2: ""
132
133// comment a3
134a3: "b"
135
136// comment a4
137a4: ''
138
139// comment a5
140a5: 'a'
141
142// comment a6
143a6: []
144
145// comment a7
146a7: [0]
147
148// comment a8
149a8: false
150
151// comment a9
152a9: true
153
154// comment a10
155a10: null
View as plain text