From f641df51ecec17dbd24b476e271a4ee49ed6aded Mon Sep 17 00:00:00 2001 From: Li Jin Date: Tue, 3 Nov 2020 15:04:22 +0800 Subject: fix issue #30 --- spec/inputs/tables.mp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'spec') 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 = * [i for i = 1, 3] * "#{if a then b}" +pairs = + * + * "king" + * "queen" + * + * "hero" + * "princess" + +items = + * + name: "ring" + amount: 2 + * + name: "necklace" + amount: 1 + nil -- cgit v1.2.3-55-g6feb