aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/inputs/plus.moon6
-rw-r--r--spec/inputs/syntax.moon8
2 files changed, 13 insertions, 1 deletions
diff --git a/spec/inputs/plus.moon b/spec/inputs/plus.moon
index 8a91c93..f455845 100644
--- a/spec/inputs/plus.moon
+++ b/spec/inputs/plus.moon
@@ -11,5 +11,9 @@ if fcolor = message\match "<%w*>" then message = message\gsub "<%->", fcolor
11 11
12message = message\gsub "<%->", fcolor if fcolor = message\match "<%w*>" 12message = message\gsub "<%->", fcolor if fcolor = message\match "<%w*>"
13 13
14func val if val = getvalue! 14valA = func! if func = getfunc!
15
16valB = do
17 func = getfunc!
18 func?!
15 19
diff --git a/spec/inputs/syntax.moon b/spec/inputs/syntax.moon
index ae3fc0c..5442b61 100644
--- a/spec/inputs/syntax.moon
+++ b/spec/inputs/syntax.moon
@@ -242,7 +242,15 @@ hello "comma",
242another hello, one, 242another hello, one,
243 two, three, four, yeah: man 243 two, three, four, yeah: man
244 okay: yeah 244 okay: yeah
245 fine: alright
245 246
247another hello, one, two, three, four,
248 yeah: man
249 okay: yeah
250
251another hello, one, two, three, four, yeah: man
252 okay: yeah
253
246-- 254--
247a += 3 - 5 255a += 3 - 5
248a *= 3 + 5 256a *= 3 + 5