diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/inputs/tables.mp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/inputs/tables.mp b/spec/inputs/tables.mp index e816003..2c6dff9 100644 --- a/spec/inputs/tables.mp +++ b/spec/inputs/tables.mp | |||
| @@ -203,5 +203,21 @@ items = | |||
| 203 | * [i for i = 1, 3] | 203 | * [i for i = 1, 3] |
| 204 | * "#{if a then b}" | 204 | * "#{if a then b}" |
| 205 | 205 | ||
| 206 | pairs = | ||
| 207 | * | ||
| 208 | * "king" | ||
| 209 | * "queen" | ||
| 210 | * | ||
| 211 | * "hero" | ||
| 212 | * "princess" | ||
| 213 | |||
| 214 | items = | ||
| 215 | * | ||
| 216 | name: "ring" | ||
| 217 | amount: 2 | ||
| 218 | * | ||
| 219 | name: "necklace" | ||
| 220 | amount: 1 | ||
| 221 | |||
| 206 | nil | 222 | nil |
| 207 | 223 | ||
