From ed317e62eb1cf98fde4461fc90c6cb1045ebc7e8 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Sat, 25 Jan 2020 17:48:03 +0800 Subject: fix Moonscript issue 375. --- spec/inputs/assign.moon | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'spec/inputs/assign.moon') diff --git a/spec/inputs/assign.moon b/spec/inputs/assign.moon index 3e66491..4e50147 100644 --- a/spec/inputs/assign.moon +++ b/spec/inputs/assign.moon @@ -1,30 +1,30 @@ _ = -> - joop = 2302 + joop = 2302 - (hi) -> - d = 100 - hi = 1021 + (hi) -> + d = 100 + hi = 1021 - a,b,c,d = 1,2,3,4 + a,b,c,d = 1,2,3,4 - hello[232], (5+5)[121], hello, x[99] = 100, 200, 300 + hello[232], (5+5)[121], hello, x[99] = 100, 200, 300 - joop = 12 + joop = 12 joop = 2345 a, b = if hello - "hello" + "hello" else - "nothing", "yeah" + "nothing", "yeah" a, b = if hello - if yeah then "one", "two" else "mmhh" + if yeah then "one", "two" else "mmhh" else - print "the other" - "nothing", "yeah" + print "the other" + "nothing", "yeah" -- cgit v1.2.3-55-g6feb