aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs')
-rw-r--r--spec/inputs/whitespace.moon29
1 files changed, 15 insertions, 14 deletions
diff --git a/spec/inputs/whitespace.moon b/spec/inputs/whitespace.moon
index 06b8773..06ce4eb 100644
--- a/spec/inputs/whitespace.moon
+++ b/spec/inputs/whitespace.moon
@@ -100,36 +100,37 @@ c(one, two,
100-- 100--
101 101
102v = -> 102v = ->
103 a, 103 a, -- v1
104 b, 104 b, -- v2
105 c 105 c -- v3
106 106
107v1, v2, 107v1, v2,
108 v3 = -> 108 v3 = ->
109 a; 109 a; -- end of function for v1
110 b, 110 b, -- v2
111 c 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; 117 :abc; -- arg2
118 3, 118 3,
119 4, 119 4,
120 f5 abc; 120 f5 abc; -- arg5
121 6 121 6
122 122
123for a, 123for a, -- destruct 1
124 b, 124 b, -- destruct 2
125 c in pairs tb 125 --[[destruct 3]] c
126 in pairs tb
126 print a, 127 print a,
127 b, 128 b,
128 c 129 c
129 130
130for i = 1, 131for i = 1, -- initial
131 10, 132 10, -- stop
132 -1 133 -1 -- step
133 print i 134 print i
134 135
135local a, 136local a,