diff options
Diffstat (limited to 'spec/inputs/cond.moon')
-rw-r--r-- | spec/inputs/cond.moon | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/inputs/cond.moon b/spec/inputs/cond.moon index 18e42b9..e8b6283 100644 --- a/spec/inputs/cond.moon +++ b/spec/inputs/cond.moon | |||
@@ -1,25 +1,25 @@ | |||
1 | 1 | ||
2 | you_cool = false | 2 | you_cool = false |
3 | 3 | ||
4 | if cool | 4 | _ = if cool |
5 | if you_cool | 5 | if you_cool |
6 | one | 6 | one |
7 | else if eatdic | 7 | else if eatdic |
8 | yeah | 8 | yeah |
9 | else | 9 | else |
10 | two | 10 | _ = two |
11 | three | 11 | three |
12 | else | 12 | else |
13 | no | 13 | no |
14 | 14 | ||
15 | if cool then no | 15 | _ = if cool then no |
16 | if cool then no else yes | 16 | _ = if cool then no else yes |
17 | 17 | ||
18 | if cool then wow cool else | 18 | if cool then wow cool else |
19 | noso cool | 19 | noso cool |
20 | 20 | ||
21 | if working | 21 | if working |
22 | if cool then if cool then okay else what else nah | 22 | _ = if cool then if cool then okay else what else nah |
23 | 23 | ||
24 | 24 | ||
25 | if yeah then no day elseif cool me then okay ya else u way | 25 | if yeah then no day elseif cool me then okay ya else u way |
@@ -70,7 +70,7 @@ hello = 5 + if something = 10 | |||
70 | 70 | ||
71 | z = false | 71 | z = false |
72 | 72 | ||
73 | if false | 73 | _ = if false |
74 | one | 74 | one |
75 | elseif x = true | 75 | elseif x = true |
76 | two | 76 | two |