From 59e2da485ea82fb1ee9f6f565ba5084c41f85143 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 17 Nov 2014 02:37:41 +0100 Subject: small fixes and a bunch of tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test-files/mds-kbdc/make-tree/valid/if-else-if | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 test-files/mds-kbdc/make-tree/valid/if-else-if (limited to 'test-files/mds-kbdc/make-tree/valid/if-else-if') diff --git a/test-files/mds-kbdc/make-tree/valid/if-else-if b/test-files/mds-kbdc/make-tree/valid/if-else-if new file mode 100644 index 0000000..fe88c43 --- /dev/null +++ b/test-files/mds-kbdc/make-tree/valid/if-else-if @@ -0,0 +1,36 @@ +if \1 + : "\1" +else + if \2 + : "\2" + end if +end if + +# (if (@ 1 0-2) ‘\1’ +# (.inner +# (map (@ 2 2-2) +# (.sequence +# (keys (@ 2 2-13) ‘’) +# ) +# (.result +# (string (@ 2 16-20) ‘"\1"’) +# ) +# ) +# ) +# (.otherwise +# (if (@ 4 2-4) ‘\2’ +# (.inner +# (map (@ 5 4-4) +# (.sequence +# (keys (@ 5 4-15) ‘’) +# ) +# (.result +# (string (@ 5 18-22) ‘"\2"’) +# ) +# ) +# ) +# (.otherwise nil) +# ) +# ) +# ) + -- cgit v1.2.3-70-g09d2