diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-29 19:03:46 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-29 19:03:46 +0100 |
commit | 8f03ff21a8dc63394c938500ccbf88328ef4c776 (patch) | |
tree | 663a3dc689432eda830053fce3b8bc3698946eb6 /test-files/mds-kbdc | |
parent | derp (diff) | |
download | mds-8f03ff21a8dc63394c938500ccbf88328ef4c776.tar.gz mds-8f03ff21a8dc63394c938500ccbf88328ef4c776.tar.bz2 mds-8f03ff21a8dc63394c938500ccbf88328ef4c776.tar.xz |
some test files
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
5 files changed, 56 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/simplify-tree/invalid/map_to_nothing b/test-files/mds-kbdc/simplify-tree/invalid/map_to_nothing new file mode 100644 index 0000000..3adedec --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/invalid/map_to_nothing @@ -0,0 +1,14 @@ +<tab> : . + +# (map (@ 1 0-0) +# (.sequence +# (keys (@ 1 0-5) ‘<tab>’) +# ) +# (.result +# (nothing (@ 1 8-9)) +# ) +# ) +# :1:8–9: error: not allowed in mapping output +# <tab> : . +# ^ + diff --git a/test-files/mds-kbdc/simplify-tree/invalid/map_to_unorderd_and_alternative b/test-files/mds-kbdc/simplify-tree/invalid/map_to_unorderd_and_alternative new file mode 100644 index 0000000..283d6c3 --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/invalid/map_to_unorderd_and_alternative @@ -0,0 +1,9 @@ +<my_key> : [1 2] (3 4) + +# :1:11–12: error: not allowed in mapping output +# <my_key> : [1 2] (3 4) +# ^ +# :1:17–18: error: not allowed in mapping output +# <my_key> : [1 2] (3 4) +# ^ + diff --git a/test-files/mds-kbdc/simplify-tree/valid/2-to-2-mapping b/test-files/mds-kbdc/simplify-tree/valid/2-to-2-mapping new file mode 100644 index 0000000..6d76d7e --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/valid/2-to-2-mapping @@ -0,0 +1,13 @@ +<dead compose> <tab> : " " " " + +# (map (@ 1 0-0) +# (.sequence +# (keys (@ 1 0-14) ‘<dead compose>’) +# (keys (@ 1 15-20) ‘<tab>’) +# ) +# (.result +# (string (@ 1 23-29) ‘" "’) +# (string (@ 1 30-36) ‘" "’) +# ) +# ) + diff --git a/test-files/mds-kbdc/simplify-tree/valid/simple_mapping b/test-files/mds-kbdc/simplify-tree/valid/simple_mapping new file mode 100644 index 0000000..1af9a42 --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/valid/simple_mapping @@ -0,0 +1,11 @@ +<keycode 1> : <escape> + +# (map (@ 1 0-0) +# (.sequence +# (keys (@ 1 0-11) ‘<keycode 1>’) +# ) +# (.result +# (keys (@ 1 14-22) ‘<escape>’) +# ) +# ) + diff --git a/test-files/mds-kbdc/simplify-tree/valid/value b/test-files/mds-kbdc/simplify-tree/valid/value new file mode 100644 index 0000000..f656b16 --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/valid/value @@ -0,0 +1,9 @@ +"value statement" + +# (map (@ 1 0-0) +# (.sequence +# (string (@ 1 0-17) ‘"value statement"’) +# ) +# (.result nil) +# ) + |