aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/bubbling.moon15
-rw-r--r--spec/inputs/stub.moon4
-rw-r--r--spec/inputs/syntax.moon2
3 files changed, 11 insertions, 10 deletions
diff --git a/spec/inputs/bubbling.moon b/spec/inputs/bubbling.moon
index 62d1550..23a85d4 100644
--- a/spec/inputs/bubbling.moon
+++ b/spec/inputs/bubbling.moon
@@ -15,14 +15,13 @@ j = for i=1,10
15m = (...) -> 15m = (...) ->
16 [x for x in *{...} when f(...) > 4] 16 [x for x in *{...} when f(...) > 4]
17 17
18x = for i in *{...} do i 18_ = (...)->
19y = [x for x in *{...}] 19 x = for i in *{...} do i
20z = [x for x in hallo when f(...) > 4] 20 y = [x for x in *{...}]
21 z = [x for x in hallo when f(...) > 4]
21 22
23 a = for i=1,10 do ...
22 24
23a = for i=1,10 do ... 25 b = for i=1,10
24 26 (...)-> print ...
25b = for i=1,10
26 -> print ...
27
28 27
diff --git a/spec/inputs/stub.moon b/spec/inputs/stub.moon
index b38056a..60347e7 100644
--- a/spec/inputs/stub.moon
+++ b/spec/inputs/stub.moon
@@ -12,5 +12,7 @@ print x\val!
12 12
13 13
14-- ... should be bubbled up anon functions 14-- ... should be bubbled up anon functions
15x = hello(...)\world 15((...)-> x = hello(...)\world)!
16
17nil
16 18
diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon
index b5f973b..23b44ce 100644
--- a/spec/inputs/syntax.moon
+++ b/spec/inputs/syntax.moon
@@ -124,7 +124,7 @@ if hello then _ = 343
124 124
125print "what" if cool 125print "what" if cool
126 126
127arg = {...} 127((...)-> arg = {...})!
128 128
129x = (...) -> 129x = (...) ->
130 dump {...} 130 dump {...}