aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/simplify-tree/invalid
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test-files/mds-kbdc/simplify-tree/invalid/map_to_nothing14
-rw-r--r--test-files/mds-kbdc/simplify-tree/invalid/map_to_unorderd_and_alternative9
2 files changed, 23 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)
+# ^
+