summaryrefslogtreecommitdiff
path: root/spec/inputs/whitespace.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/whitespace.yue')
-rw-r--r--spec/inputs/whitespace.yue47
1 files changed, 47 insertions, 0 deletions
diff --git a/spec/inputs/whitespace.yue b/spec/inputs/whitespace.yue
index a999143..d0acdde 100644
--- a/spec/inputs/whitespace.yue
+++ b/spec/inputs/whitespace.yue
@@ -198,5 +198,52 @@ do
198 -- two 198 -- two
199 b: -> -- 2 199 b: -> -- 2
200 200
201do
202 tb = {
203
204 -- hello
205 print 123
206 -- abc
207
208
209
210
211
212
213
214 abc: 1
215
216
217 -- xyz
218 c: ""
219
220
221 z: 998
222
223 <close>: ->
224
225 -- hello
226 <eq>: ->
227 --[[OK]] --[[OK]]--good
228 <call>: ->
229 }
230
231 class CY
232 -- init xa
233 xa = 1
234 -- init xb
235 local xb = 2
236
237 -- new
238 new: => print xa, xb, xc, xd
239
240
241 -- init xc
242 const xc = 3
243
244 -- wait
245
246 -- init xd
247 close xd = <close>: =>
201 248
202nil 249nil