diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/inputs/whitespace.moon | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/spec/inputs/whitespace.moon b/spec/inputs/whitespace.moon index 0422443..06b8773 100644 --- a/spec/inputs/whitespace.moon +++ b/spec/inputs/whitespace.moon | |||
| @@ -99,16 +99,41 @@ c(one, two, | |||
| 99 | 99 | ||
| 100 | -- | 100 | -- |
| 101 | 101 | ||
| 102 | f = -> | 102 | v = -> |
| 103 | a, | 103 | a, |
| 104 | b, | 104 | b, |
| 105 | c | 105 | c |
| 106 | 106 | ||
| 107 | a, | 107 | v1, v2, |
| 108 | b, | 108 | v3 = -> |
| 109 | c = 1, | 109 | a; |
| 110 | 2, | 110 | b, |
| 111 | f | 111 | c |
| 112 | :abc | 112 | |
| 113 | a, b, | ||
| 114 | c, d, | ||
| 115 | e, f = 1, | ||
| 116 | f2 | ||
| 117 | :abc; | ||
| 118 | 3, | ||
| 119 | 4, | ||
| 120 | f5 abc; | ||
| 121 | 6 | ||
| 122 | |||
| 123 | for a, | ||
| 124 | b, | ||
| 125 | c in pairs tb | ||
| 126 | print a, | ||
| 127 | b, | ||
| 128 | c | ||
| 129 | |||
| 130 | for i = 1, | ||
| 131 | 10, | ||
| 132 | -1 | ||
| 133 | print i | ||
| 134 | |||
| 135 | local a, | ||
| 136 | b, | ||
| 137 | c | ||
| 113 | 138 | ||
| 114 | nil | 139 | nil |
