aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/syntax.moon22
-rw-r--r--spec/inputs/whitespace.moon42
2 files changed, 32 insertions, 32 deletions
diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon
index 9895c44..4435a1e 100644
--- a/spec/inputs/syntax.moon
+++ b/spec/inputs/syntax.moon
@@ -291,13 +291,13 @@ It's OK.
291func --[[port]] 3000, --[[ip]] "192.168.1.1" 291func --[[port]] 3000, --[[ip]] "192.168.1.1"
292 292
293f = -> 293f = ->
294 a,b, 294 a,b, \
295 c,d, 295 c,d, \
296 e,f 296 e,f
297 297
298f = -> 298f = ->
299 a,b 299 a,b \
300 ,c,d 300 ,c,d \
301 ,e,f 301 ,e,f
302 302
303with obj 303with obj
@@ -369,13 +369,13 @@ do
369 a = f2! 369 a = f2!
370 - 1 |> f2 370 - 1 |> f2
371 371
372 _1 372 _1 \
373 ,_2 373 ,_2 \
374 ,_3 374 ,_3 \
375 ,_4 = 1 375 ,_4 = 1 \
376 ,f 2 376 ,f 2 \
377 ,3 377 ,3 \
378 ,f 4, 378 ,f 4, \
379 4 379 4
380 380
381nil 381nil
diff --git a/spec/inputs/whitespace.moon b/spec/inputs/whitespace.moon
index 06ce4eb..329280f 100644
--- a/spec/inputs/whitespace.moon
+++ b/spec/inputs/whitespace.moon
@@ -100,41 +100,41 @@ c(one, two,
100-- 100--
101 101
102v = -> 102v = ->
103 a, -- v1 103 a, \-- v1
104 b, -- v2 104 b, \-- v2
105 c -- v3 105 c -- v3
106 106
107v1, v2, 107v1, v2, \
108 v3 = -> 108 v3 = ->
109 a; -- end of function for v1 109 a; \-- end of function for v1
110 b, -- v2 110 b, \-- v2
111 c -- v3 111 c -- v3
112 112
113a, b, 113a, b, \
114 c, d, 114 c, d, \
115e, f = 1, 115e, f = 1, \
116 f2 116 f2
117 :abc; -- arg2 117 :abc; \-- arg2
118 3, 118 3, \
119 4, 119 4, \
120 f5 abc; -- arg5 120 f5 abc; \-- arg5
121 6 121 6
122 122
123for a, -- destruct 1 123for a, \-- destruct 1
124 b, -- destruct 2 124 b, \-- destruct 2
125 --[[destruct 3]] c 125 --[[destruct 3]] c \
126 in pairs tb 126 in pairs tb
127 print a, 127 print a, \
128 b, 128 b, \
129 c 129 c
130 130
131for i = 1, -- initial 131for i = 1, \-- initial
132 10, -- stop 132 10, \-- stop
133 -1 -- step 133 -1 -- step
134 print i 134 print i
135 135
136local a, 136local a,\
137 b, 137 b,\
138 c 138 c
139 139
140nil 140nil