From 3ee2e121a7f5e951a425e15b20e483a8ba58d620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= Date: Sun, 9 Jan 2022 00:45:19 +0100 Subject: [PATCH] Some additions to #100 --- src/4MUZ.yaml | 21 ++++++++++++++++++++- src/C4WK.yaml | 22 ---------------------- src/Y79Y.yaml | 32 ++++++++++++++++++-------------- 3 files changed, 38 insertions(+), 37 deletions(-) delete mode 100644 src/C4WK.yaml diff --git a/src/4MUZ.yaml b/src/4MUZ.yaml index 4d6af075..758db65d 100644 --- a/src/4MUZ.yaml +++ b/src/4MUZ.yaml @@ -24,7 +24,7 @@ - yaml: | {"foo" : bar} - tree: |- + tree: | +STR +DOC +MAP {} @@ -35,3 +35,22 @@ -STR emit: | "foo": bar + +- yaml: | + {foo + : bar} + tree: | + +STR + +DOC + +MAP {} + =VAL :foo + =VAL :bar + -MAP + -DOC + -STR + json: | + { + "foo": "bar" + } + emit: | + foo: bar diff --git a/src/C4WK.yaml b/src/C4WK.yaml deleted file mode 100644 index 62c60bb0..00000000 --- a/src/C4WK.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Flow mapping edge cases - from: '@ingydotnet' - tags: edge - yaml: | - {k - : v} - tree: |- - +STR - +DOC - +MAP {} - =VAL :k - =VAL :v - -MAP - -DOC - -STR - json: | - { - "k": "v" - } - dump: | - k: v diff --git a/src/Y79Y.yaml b/src/Y79Y.yaml index 213da254..2918839b 100644 --- a/src/Y79Y.yaml +++ b/src/Y79Y.yaml @@ -78,24 +78,28 @@ - fail: true yaml: | -———»- - tree: | - +STR - +DOC - =VAL :-\t- - -DOC - -STR - fail: true yaml: | - ——»- - tree: | - +STR - +DOC - +SEQ - =VAL :- - -SEQ - -DOC - -STR + +- fail: true + yaml: | + ?———»- + +- fail: true + yaml: | + ? - + :———»- + +- fail: true + yaml: | + ?———»key: + +- fail: true + yaml: | + ? key: + :———»key: - yaml: | -———»-1