diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ceed83d..84046ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,4 @@ +exclude: (^tests/yaml-test-suite/) repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 diff --git a/pyproject.toml b/pyproject.toml index 1b39f84..dcb3af6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,9 +38,9 @@ repository = "https://github.com/emmatyping/ryaml" python-source = "py-src" module-name = "ryaml._ryaml" include = [ - { format = "sdist", path = "tox.ini" }, { format = "sdist", path = "Cargo.lock" }, { format = "sdist", path = "examples/" }, + { format = "sdist", path = "tests/" }, ] [tool.cibuildwheel] diff --git a/src/loader.rs b/src/loader.rs index 2a7ca50..ee8719d 100644 --- a/src/loader.rs +++ b/src/loader.rs @@ -4,7 +4,7 @@ use libyaml_safer::{Event, EventData, Parser}; use pyo3::exceptions::PyNotImplementedError; use pyo3::prelude::*; -use pyo3::types::{PyBool, PyDict, PyFloat, PyInt, PyList, PyString}; +use pyo3::types::{PyBool, PyDict, PyFloat, PyInt, PyList, PySet, PyString}; use rustc_hash::FxBuildHasher; use std::collections::HashMap; use std::io::Cursor; @@ -208,8 +208,13 @@ impl RSafeLoader { plain_implicit: bool, ) -> PyResult> { // Resolve tag inline — &'static str, no allocation for common case + // "!" is the non-specific tag — resolve as if untagged let resolved_tag: &str = if let Some(ref t) = tag { - t.as_str() + if t == "!" { + resolver::resolve_scalar_tag(&value, plain_implicit) + } else { + t.as_str() + } } else { resolver::resolve_scalar_tag(&value, plain_implicit) }; @@ -272,7 +277,9 @@ impl RSafeLoader { anchor: Option, tag: Option, ) -> PyResult> { - let is_set = tag.as_deref() == Some(crate::TAG_SET); + if tag.as_deref() == Some(crate::TAG_SET) { + return self.construct_set_direct(py, anchor); + } let dict = PyDict::new(py); let dict_obj: Py = dict.clone().unbind().into_any(); @@ -305,12 +312,6 @@ impl RSafeLoader { self._parse_next_event(py)?; let value = self.construct_from_events(py)?; - if is_set { - let hashable_key = self.make_hashable(py, key)?; - dict.set_item(hashable_key, py.None())?; - continue; - } - if is_merge { // Collect merge source(s) if let Ok(value_list) = value.downcast_bound::(py) { @@ -344,6 +345,41 @@ impl RSafeLoader { Ok(dict_obj) } + /// Construct a Python set from a !!set mapping + fn construct_set_direct(&mut self, py: Python, anchor: Option) -> PyResult> { + let pyset = PySet::empty(py)?; + let set_obj: Py = pyset.clone().unbind().into_any(); + + if let Some(anchor_name) = anchor { + self.anchors.insert(anchor_name, set_obj.clone_ref(py)); + } + + loop { + self._parse_next_event(py)?; + if matches!( + &self.parsed_event, + Some(Event { + data: EventData::MappingEnd, + .. + }) + ) { + break; + } + + let key = self.construct_from_events(py)?; + + // Consume the value (always null in a set) + self._parse_next_event(py)?; + let _value = self.construct_from_events(py)?; + + let hashable_key = self.make_hashable(py, key)?; + pyset.add(hashable_key)?; + } + + self.parsed_event = None; + Ok(set_obj) + } + /// Convert unhashable types (dict, list) to tuples for use as dict keys fn make_hashable(&self, py: Python, obj: Py) -> PyResult> { if let Ok(dict) = obj.downcast_bound::(py) { @@ -451,13 +487,25 @@ fn construct_int_fallback(py: Python, value: &str) -> PyResult> { exception::constructor_error(py, format!("invalid sexagesimal integer: {}", value)) })? } else { - parse_int_skip_underscores(remaining, 10) - .map_err(|_| exception::constructor_error(py, format!("invalid integer: {}", value)))? + match parse_int_skip_underscores(remaining, 10) { + Ok(v) => v, + Err(()) => { + // Overflow or parse failure — fall back to Python int() for big integers + return construct_bigint_via_python(py, value); + } + } }; Ok(PyInt::new(py, sign * result).into_any().unbind()) } +/// Construct a Python big integer by calling Python's int() builtin +fn construct_bigint_via_python(py: Python, value: &str) -> PyResult> { + let builtins = py.import("builtins")?; + let result = builtins.call_method1("int", (value,))?; + Ok(result.unbind()) +} + /// Construct a Python float from a scalar value fn construct_float_direct(py: Python, value: &str) -> PyResult> { // Fast path: standard f64 parse diff --git a/tests/helpers.py b/tests/helpers.py index 735eeb3..a43cc99 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -1,133 +1,154 @@ import math from pathlib import Path from typing import Any +from collections.abc import Iterable +from dataclasses import dataclass -try: - from yaml import CSafeLoader as SafeLoader -except ImportError: - from yaml import SafeLoader - -import yaml - -# https://github.com/yaml/yaml-test-suite +# https://github.com/yaml/yaml-test-suite/releases/tag/data-2022-01-17 YAML_TEST_SUITE = Path(__file__).resolve().parent / "yaml-test-suite" -YAML_FILES = list(YAML_TEST_SUITE.glob("*.yaml")) -ALL_YAMLS = 351 +ALL_YAMLS = 402 KNOWN_BAD = [ - "6M2F", "2JQS", - "NHX8", - "CFD4", - "NKF9", - "M2N8", - "SM9W", - "FRK4", - "S3PD", - "UKK6", - "W5VH", - "Y2GN", - "8XYN", + "2LFX", "2SXE", - "7Z25", - "K3WX", + "4ABK", + "4MUZ/00", + "4MUZ/01", + "4MUZ/02", + "58MP", "5MUD", - "VJP3", - "4MUZ", - "4MUZ", - "4MUZ", - "9SA2", - "NJ66", "5T43", - "58MP", - "HM87", - "DBG4", - "QT73", - "HWV9", - "M7A3", - "A2M4", + "652Z", "6BCT", - "Q5MG", "6CA3", - "Y79Y", - "DK95", - "DK95", - "DK95", - "652Z", - "HM87", - "UT92", - "W4TN", - "L24T", - "JEF9", - "FP8R", - "DK3J", - "MUS6", - "MUS6", + "6HB6", "6LVF", - "2LFX", + "6M2F", + "7Z25", + "8G76", + "8XYN", + "96NN/00", + "96NN/01", + "98YD", + "9C9N", + "9HCY", + "9JBA", + "9SA2", + "A2M4", "BEC7", - "96NN", - "96NN", - "R4YG", - "Y79Y", - "4ABK", - "MUS6", - "UV7Q", - "NB6Z", + "CFD4", + "CVW2", + "DBG4", + "DC7X", + "DK3J", + "DK95", + "DK95/00", + "DK95/01", + "DK95/03", + "DK95/04", + "EB22", + "FP8R", + "FRK4", + "G5U8", + "HM87/00", + "HM87/01", "HS5T", + "HWV9", "J3BT", - "6HB6", - "K54U", - "Y79Y", - "DK95", - "DK95", - "DC7X", + "JEF9/02", "JR7V", - "WZ62", + "K3WX", + "K54U", + "L24T/01", + "M2N8", + "M7A3", + "MUS6/05", + "MUS6/06", + "NB6Z", + "NHX8", + "NJ66", + "NKF9", + "Q5MG", + "QB6E", + "QT73", + "R4YG", + "RHX7", + "S3PD", + "S4JQ", "S98Z", + "SM9W", "SU5Z", - "CVW2", - "9JBA", - "YJV2", - "G5U8", - "MUS6", - "EB22", - "9HCY", - "RHX7", - "DK95", - "9C9N", - "QB6E", - "X4QW", - "MUS6", - "Y79Y", "U99R", + "UKK6", + "UT92", + "UV7Q", + "VJP3/01", + "W4TN", + "W5VH", + "WZ62", + "X4QW", + "Y2GN", + "Y79Y/001", + "Y79Y/010", + "YJV2" ] TIME_PARSE_TEST = ["U9NS"] -def _get_yamls(): + +@dataclass(slots=True, frozen=True) +class YamlTestSuite: + id: str + dir: Path + in_yaml: Path + out_yaml: Path | None + in_json: Path | None + is_error: bool + + +def iter_yaml_test_suite(root: Path) -> Iterable[YamlTestSuite]: + root = root.resolve() + + for in_yaml in root.rglob("in.yaml"): + dir_ = in_yaml.parent + + in_json = dir_ / "in.json" + out_yaml = dir_ / "out.yaml" + err = (dir_ / "error").exists() + + rel = dir_.relative_to(root).as_posix() + + yield YamlTestSuite( + id=rel, + dir=dir_, + in_yaml=in_yaml, + out_yaml=out_yaml if out_yaml.exists() else None, + in_json=in_json if in_json.exists() else None, + is_error=err, + ) + + +def split_cases(cases: Iterable[YamlTestSuite]) -> tuple: valid = [] invalid = [] skipped = [] - for yaml_file in YAML_FILES: - docs = yaml.load(yaml_file.read_text(encoding="utf-8"), Loader=SafeLoader) - docs = [docs] if isinstance(docs, dict) else docs - - has_fail = any(doc.get("fail", False) for doc in docs) - has_skip = any(doc.get("skip", False) for doc in docs) - - if has_skip or yaml_file.name[:-5] in KNOWN_BAD + TIME_PARSE_TEST: - skipped.append(yaml_file) - elif has_fail: - invalid.append(yaml_file) + for ts in cases: + if ts.in_json is None or (ts.id in KNOWN_BAD + TIME_PARSE_TEST): + skipped.append(ts) + elif ts.is_error: + invalid.append(ts) else: - valid.append(yaml_file) + valid.append(ts) return valid, invalid, skipped -VALID_YAMLS, INVALID_YAMLS, SKIPPED_YAMLS = _get_yamls() + +YAML_FILES = list(iter_yaml_test_suite(YAML_TEST_SUITE)) +VALID_YAMLS, INVALID_YAMLS, SKIPPED_YAMLS = split_cases(YAML_FILES) + assert ( len(YAML_FILES) == len(VALID_YAMLS) + len(INVALID_YAMLS) + len(SKIPPED_YAMLS) @@ -135,14 +156,11 @@ def _get_yamls(): ) -def normalize_yaml(doc: dict) -> Any: - return ( - doc.get("yaml", "") - .replace("␣", " ") - .replace("»", "\t") - .replace("—", "") # Tab line continuation ——» - .replace("←", "\r") - .replace("⇔", "\ufeff") # BOM character - .replace("↵", "") # Trailing newline marker - .replace("∎\n", "") - ) +def _is_nan(obj: Any) -> Any | dict[Any, Any] | list[Any]: + if isinstance(obj, dict): + return {k: _is_nan(v) for k, v in obj.items()} + if isinstance(obj, list): + return [_is_nan(v) for v in obj] + if isinstance(obj, float) and math.isnan(obj): + return "ryaml_tests_nan" + return obj diff --git a/tests/test_loads.py b/tests/test_loads.py index e06af4a..f45eaf5 100644 --- a/tests/test_loads.py +++ b/tests/test_loads.py @@ -4,8 +4,14 @@ import pytest import ryaml +import yaml -from helpers import VALID_YAMLS, INVALID_YAMLS, normalize_yaml +try: + from yaml import CSafeLoader as SafeLoader +except ImportError: + from yaml import SafeLoader + +from helpers import VALID_YAMLS, INVALID_YAMLS, YamlTestSuite, _is_nan def test_loads_empty(): @@ -32,56 +38,68 @@ def test_loads_key_sequence(): ''') == { 'key': [4, 5] } +@pytest.mark.parametrize("ts", VALID_YAMLS, ids=lambda ts: ts.id) +def test_valid_yamls_from_test_suite(ts: YamlTestSuite) -> None: + actual = ryaml.loads_all( + ts.in_yaml.read_text("utf-8"), + ) + if isinstance(actual, list) and len(actual) == 1: + actual = actual[0] -@pytest.mark.parametrize("input", VALID_YAMLS, ids=lambda val: f"{val.name[:-5]}") -def test_valid_yamls_from_test_suite(input: Path) -> None: - load_from_str = ryaml.loads(input.read_text(encoding="utf-8")) - - docs = [load_from_str] if isinstance(load_from_str, dict) else load_from_str - - for doc in docs: - parsed_yaml = ryaml.loads_all(normalize_yaml(doc)) - if isinstance(parsed_yaml, list) and len(parsed_yaml) == 1: - parsed_yaml = parsed_yaml[0] - - - get_json_key = doc.get("json") - - if get_json_key is None: - assert parsed_yaml is not None - continue - - if get_json_key == "": # noqa: PLC1901 - get_json_key = None - continue + text = ts.in_json.read_text("utf-8") + if text == "": # noqa: PLC1901 + expected = None + else: try: - parsed_json = json.loads(get_json_key) - except json.decoder.JSONDecodeError: - json_decoder = json.JSONDecoder() - parsed_json = [] + expected = json.loads(text) + except json.JSONDecodeError: + decoder = json.JSONDecoder() + expected = [] pos = 0 - while pos < len(get_json_key): - obj, pos = json_decoder.raw_decode(get_json_key, pos) - parsed_json.append(obj) - while pos < len(get_json_key) and get_json_key[pos] in " \t\n\r": - pos += 1 - - if len(parsed_json) == 1: - parsed_json = parsed_json[0] - - assert parsed_yaml == parsed_json + n = len(text) + while pos < n: + obj, pos = decoder.raw_decode(text, pos) + expected.append(obj) + while pos < n and text[pos] in " \t\r\n": + pos += 1 -@pytest.mark.parametrize("input", INVALID_YAMLS, ids=lambda val: f"{val.name[:-5]}") -def test_invalid_yamls_from_test_suite(input: Path) -> None: - docs = list(ryaml.loads_all(input.read_text(encoding="utf-8"))) - if len(docs) == 1: - docs = docs[0] - if isinstance(docs, dict): - docs = [docs] - doc = next((d for d in docs if d.get("fail") is True), None) - assert doc is not None, "No document!" + if isinstance(expected, list) and not isinstance(actual, list): + actual = [actual] + + # JSON does not have a native "set" type, while Python does. + # In YAML, the tag `!!set` represents a set, and Python YAML parsers + # (including ours) map it to a Python `set`. + # ```python + # import yaml as py_yaml + # + # y = """\ + # --- !!set + # ? Mark McGwire + # ? Sammy Sosa + # ? Ken Griffey + # """ + # print(py_yaml.safe_load(y)) # {'Mark McGwire', 'Ken Griffey', 'Sammy Sosa'} + # print(type(py_yaml.safe_load(y))) # + # ``` + if ( + isinstance(actual, set) + and isinstance(expected, dict) + and all(v is None for v in expected.values()) + ): + actual = dict.fromkeys(actual) + + assert ( + f"\nTest case: {ts.id}\n" + f"\nYAML file: {ts.in_yaml}\n" + f"\nActual:\n{actual!r}\n" + f"\nExpected:\n{expected!r}\n" + ) + + +@pytest.mark.parametrize("ts", INVALID_YAMLS, ids=lambda ts: ts.id) +def test_invalid_yamls_from_test_suite(ts: YamlTestSuite) -> None: with pytest.raises(ryaml.InvalidYamlError): - list(ryaml.loads_all(normalize_yaml(doc))) + ryaml.loads_all(ts.in_yaml.read_text("utf-8")) diff --git a/tests/test_pyyaml_compat.py b/tests/test_pyyaml_compat.py new file mode 100644 index 0000000..267ccb1 --- /dev/null +++ b/tests/test_pyyaml_compat.py @@ -0,0 +1,31 @@ +"""Test cases to prevent regressions in compatibility with pyyaml""" + +import textwrap +import ryaml + + +def test_nonspecific_tag(): + assert ryaml.loads("x: ! 4444") == {"x": 4444} + + +def test_long_int(): + assert ryaml.loads( + "x: 99999999999999999999999999999999999999999999999999999999" + ) == {"x": 99999999999999999999999999999999999999999999999999999999} + + +def test_set_type(): + assert ( + ryaml.loads( + textwrap.dedent(""" + # sets are represented as a + # mapping where each key is + # associated with the empty string + --- !!set + ? Mark McGwire + ? Sammy Sosa + ? Ken Griff + """) + ) + == set(["Mark McGwire", "Ken Griff", "Sammy Sosa"]) + ) diff --git a/tests/test_pyyaml_loads.py b/tests/test_pyyaml_loads.py index 3f0f743..309839d 100644 --- a/tests/test_pyyaml_loads.py +++ b/tests/test_pyyaml_loads.py @@ -1,5 +1,4 @@ import json -from pathlib import Path import ryaml @@ -16,7 +15,7 @@ from ryaml.compat import RSafeLoader -from helpers import VALID_YAMLS, INVALID_YAMLS, normalize_yaml +from helpers import VALID_YAMLS, INVALID_YAMLS, YamlTestSuite, _is_nan def test_loads_empty(): assert yaml.load('', Loader=RSafeLoader) is None @@ -42,54 +41,72 @@ def test_loads_key_sequence(): ''', Loader=RSafeLoader) == { 'key': [4, 5] } -@pytest.mark.parametrize("input", VALID_YAMLS, ids=lambda val: f"{val.name[:-5]}") -def test_valid_yamls_from_test_suite_pyyaml(input: Path) -> None: - load_from_str = yaml.load(input.read_text(encoding="utf-8"), Loader=SafeLoader) - docs = [load_from_str] if isinstance(load_from_str, dict) else load_from_str +@pytest.mark.parametrize("ts", VALID_YAMLS, ids=lambda ts: ts.id) +def test_valid_yamls_from_test_suite(ts: YamlTestSuite) -> None: + actual = list(yaml.load_all( + ts.in_yaml.read_text("utf-8"), Loader=RSafeLoader + )) + if actual == []: + actual = None + if isinstance(actual, list) and len(actual) == 1: + actual = actual[0] - for doc in docs: - parsed_yaml = list(yaml.load_all(normalize_yaml(doc), Loader=RSafeLoader)) - if len(parsed_yaml) == 1: - parsed_yaml = parsed_yaml[0] - get_json_key = doc.get("json") - - if get_json_key is None: - assert parsed_yaml is not None - continue - - if get_json_key == "": # noqa: PLC1901 - get_json_key = None - continue + text = ts.in_json.read_text("utf-8") + if text == "": # noqa: PLC1901 + expected = None + else: try: - parsed_json = json.loads(get_json_key) - except json.decoder.JSONDecodeError: - json_decoder = json.JSONDecoder() - parsed_json = [] + expected = json.loads(text) + except json.JSONDecodeError: + decoder = json.JSONDecoder() + expected = [] pos = 0 - while pos < len(get_json_key): - obj, pos = json_decoder.raw_decode(get_json_key, pos) - parsed_json.append(obj) - while pos < len(get_json_key) and get_json_key[pos] in " \t\n\r": - pos += 1 - - if len(parsed_json) == 1: - parsed_json = parsed_json[0] - - assert parsed_yaml == parsed_json + n = len(text) + while pos < n: + obj, pos = decoder.raw_decode(text, pos) + expected.append(obj) + while pos < n and text[pos] in " \t\r\n": + pos += 1 -@pytest.mark.parametrize("input", INVALID_YAMLS, ids=lambda val: f"{val.name[:-5]}") -def test_invalid_yamls_from_test_suite_pyyaml(input: Path) -> None: - docs = list(yaml.load_all(input.read_text(encoding="utf-8"), Loader=RSafeLoader)) - if len(docs) == 1: - docs = docs[0] - if isinstance(docs, dict): - docs = [docs] - doc = next((d for d in docs if d.get("fail") is True), None) - assert doc is not None, "No document!" + if isinstance(expected, list) and not isinstance(actual, list): + actual = [actual] + + # JSON does not have a native "set" type, while Python does. + # In YAML, the tag `!!set` represents a set, and Python YAML parsers + # (including ours) map it to a Python `set`. + # ```python + # import yaml as py_yaml + # + # y = """\ + # --- !!set + # ? Mark McGwire + # ? Sammy Sosa + # ? Ken Griffey + # """ + # print(py_yaml.safe_load(y)) # {'Mark McGwire', 'Ken Griffey', 'Sammy Sosa'} + # print(type(py_yaml.safe_load(y))) # + # ``` + if ( + isinstance(actual, set) + and isinstance(expected, dict) + and all(v is None for v in expected.values()) + ): + actual = dict.fromkeys(actual) + + assert _is_nan(actual) == _is_nan(expected), ( + f"\nTest case: {ts.id}\n" + f"\nYAML file: {ts.in_yaml}\n" + f"\nActual:\n{actual!r}\n" + f"\nExpected:\n{expected!r}\n" + ) + + +@pytest.mark.parametrize("ts", INVALID_YAMLS, ids=lambda ts: ts.id) +def test_invalid_yamls_from_test_suite(ts: YamlTestSuite) -> None: with pytest.raises(ryaml.InvalidYamlError): - list(yaml.load_all(normalize_yaml(doc), Loader=RSafeLoader)) + ryaml.loads_all(ts.in_yaml.read_text("utf-8")) diff --git a/tests/yaml-test-suite/229Q.yaml b/tests/yaml-test-suite/229Q.yaml deleted file mode 100644 index e4f92ce..0000000 --- a/tests/yaml-test-suite/229Q.yaml +++ /dev/null @@ -1,56 +0,0 @@ ---- -- name: Spec Example 2.4. Sequence of Mappings - from: http://www.yaml.org/spec/1.2/spec.html#id2760193 - tags: sequence mapping spec - yaml: | - - - name: Mark McGwire - hr: 65 - avg: 0.278 - - - name: Sammy Sosa - hr: 63 - avg: 0.288 - tree: | - +STR - +DOC - +SEQ - +MAP - =VAL :name - =VAL :Mark McGwire - =VAL :hr - =VAL :65 - =VAL :avg - =VAL :0.278 - -MAP - +MAP - =VAL :name - =VAL :Sammy Sosa - =VAL :hr - =VAL :63 - =VAL :avg - =VAL :0.288 - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "name": "Mark McGwire", - "hr": 65, - "avg": 0.278 - }, - { - "name": "Sammy Sosa", - "hr": 63, - "avg": 0.288 - } - ] - dump: | - - name: Mark McGwire - hr: 65 - avg: 0.278 - - name: Sammy Sosa - hr: 63 - avg: 0.288 diff --git a/tests/yaml-test-suite/229Q/=== b/tests/yaml-test-suite/229Q/=== new file mode 100644 index 0000000..25ce09b --- /dev/null +++ b/tests/yaml-test-suite/229Q/=== @@ -0,0 +1 @@ +Spec Example 2.4. Sequence of Mappings diff --git a/tests/yaml-test-suite/229Q/in.json b/tests/yaml-test-suite/229Q/in.json new file mode 100644 index 0000000..3d3b2d9 --- /dev/null +++ b/tests/yaml-test-suite/229Q/in.json @@ -0,0 +1,12 @@ +[ + { + "name": "Mark McGwire", + "hr": 65, + "avg": 0.278 + }, + { + "name": "Sammy Sosa", + "hr": 63, + "avg": 0.288 + } +] diff --git a/tests/yaml-test-suite/229Q/in.yaml b/tests/yaml-test-suite/229Q/in.yaml new file mode 100644 index 0000000..430f6b3 --- /dev/null +++ b/tests/yaml-test-suite/229Q/in.yaml @@ -0,0 +1,8 @@ +- + name: Mark McGwire + hr: 65 + avg: 0.278 +- + name: Sammy Sosa + hr: 63 + avg: 0.288 diff --git a/tests/yaml-test-suite/229Q/out.yaml b/tests/yaml-test-suite/229Q/out.yaml new file mode 100644 index 0000000..f8c1a56 --- /dev/null +++ b/tests/yaml-test-suite/229Q/out.yaml @@ -0,0 +1,6 @@ +- name: Mark McGwire + hr: 65 + avg: 0.278 +- name: Sammy Sosa + hr: 63 + avg: 0.288 diff --git a/tests/yaml-test-suite/229Q/test.event b/tests/yaml-test-suite/229Q/test.event new file mode 100644 index 0000000..fc75880 --- /dev/null +++ b/tests/yaml-test-suite/229Q/test.event @@ -0,0 +1,22 @@ ++STR ++DOC ++SEQ ++MAP +=VAL :name +=VAL :Mark McGwire +=VAL :hr +=VAL :65 +=VAL :avg +=VAL :0.278 +-MAP ++MAP +=VAL :name +=VAL :Sammy Sosa +=VAL :hr +=VAL :63 +=VAL :avg +=VAL :0.288 +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/236B.yaml b/tests/yaml-test-suite/236B.yaml deleted file mode 100644 index 2c82424..0000000 --- a/tests/yaml-test-suite/236B.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Invalid value after mapping - from: '@perlpunk' - tags: error mapping - fail: true - yaml: | - foo: - bar - invalid - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :bar diff --git a/tests/yaml-test-suite/236B/=== b/tests/yaml-test-suite/236B/=== new file mode 100644 index 0000000..8b7b4dd --- /dev/null +++ b/tests/yaml-test-suite/236B/=== @@ -0,0 +1 @@ +Invalid value after mapping diff --git a/tests/yaml-test-suite/236B/error b/tests/yaml-test-suite/236B/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/236B/in.yaml b/tests/yaml-test-suite/236B/in.yaml new file mode 100644 index 0000000..254e6fc --- /dev/null +++ b/tests/yaml-test-suite/236B/in.yaml @@ -0,0 +1,3 @@ +foo: + bar +invalid diff --git a/tests/yaml-test-suite/236B/test.event b/tests/yaml-test-suite/236B/test.event new file mode 100644 index 0000000..83d95a7 --- /dev/null +++ b/tests/yaml-test-suite/236B/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :bar diff --git a/tests/yaml-test-suite/26DV.yaml b/tests/yaml-test-suite/26DV.yaml deleted file mode 100644 index ada7c5f..0000000 --- a/tests/yaml-test-suite/26DV.yaml +++ /dev/null @@ -1,82 +0,0 @@ ---- -- name: Whitespace around colon in mappings - from: '@perlpunk' - tags: alias mapping whitespace - yaml: | - "top1" :␣ - "key1" : &alias1 scalar1 - 'top2' :␣ - 'key2' : &alias2 scalar2 - top3: &node3␣ - *alias1 : scalar3 - top4:␣ - *alias2 : scalar4 - top5 :␣␣␣␣ - scalar5 - top6:␣ - &anchor6 'key6' : scalar6 - tree: | - +STR - +DOC - +MAP - =VAL "top1 - +MAP - =VAL "key1 - =VAL &alias1 :scalar1 - -MAP - =VAL 'top2 - +MAP - =VAL 'key2 - =VAL &alias2 :scalar2 - -MAP - =VAL :top3 - +MAP &node3 - =ALI *alias1 - =VAL :scalar3 - -MAP - =VAL :top4 - +MAP - =ALI *alias2 - =VAL :scalar4 - -MAP - =VAL :top5 - =VAL :scalar5 - =VAL :top6 - +MAP - =VAL &anchor6 'key6 - =VAL :scalar6 - -MAP - -MAP - -DOC - -STR - json: | - { - "top1": { - "key1": "scalar1" - }, - "top2": { - "key2": "scalar2" - }, - "top3": { - "scalar1": "scalar3" - }, - "top4": { - "scalar2": "scalar4" - }, - "top5": "scalar5", - "top6": { - "key6": "scalar6" - } - } - dump: | - "top1": - "key1": &alias1 scalar1 - 'top2': - 'key2': &alias2 scalar2 - top3: &node3 - *alias1 : scalar3 - top4: - *alias2 : scalar4 - top5: scalar5 - top6: - &anchor6 'key6': scalar6 diff --git a/tests/yaml-test-suite/26DV/=== b/tests/yaml-test-suite/26DV/=== new file mode 100644 index 0000000..0b238cd --- /dev/null +++ b/tests/yaml-test-suite/26DV/=== @@ -0,0 +1 @@ +Whitespace around colon in mappings diff --git a/tests/yaml-test-suite/26DV/in.json b/tests/yaml-test-suite/26DV/in.json new file mode 100644 index 0000000..508c2c1 --- /dev/null +++ b/tests/yaml-test-suite/26DV/in.json @@ -0,0 +1,18 @@ +{ + "top1": { + "key1": "scalar1" + }, + "top2": { + "key2": "scalar2" + }, + "top3": { + "scalar1": "scalar3" + }, + "top4": { + "scalar2": "scalar4" + }, + "top5": "scalar5", + "top6": { + "key6": "scalar6" + } +} diff --git a/tests/yaml-test-suite/26DV/in.yaml b/tests/yaml-test-suite/26DV/in.yaml new file mode 100644 index 0000000..5df48e7 --- /dev/null +++ b/tests/yaml-test-suite/26DV/in.yaml @@ -0,0 +1,12 @@ +"top1" : + "key1" : &alias1 scalar1 +'top2' : + 'key2' : &alias2 scalar2 +top3: &node3 + *alias1 : scalar3 +top4: + *alias2 : scalar4 +top5 : + scalar5 +top6: + &anchor6 'key6' : scalar6 diff --git a/tests/yaml-test-suite/26DV/out.yaml b/tests/yaml-test-suite/26DV/out.yaml new file mode 100644 index 0000000..4f6efdf --- /dev/null +++ b/tests/yaml-test-suite/26DV/out.yaml @@ -0,0 +1,11 @@ +"top1": + "key1": &alias1 scalar1 +'top2': + 'key2': &alias2 scalar2 +top3: &node3 + *alias1 : scalar3 +top4: + *alias2 : scalar4 +top5: scalar5 +top6: + &anchor6 'key6': scalar6 diff --git a/tests/yaml-test-suite/26DV/test.event b/tests/yaml-test-suite/26DV/test.event new file mode 100644 index 0000000..e683fa7 --- /dev/null +++ b/tests/yaml-test-suite/26DV/test.event @@ -0,0 +1,33 @@ ++STR ++DOC ++MAP +=VAL "top1 ++MAP +=VAL "key1 +=VAL &alias1 :scalar1 +-MAP +=VAL 'top2 ++MAP +=VAL 'key2 +=VAL &alias2 :scalar2 +-MAP +=VAL :top3 ++MAP &node3 +=ALI *alias1 +=VAL :scalar3 +-MAP +=VAL :top4 ++MAP +=ALI *alias2 +=VAL :scalar4 +-MAP +=VAL :top5 +=VAL :scalar5 +=VAL :top6 ++MAP +=VAL &anchor6 'key6 +=VAL :scalar6 +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/27NA.yaml b/tests/yaml-test-suite/27NA.yaml deleted file mode 100644 index 8be2be4..0000000 --- a/tests/yaml-test-suite/27NA.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Spec Example 5.9. Directive Indicator - from: http://www.yaml.org/spec/1.2/spec.html#id2774058 - tags: spec directive 1.3-err - yaml: | - %YAML 1.2 - --- text - tree: | - +STR - +DOC --- - =VAL :text - -DOC - -STR - json: | - "text" - dump: | - --- text diff --git a/tests/yaml-test-suite/27NA/=== b/tests/yaml-test-suite/27NA/=== new file mode 100644 index 0000000..a20392b --- /dev/null +++ b/tests/yaml-test-suite/27NA/=== @@ -0,0 +1 @@ +Spec Example 5.9. Directive Indicator diff --git a/tests/yaml-test-suite/27NA/in.json b/tests/yaml-test-suite/27NA/in.json new file mode 100644 index 0000000..8ee55ad --- /dev/null +++ b/tests/yaml-test-suite/27NA/in.json @@ -0,0 +1 @@ +"text" diff --git a/tests/yaml-test-suite/27NA/in.yaml b/tests/yaml-test-suite/27NA/in.yaml new file mode 100644 index 0000000..62204de --- /dev/null +++ b/tests/yaml-test-suite/27NA/in.yaml @@ -0,0 +1,2 @@ +%YAML 1.2 +--- text diff --git a/tests/yaml-test-suite/27NA/out.yaml b/tests/yaml-test-suite/27NA/out.yaml new file mode 100644 index 0000000..9c3ac4f --- /dev/null +++ b/tests/yaml-test-suite/27NA/out.yaml @@ -0,0 +1 @@ +--- text diff --git a/tests/yaml-test-suite/27NA/test.event b/tests/yaml-test-suite/27NA/test.event new file mode 100644 index 0000000..4caf24e --- /dev/null +++ b/tests/yaml-test-suite/27NA/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :text +-DOC +-STR diff --git a/tests/yaml-test-suite/2AUY.yaml b/tests/yaml-test-suite/2AUY.yaml deleted file mode 100644 index e5ca696..0000000 --- a/tests/yaml-test-suite/2AUY.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: Tags in Block Sequence - from: NimYAML tests - tags: tag sequence - yaml: |2 - - !!str a - - b - - !!int 42 - - d - tree: | - +STR - +DOC - +SEQ - =VAL :a - =VAL :b - =VAL :42 - =VAL :d - -SEQ - -DOC - -STR - json: | - [ - "a", - "b", - 42, - "d" - ] - dump: | - - !!str a - - b - - !!int 42 - - d diff --git a/tests/yaml-test-suite/2AUY/=== b/tests/yaml-test-suite/2AUY/=== new file mode 100644 index 0000000..f2cb819 --- /dev/null +++ b/tests/yaml-test-suite/2AUY/=== @@ -0,0 +1 @@ +Tags in Block Sequence diff --git a/tests/yaml-test-suite/2AUY/in.json b/tests/yaml-test-suite/2AUY/in.json new file mode 100644 index 0000000..87bffdd --- /dev/null +++ b/tests/yaml-test-suite/2AUY/in.json @@ -0,0 +1,6 @@ +[ + "a", + "b", + 42, + "d" +] diff --git a/tests/yaml-test-suite/2AUY/in.yaml b/tests/yaml-test-suite/2AUY/in.yaml new file mode 100644 index 0000000..5152961 --- /dev/null +++ b/tests/yaml-test-suite/2AUY/in.yaml @@ -0,0 +1,4 @@ + - !!str a + - b + - !!int 42 + - d diff --git a/tests/yaml-test-suite/2AUY/out.yaml b/tests/yaml-test-suite/2AUY/out.yaml new file mode 100644 index 0000000..7369ee6 --- /dev/null +++ b/tests/yaml-test-suite/2AUY/out.yaml @@ -0,0 +1,4 @@ +- !!str a +- b +- !!int 42 +- d diff --git a/tests/yaml-test-suite/2AUY/test.event b/tests/yaml-test-suite/2AUY/test.event new file mode 100644 index 0000000..9dfb913 --- /dev/null +++ b/tests/yaml-test-suite/2AUY/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ +=VAL :a +=VAL :b +=VAL :42 +=VAL :d +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/2CMS.yaml b/tests/yaml-test-suite/2CMS.yaml deleted file mode 100644 index 4af7e53..0000000 --- a/tests/yaml-test-suite/2CMS.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- name: Invalid mapping in plain multiline - from: '@perlpunk' - tags: error mapping - fail: true - yaml: | - this - is - invalid: x - tree: | - +STR - +DOC diff --git a/tests/yaml-test-suite/2CMS/=== b/tests/yaml-test-suite/2CMS/=== new file mode 100644 index 0000000..0c7e102 --- /dev/null +++ b/tests/yaml-test-suite/2CMS/=== @@ -0,0 +1 @@ +Invalid mapping in plain multiline diff --git a/tests/yaml-test-suite/2CMS/error b/tests/yaml-test-suite/2CMS/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/2CMS/in.yaml b/tests/yaml-test-suite/2CMS/in.yaml new file mode 100644 index 0000000..72d31b1 --- /dev/null +++ b/tests/yaml-test-suite/2CMS/in.yaml @@ -0,0 +1,3 @@ +this + is + invalid: x diff --git a/tests/yaml-test-suite/2CMS/test.event b/tests/yaml-test-suite/2CMS/test.event new file mode 100644 index 0000000..b8e31a8 --- /dev/null +++ b/tests/yaml-test-suite/2CMS/test.event @@ -0,0 +1,2 @@ ++STR ++DOC diff --git a/tests/yaml-test-suite/2EBW.yaml b/tests/yaml-test-suite/2EBW.yaml deleted file mode 100644 index c7b0e16..0000000 --- a/tests/yaml-test-suite/2EBW.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -- name: Allowed characters in keys - from: '@perlpunk' - tags: mapping scalar - yaml: | - a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe - ?foo: safe question mark - :foo: safe colon - -foo: safe dash - this is#not: a comment - tree: | - +STR - +DOC - +MAP - =VAL :a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ - =VAL :safe - =VAL :?foo - =VAL :safe question mark - =VAL ::foo - =VAL :safe colon - =VAL :-foo - =VAL :safe dash - =VAL :this is#not - =VAL :a comment - -MAP - -DOC - -STR - json: | - { - "a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~": "safe", - "?foo": "safe question mark", - ":foo": "safe colon", - "-foo": "safe dash", - "this is#not": "a comment" - } - dump: | - a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe - ?foo: safe question mark - :foo: safe colon - -foo: safe dash - this is#not: a comment diff --git a/tests/yaml-test-suite/2EBW/=== b/tests/yaml-test-suite/2EBW/=== new file mode 100644 index 0000000..5649a25 --- /dev/null +++ b/tests/yaml-test-suite/2EBW/=== @@ -0,0 +1 @@ +Allowed characters in keys diff --git a/tests/yaml-test-suite/2EBW/in.json b/tests/yaml-test-suite/2EBW/in.json new file mode 100644 index 0000000..91f8dbf --- /dev/null +++ b/tests/yaml-test-suite/2EBW/in.json @@ -0,0 +1,7 @@ +{ + "a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~": "safe", + "?foo": "safe question mark", + ":foo": "safe colon", + "-foo": "safe dash", + "this is#not": "a comment" +} diff --git a/tests/yaml-test-suite/2EBW/in.yaml b/tests/yaml-test-suite/2EBW/in.yaml new file mode 100644 index 0000000..3a5b0a3 --- /dev/null +++ b/tests/yaml-test-suite/2EBW/in.yaml @@ -0,0 +1,5 @@ +a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe +?foo: safe question mark +:foo: safe colon +-foo: safe dash +this is#not: a comment diff --git a/tests/yaml-test-suite/2EBW/out.yaml b/tests/yaml-test-suite/2EBW/out.yaml new file mode 100644 index 0000000..3a5b0a3 --- /dev/null +++ b/tests/yaml-test-suite/2EBW/out.yaml @@ -0,0 +1,5 @@ +a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe +?foo: safe question mark +:foo: safe colon +-foo: safe dash +this is#not: a comment diff --git a/tests/yaml-test-suite/2EBW/test.event b/tests/yaml-test-suite/2EBW/test.event new file mode 100644 index 0000000..b211714 --- /dev/null +++ b/tests/yaml-test-suite/2EBW/test.event @@ -0,0 +1,16 @@ ++STR ++DOC ++MAP +=VAL :a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ +=VAL :safe +=VAL :?foo +=VAL :safe question mark +=VAL ::foo +=VAL :safe colon +=VAL :-foo +=VAL :safe dash +=VAL :this is#not +=VAL :a comment +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/2G84.yaml b/tests/yaml-test-suite/2G84.yaml deleted file mode 100644 index 7268c99..0000000 --- a/tests/yaml-test-suite/2G84.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- name: Literal modifers - from: '@ingydotnet' - tags: literal scalar - fail: true - yaml: | - --- |0 - tree: | - +STR - +DOC --- - -- fail: true - yaml: | - --- |10 - -- yaml: | - --- |1-∎ - tree: | - +STR - +DOC --- - =VAL | - -DOC - -STR - json: | - "" - emit: | - --- "" - -- yaml: | - --- |1+∎ - tree: | - +STR - +DOC --- - =VAL | - -DOC - -STR - emit: | - --- "" diff --git a/tests/yaml-test-suite/2G84/00/=== b/tests/yaml-test-suite/2G84/00/=== new file mode 100644 index 0000000..acdaa4d --- /dev/null +++ b/tests/yaml-test-suite/2G84/00/=== @@ -0,0 +1 @@ +Literal modifers diff --git a/tests/yaml-test-suite/2G84/00/error b/tests/yaml-test-suite/2G84/00/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/2G84/00/in.yaml b/tests/yaml-test-suite/2G84/00/in.yaml new file mode 100644 index 0000000..56974da --- /dev/null +++ b/tests/yaml-test-suite/2G84/00/in.yaml @@ -0,0 +1 @@ +--- |0 diff --git a/tests/yaml-test-suite/2G84/00/test.event b/tests/yaml-test-suite/2G84/00/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/2G84/00/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/2G84/01/=== b/tests/yaml-test-suite/2G84/01/=== new file mode 100644 index 0000000..acdaa4d --- /dev/null +++ b/tests/yaml-test-suite/2G84/01/=== @@ -0,0 +1 @@ +Literal modifers diff --git a/tests/yaml-test-suite/2G84/01/error b/tests/yaml-test-suite/2G84/01/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/2G84/01/in.yaml b/tests/yaml-test-suite/2G84/01/in.yaml new file mode 100644 index 0000000..52ef846 --- /dev/null +++ b/tests/yaml-test-suite/2G84/01/in.yaml @@ -0,0 +1 @@ +--- |10 diff --git a/tests/yaml-test-suite/2G84/01/test.event b/tests/yaml-test-suite/2G84/01/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/2G84/01/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/2G84/02/=== b/tests/yaml-test-suite/2G84/02/=== new file mode 100644 index 0000000..acdaa4d --- /dev/null +++ b/tests/yaml-test-suite/2G84/02/=== @@ -0,0 +1 @@ +Literal modifers diff --git a/tests/yaml-test-suite/2G84/02/emit.yaml b/tests/yaml-test-suite/2G84/02/emit.yaml new file mode 100644 index 0000000..af16f35 --- /dev/null +++ b/tests/yaml-test-suite/2G84/02/emit.yaml @@ -0,0 +1 @@ +--- "" diff --git a/tests/yaml-test-suite/2G84/02/in.json b/tests/yaml-test-suite/2G84/02/in.json new file mode 100644 index 0000000..e16c76d --- /dev/null +++ b/tests/yaml-test-suite/2G84/02/in.json @@ -0,0 +1 @@ +"" diff --git a/tests/yaml-test-suite/2G84/02/in.yaml b/tests/yaml-test-suite/2G84/02/in.yaml new file mode 100644 index 0000000..9d09488 --- /dev/null +++ b/tests/yaml-test-suite/2G84/02/in.yaml @@ -0,0 +1 @@ +--- |1- \ No newline at end of file diff --git a/tests/yaml-test-suite/2G84/02/test.event b/tests/yaml-test-suite/2G84/02/test.event new file mode 100644 index 0000000..f8b7b25 --- /dev/null +++ b/tests/yaml-test-suite/2G84/02/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL | +-DOC +-STR diff --git a/tests/yaml-test-suite/2G84/03/=== b/tests/yaml-test-suite/2G84/03/=== new file mode 100644 index 0000000..acdaa4d --- /dev/null +++ b/tests/yaml-test-suite/2G84/03/=== @@ -0,0 +1 @@ +Literal modifers diff --git a/tests/yaml-test-suite/2G84/03/emit.yaml b/tests/yaml-test-suite/2G84/03/emit.yaml new file mode 100644 index 0000000..af16f35 --- /dev/null +++ b/tests/yaml-test-suite/2G84/03/emit.yaml @@ -0,0 +1 @@ +--- "" diff --git a/tests/yaml-test-suite/2G84/03/in.json b/tests/yaml-test-suite/2G84/03/in.json new file mode 100644 index 0000000..e16c76d --- /dev/null +++ b/tests/yaml-test-suite/2G84/03/in.json @@ -0,0 +1 @@ +"" diff --git a/tests/yaml-test-suite/2G84/03/in.yaml b/tests/yaml-test-suite/2G84/03/in.yaml new file mode 100644 index 0000000..3220349 --- /dev/null +++ b/tests/yaml-test-suite/2G84/03/in.yaml @@ -0,0 +1 @@ +--- |1+ \ No newline at end of file diff --git a/tests/yaml-test-suite/2G84/03/test.event b/tests/yaml-test-suite/2G84/03/test.event new file mode 100644 index 0000000..f8b7b25 --- /dev/null +++ b/tests/yaml-test-suite/2G84/03/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL | +-DOC +-STR diff --git a/tests/yaml-test-suite/2JQS.yaml b/tests/yaml-test-suite/2JQS.yaml deleted file mode 100644 index c1cd08e..0000000 --- a/tests/yaml-test-suite/2JQS.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Block Mapping with Missing Keys - from: NimYAML tests - tags: duplicate-key mapping empty-key - yaml: | - : a - : b - tree: | - +STR - +DOC - +MAP - =VAL : - =VAL :a - =VAL : - =VAL :b - -MAP - -DOC - -STR diff --git a/tests/yaml-test-suite/2JQS/=== b/tests/yaml-test-suite/2JQS/=== new file mode 100644 index 0000000..4884b0c --- /dev/null +++ b/tests/yaml-test-suite/2JQS/=== @@ -0,0 +1 @@ +Block Mapping with Missing Keys diff --git a/tests/yaml-test-suite/2JQS/in.yaml b/tests/yaml-test-suite/2JQS/in.yaml new file mode 100644 index 0000000..d0a086d --- /dev/null +++ b/tests/yaml-test-suite/2JQS/in.yaml @@ -0,0 +1,2 @@ +: a +: b diff --git a/tests/yaml-test-suite/2JQS/test.event b/tests/yaml-test-suite/2JQS/test.event new file mode 100644 index 0000000..0268179 --- /dev/null +++ b/tests/yaml-test-suite/2JQS/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL : +=VAL :a +=VAL : +=VAL :b +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/2LFX.yaml b/tests/yaml-test-suite/2LFX.yaml deleted file mode 100644 index 3d80b7d..0000000 --- a/tests/yaml-test-suite/2LFX.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Spec Example 6.13. Reserved Directives [1.3] - from: 6LVF, modified for YAML 1.3 - tags: spec directive header double 1.3-mod - yaml: | - %FOO bar baz # Should be ignored - # with a warning. - --- - "foo" - tree: | - +STR - +DOC --- - =VAL "foo - -DOC - -STR - json: | - "foo" - dump: | - --- - "foo" - emit: | - --- "foo" diff --git a/tests/yaml-test-suite/2LFX/=== b/tests/yaml-test-suite/2LFX/=== new file mode 100644 index 0000000..d09a83b --- /dev/null +++ b/tests/yaml-test-suite/2LFX/=== @@ -0,0 +1 @@ +Spec Example 6.13. Reserved Directives [1.3] diff --git a/tests/yaml-test-suite/2LFX/emit.yaml b/tests/yaml-test-suite/2LFX/emit.yaml new file mode 100644 index 0000000..55a21ab --- /dev/null +++ b/tests/yaml-test-suite/2LFX/emit.yaml @@ -0,0 +1 @@ +--- "foo" diff --git a/tests/yaml-test-suite/2LFX/in.json b/tests/yaml-test-suite/2LFX/in.json new file mode 100644 index 0000000..810c96e --- /dev/null +++ b/tests/yaml-test-suite/2LFX/in.json @@ -0,0 +1 @@ +"foo" diff --git a/tests/yaml-test-suite/2LFX/in.yaml b/tests/yaml-test-suite/2LFX/in.yaml new file mode 100644 index 0000000..5068618 --- /dev/null +++ b/tests/yaml-test-suite/2LFX/in.yaml @@ -0,0 +1,4 @@ +%FOO bar baz # Should be ignored + # with a warning. +--- +"foo" diff --git a/tests/yaml-test-suite/2LFX/out.yaml b/tests/yaml-test-suite/2LFX/out.yaml new file mode 100644 index 0000000..bd3015b --- /dev/null +++ b/tests/yaml-test-suite/2LFX/out.yaml @@ -0,0 +1,2 @@ +--- +"foo" diff --git a/tests/yaml-test-suite/2LFX/test.event b/tests/yaml-test-suite/2LFX/test.event new file mode 100644 index 0000000..324d096 --- /dev/null +++ b/tests/yaml-test-suite/2LFX/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL "foo +-DOC +-STR diff --git a/tests/yaml-test-suite/2SXE.yaml b/tests/yaml-test-suite/2SXE.yaml deleted file mode 100644 index 44dae4d..0000000 --- a/tests/yaml-test-suite/2SXE.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Anchors With Colon in Name - from: Mailing List Discussion - tags: alias edge mapping 1.3-err - yaml: | - &a: key: &a value - foo: - *a: - tree: | - +STR - +DOC - +MAP - =VAL &a: :key - =VAL &a :value - =VAL :foo - =ALI *a: - -MAP - -DOC - -STR - json: | - { - "key": "value", - "foo": "key" - } - dump: | - &a: key: &a value - foo: *a: diff --git a/tests/yaml-test-suite/2SXE/=== b/tests/yaml-test-suite/2SXE/=== new file mode 100644 index 0000000..12b9e49 --- /dev/null +++ b/tests/yaml-test-suite/2SXE/=== @@ -0,0 +1 @@ +Anchors With Colon in Name diff --git a/tests/yaml-test-suite/2SXE/in.json b/tests/yaml-test-suite/2SXE/in.json new file mode 100644 index 0000000..d4470a6 --- /dev/null +++ b/tests/yaml-test-suite/2SXE/in.json @@ -0,0 +1,4 @@ +{ + "key": "value", + "foo": "key" +} diff --git a/tests/yaml-test-suite/2SXE/in.yaml b/tests/yaml-test-suite/2SXE/in.yaml new file mode 100644 index 0000000..243c466 --- /dev/null +++ b/tests/yaml-test-suite/2SXE/in.yaml @@ -0,0 +1,3 @@ +&a: key: &a value +foo: + *a: diff --git a/tests/yaml-test-suite/2SXE/out.yaml b/tests/yaml-test-suite/2SXE/out.yaml new file mode 100644 index 0000000..aa5cccd --- /dev/null +++ b/tests/yaml-test-suite/2SXE/out.yaml @@ -0,0 +1,2 @@ +&a: key: &a value +foo: *a: diff --git a/tests/yaml-test-suite/2SXE/test.event b/tests/yaml-test-suite/2SXE/test.event new file mode 100644 index 0000000..712bf45 --- /dev/null +++ b/tests/yaml-test-suite/2SXE/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL &a: :key +=VAL &a :value +=VAL :foo +=ALI *a: +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/2XXW.yaml b/tests/yaml-test-suite/2XXW.yaml deleted file mode 100644 index 83cad46..0000000 --- a/tests/yaml-test-suite/2XXW.yaml +++ /dev/null @@ -1,36 +0,0 @@ ---- -- name: Spec Example 2.25. Unordered Sets - from: http://www.yaml.org/spec/1.2/spec.html#id2761758 - tags: spec mapping unknown-tag explicit-key - yaml: | - # Sets are represented as a - # Mapping where each key is - # associated with a null value - --- !!set - ? Mark McGwire - ? Sammy Sosa - ? Ken Griff - tree: | - +STR - +DOC --- - +MAP - =VAL :Mark McGwire - =VAL : - =VAL :Sammy Sosa - =VAL : - =VAL :Ken Griff - =VAL : - -MAP - -DOC - -STR - json: | - { - "Mark McGwire": null, - "Sammy Sosa": null, - "Ken Griff": null - } - dump: | - --- !!set - Mark McGwire: - Sammy Sosa: - Ken Griff: diff --git a/tests/yaml-test-suite/2XXW/=== b/tests/yaml-test-suite/2XXW/=== new file mode 100644 index 0000000..86d060e --- /dev/null +++ b/tests/yaml-test-suite/2XXW/=== @@ -0,0 +1 @@ +Spec Example 2.25. Unordered Sets diff --git a/tests/yaml-test-suite/2XXW/in.json b/tests/yaml-test-suite/2XXW/in.json new file mode 100644 index 0000000..88daa64 --- /dev/null +++ b/tests/yaml-test-suite/2XXW/in.json @@ -0,0 +1,5 @@ +{ + "Mark McGwire": null, + "Sammy Sosa": null, + "Ken Griff": null +} diff --git a/tests/yaml-test-suite/2XXW/in.yaml b/tests/yaml-test-suite/2XXW/in.yaml new file mode 100644 index 0000000..cf4943a --- /dev/null +++ b/tests/yaml-test-suite/2XXW/in.yaml @@ -0,0 +1,7 @@ +# Sets are represented as a +# Mapping where each key is +# associated with a null value +--- !!set +? Mark McGwire +? Sammy Sosa +? Ken Griff diff --git a/tests/yaml-test-suite/2XXW/out.yaml b/tests/yaml-test-suite/2XXW/out.yaml new file mode 100644 index 0000000..4add043 --- /dev/null +++ b/tests/yaml-test-suite/2XXW/out.yaml @@ -0,0 +1,4 @@ +--- !!set +Mark McGwire: +Sammy Sosa: +Ken Griff: diff --git a/tests/yaml-test-suite/2XXW/test.event b/tests/yaml-test-suite/2XXW/test.event new file mode 100644 index 0000000..3e2a946 --- /dev/null +++ b/tests/yaml-test-suite/2XXW/test.event @@ -0,0 +1,12 @@ ++STR ++DOC --- ++MAP +=VAL :Mark McGwire +=VAL : +=VAL :Sammy Sosa +=VAL : +=VAL :Ken Griff +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/33X3.yaml b/tests/yaml-test-suite/33X3.yaml deleted file mode 100644 index 6068f92..0000000 --- a/tests/yaml-test-suite/33X3.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Three explicit integers in a block sequence - from: IRC - tags: sequence tag - yaml: | - --- - - !!int 1 - - !!int -2 - - !!int 33 - tree: | - +STR - +DOC --- - +SEQ - =VAL :1 - =VAL :-2 - =VAL :33 - -SEQ - -DOC - -STR - json: | - [ - 1, - -2, - 33 - ] - dump: | - --- - - !!int 1 - - !!int -2 - - !!int 33 diff --git a/tests/yaml-test-suite/33X3/=== b/tests/yaml-test-suite/33X3/=== new file mode 100644 index 0000000..bdebfba --- /dev/null +++ b/tests/yaml-test-suite/33X3/=== @@ -0,0 +1 @@ +Three explicit integers in a block sequence diff --git a/tests/yaml-test-suite/33X3/in.json b/tests/yaml-test-suite/33X3/in.json new file mode 100644 index 0000000..bc33116 --- /dev/null +++ b/tests/yaml-test-suite/33X3/in.json @@ -0,0 +1,5 @@ +[ + 1, + -2, + 33 +] diff --git a/tests/yaml-test-suite/33X3/in.yaml b/tests/yaml-test-suite/33X3/in.yaml new file mode 100644 index 0000000..c30779e --- /dev/null +++ b/tests/yaml-test-suite/33X3/in.yaml @@ -0,0 +1,4 @@ +--- +- !!int 1 +- !!int -2 +- !!int 33 diff --git a/tests/yaml-test-suite/33X3/out.yaml b/tests/yaml-test-suite/33X3/out.yaml new file mode 100644 index 0000000..c30779e --- /dev/null +++ b/tests/yaml-test-suite/33X3/out.yaml @@ -0,0 +1,4 @@ +--- +- !!int 1 +- !!int -2 +- !!int 33 diff --git a/tests/yaml-test-suite/33X3/test.event b/tests/yaml-test-suite/33X3/test.event new file mode 100644 index 0000000..54e9da1 --- /dev/null +++ b/tests/yaml-test-suite/33X3/test.event @@ -0,0 +1,9 @@ ++STR ++DOC --- ++SEQ +=VAL :1 +=VAL :-2 +=VAL :33 +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/35KP.yaml b/tests/yaml-test-suite/35KP.yaml deleted file mode 100644 index f89db13..0000000 --- a/tests/yaml-test-suite/35KP.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -- name: Tags for Root Objects - from: NimYAML tests - tags: explicit-key header mapping tag - yaml: | - --- !!map - ? a - : b - --- !!seq - - !!str c - --- !!str - d - e - tree: | - +STR - +DOC --- - +MAP - =VAL :a - =VAL :b - -MAP - -DOC - +DOC --- - +SEQ - =VAL :c - -SEQ - -DOC - +DOC --- - =VAL :d e - -DOC - -STR - json: | - { - "a": "b" - } - [ - "c" - ] - "d e" - dump: | - --- !!map - a: b - --- !!seq - - !!str c - --- !!str d e diff --git a/tests/yaml-test-suite/35KP/=== b/tests/yaml-test-suite/35KP/=== new file mode 100644 index 0000000..41ef48b --- /dev/null +++ b/tests/yaml-test-suite/35KP/=== @@ -0,0 +1 @@ +Tags for Root Objects diff --git a/tests/yaml-test-suite/35KP/in.json b/tests/yaml-test-suite/35KP/in.json new file mode 100644 index 0000000..f8e731c --- /dev/null +++ b/tests/yaml-test-suite/35KP/in.json @@ -0,0 +1,7 @@ +{ + "a": "b" +} +[ + "c" +] +"d e" diff --git a/tests/yaml-test-suite/35KP/in.yaml b/tests/yaml-test-suite/35KP/in.yaml new file mode 100644 index 0000000..f0d91aa --- /dev/null +++ b/tests/yaml-test-suite/35KP/in.yaml @@ -0,0 +1,8 @@ +--- !!map +? a +: b +--- !!seq +- !!str c +--- !!str +d +e diff --git a/tests/yaml-test-suite/35KP/out.yaml b/tests/yaml-test-suite/35KP/out.yaml new file mode 100644 index 0000000..75f8192 --- /dev/null +++ b/tests/yaml-test-suite/35KP/out.yaml @@ -0,0 +1,5 @@ +--- !!map +a: b +--- !!seq +- !!str c +--- !!str d e diff --git a/tests/yaml-test-suite/35KP/test.event b/tests/yaml-test-suite/35KP/test.event new file mode 100644 index 0000000..ab590fd --- /dev/null +++ b/tests/yaml-test-suite/35KP/test.event @@ -0,0 +1,16 @@ ++STR ++DOC --- ++MAP +=VAL :a +=VAL :b +-MAP +-DOC ++DOC --- ++SEQ +=VAL :c +-SEQ +-DOC ++DOC --- +=VAL :d e +-DOC +-STR diff --git a/tests/yaml-test-suite/36F6.yaml b/tests/yaml-test-suite/36F6.yaml deleted file mode 100644 index c4fe0b1..0000000 --- a/tests/yaml-test-suite/36F6.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Multiline plain scalar with empty line - from: '@perlpunk' - tags: mapping scalar - yaml: | - --- - plain: a - b - - c - tree: | - +STR - +DOC --- - +MAP - =VAL :plain - =VAL :a b\nc - -MAP - -DOC - -STR - json: | - { - "plain": "a b\nc" - } - dump: | - --- - plain: 'a b - - c' diff --git a/tests/yaml-test-suite/36F6/=== b/tests/yaml-test-suite/36F6/=== new file mode 100644 index 0000000..725683d --- /dev/null +++ b/tests/yaml-test-suite/36F6/=== @@ -0,0 +1 @@ +Multiline plain scalar with empty line diff --git a/tests/yaml-test-suite/36F6/in.json b/tests/yaml-test-suite/36F6/in.json new file mode 100644 index 0000000..026d7b4 --- /dev/null +++ b/tests/yaml-test-suite/36F6/in.json @@ -0,0 +1,3 @@ +{ + "plain": "a b\nc" +} diff --git a/tests/yaml-test-suite/36F6/in.yaml b/tests/yaml-test-suite/36F6/in.yaml new file mode 100644 index 0000000..71600b8 --- /dev/null +++ b/tests/yaml-test-suite/36F6/in.yaml @@ -0,0 +1,5 @@ +--- +plain: a + b + + c diff --git a/tests/yaml-test-suite/36F6/out.yaml b/tests/yaml-test-suite/36F6/out.yaml new file mode 100644 index 0000000..c13ce1e --- /dev/null +++ b/tests/yaml-test-suite/36F6/out.yaml @@ -0,0 +1,4 @@ +--- +plain: 'a b + + c' diff --git a/tests/yaml-test-suite/36F6/test.event b/tests/yaml-test-suite/36F6/test.event new file mode 100644 index 0000000..1221e48 --- /dev/null +++ b/tests/yaml-test-suite/36F6/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP +=VAL :plain +=VAL :a b\nc +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/3ALJ.yaml b/tests/yaml-test-suite/3ALJ.yaml deleted file mode 100644 index 7c2044c..0000000 --- a/tests/yaml-test-suite/3ALJ.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Block Sequence in Block Sequence - from: NimYAML tests - tags: sequence - yaml: | - - - s1_i1 - - s1_i2 - - s2 - tree: | - +STR - +DOC - +SEQ - +SEQ - =VAL :s1_i1 - =VAL :s1_i2 - -SEQ - =VAL :s2 - -SEQ - -DOC - -STR - json: | - [ - [ - "s1_i1", - "s1_i2" - ], - "s2" - ] diff --git a/tests/yaml-test-suite/3ALJ/=== b/tests/yaml-test-suite/3ALJ/=== new file mode 100644 index 0000000..877a73f --- /dev/null +++ b/tests/yaml-test-suite/3ALJ/=== @@ -0,0 +1 @@ +Block Sequence in Block Sequence diff --git a/tests/yaml-test-suite/3ALJ/in.json b/tests/yaml-test-suite/3ALJ/in.json new file mode 100644 index 0000000..71ea9d4 --- /dev/null +++ b/tests/yaml-test-suite/3ALJ/in.json @@ -0,0 +1,7 @@ +[ + [ + "s1_i1", + "s1_i2" + ], + "s2" +] diff --git a/tests/yaml-test-suite/3ALJ/in.yaml b/tests/yaml-test-suite/3ALJ/in.yaml new file mode 100644 index 0000000..4738eb1 --- /dev/null +++ b/tests/yaml-test-suite/3ALJ/in.yaml @@ -0,0 +1,3 @@ +- - s1_i1 + - s1_i2 +- s2 diff --git a/tests/yaml-test-suite/3ALJ/test.event b/tests/yaml-test-suite/3ALJ/test.event new file mode 100644 index 0000000..4f1622b --- /dev/null +++ b/tests/yaml-test-suite/3ALJ/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++SEQ ++SEQ +=VAL :s1_i1 +=VAL :s1_i2 +-SEQ +=VAL :s2 +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/3GZX.yaml b/tests/yaml-test-suite/3GZX.yaml deleted file mode 100644 index d5e68c2..0000000 --- a/tests/yaml-test-suite/3GZX.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Spec Example 7.1. Alias Nodes - from: http://www.yaml.org/spec/1.2/spec.html#id2786448 - tags: mapping spec alias - yaml: | - First occurrence: &anchor Foo - Second occurrence: *anchor - Override anchor: &anchor Bar - Reuse anchor: *anchor - tree: | - +STR - +DOC - +MAP - =VAL :First occurrence - =VAL &anchor :Foo - =VAL :Second occurrence - =ALI *anchor - =VAL :Override anchor - =VAL &anchor :Bar - =VAL :Reuse anchor - =ALI *anchor - -MAP - -DOC - -STR - json: | - { - "First occurrence": "Foo", - "Second occurrence": "Foo", - "Override anchor": "Bar", - "Reuse anchor": "Bar" - } diff --git a/tests/yaml-test-suite/3GZX/=== b/tests/yaml-test-suite/3GZX/=== new file mode 100644 index 0000000..92f8623 --- /dev/null +++ b/tests/yaml-test-suite/3GZX/=== @@ -0,0 +1 @@ +Spec Example 7.1. Alias Nodes diff --git a/tests/yaml-test-suite/3GZX/in.json b/tests/yaml-test-suite/3GZX/in.json new file mode 100644 index 0000000..4e09f3a --- /dev/null +++ b/tests/yaml-test-suite/3GZX/in.json @@ -0,0 +1,6 @@ +{ + "First occurrence": "Foo", + "Second occurrence": "Foo", + "Override anchor": "Bar", + "Reuse anchor": "Bar" +} diff --git a/tests/yaml-test-suite/3GZX/in.yaml b/tests/yaml-test-suite/3GZX/in.yaml new file mode 100644 index 0000000..3887676 --- /dev/null +++ b/tests/yaml-test-suite/3GZX/in.yaml @@ -0,0 +1,4 @@ +First occurrence: &anchor Foo +Second occurrence: *anchor +Override anchor: &anchor Bar +Reuse anchor: *anchor diff --git a/tests/yaml-test-suite/3GZX/test.event b/tests/yaml-test-suite/3GZX/test.event new file mode 100644 index 0000000..d1aa38c --- /dev/null +++ b/tests/yaml-test-suite/3GZX/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP +=VAL :First occurrence +=VAL &anchor :Foo +=VAL :Second occurrence +=ALI *anchor +=VAL :Override anchor +=VAL &anchor :Bar +=VAL :Reuse anchor +=ALI *anchor +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/3HFZ.yaml b/tests/yaml-test-suite/3HFZ.yaml deleted file mode 100644 index f83d768..0000000 --- a/tests/yaml-test-suite/3HFZ.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Invalid content after document end marker - from: '@perlpunk' - tags: error footer - fail: true - yaml: | - --- - key: value - ... invalid - tree: | - +STR - +DOC --- - +MAP - =VAL :key - =VAL :value - -MAP - -DOC ... diff --git a/tests/yaml-test-suite/3HFZ/=== b/tests/yaml-test-suite/3HFZ/=== new file mode 100644 index 0000000..81fd33a --- /dev/null +++ b/tests/yaml-test-suite/3HFZ/=== @@ -0,0 +1 @@ +Invalid content after document end marker diff --git a/tests/yaml-test-suite/3HFZ/error b/tests/yaml-test-suite/3HFZ/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/3HFZ/in.yaml b/tests/yaml-test-suite/3HFZ/in.yaml new file mode 100644 index 0000000..7d30422 --- /dev/null +++ b/tests/yaml-test-suite/3HFZ/in.yaml @@ -0,0 +1,3 @@ +--- +key: value +... invalid diff --git a/tests/yaml-test-suite/3HFZ/test.event b/tests/yaml-test-suite/3HFZ/test.event new file mode 100644 index 0000000..c3f805c --- /dev/null +++ b/tests/yaml-test-suite/3HFZ/test.event @@ -0,0 +1,7 @@ ++STR ++DOC --- ++MAP +=VAL :key +=VAL :value +-MAP +-DOC ... diff --git a/tests/yaml-test-suite/3MYT.yaml b/tests/yaml-test-suite/3MYT.yaml deleted file mode 100644 index 85644c6..0000000 --- a/tests/yaml-test-suite/3MYT.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Plain Scalar looking like key, comment, anchor and tag - from: https://gist.github.com/anonymous/a98d50ce42a59b1e999552bea7a31f57 via @ingydotnet - tags: scalar - yaml: | - --- - k:#foo - &a !t s - tree: | - +STR - +DOC --- - =VAL :k:#foo &a !t s - -DOC - -STR - json: | - "k:#foo &a !t s" - dump: | - --- k:#foo &a !t s diff --git a/tests/yaml-test-suite/3MYT/=== b/tests/yaml-test-suite/3MYT/=== new file mode 100644 index 0000000..16ee517 --- /dev/null +++ b/tests/yaml-test-suite/3MYT/=== @@ -0,0 +1 @@ +Plain Scalar looking like key, comment, anchor and tag diff --git a/tests/yaml-test-suite/3MYT/in.json b/tests/yaml-test-suite/3MYT/in.json new file mode 100644 index 0000000..1c50067 --- /dev/null +++ b/tests/yaml-test-suite/3MYT/in.json @@ -0,0 +1 @@ +"k:#foo &a !t s" diff --git a/tests/yaml-test-suite/3MYT/in.yaml b/tests/yaml-test-suite/3MYT/in.yaml new file mode 100644 index 0000000..04a1240 --- /dev/null +++ b/tests/yaml-test-suite/3MYT/in.yaml @@ -0,0 +1,3 @@ +--- +k:#foo + &a !t s diff --git a/tests/yaml-test-suite/3MYT/out.yaml b/tests/yaml-test-suite/3MYT/out.yaml new file mode 100644 index 0000000..eb75873 --- /dev/null +++ b/tests/yaml-test-suite/3MYT/out.yaml @@ -0,0 +1 @@ +--- k:#foo &a !t s diff --git a/tests/yaml-test-suite/3MYT/test.event b/tests/yaml-test-suite/3MYT/test.event new file mode 100644 index 0000000..e1f5738 --- /dev/null +++ b/tests/yaml-test-suite/3MYT/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :k:#foo &a !t s +-DOC +-STR diff --git a/tests/yaml-test-suite/3R3P.yaml b/tests/yaml-test-suite/3R3P.yaml deleted file mode 100644 index df3fef9..0000000 --- a/tests/yaml-test-suite/3R3P.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Single block sequence with anchor - from: '@perlpunk' - tags: anchor sequence - yaml: | - &sequence - - a - tree: | - +STR - +DOC - +SEQ &sequence - =VAL :a - -SEQ - -DOC - -STR - json: | - [ - "a" - ] - dump: | - &sequence - - a diff --git a/tests/yaml-test-suite/3R3P/=== b/tests/yaml-test-suite/3R3P/=== new file mode 100644 index 0000000..fff9c96 --- /dev/null +++ b/tests/yaml-test-suite/3R3P/=== @@ -0,0 +1 @@ +Single block sequence with anchor diff --git a/tests/yaml-test-suite/3R3P/in.json b/tests/yaml-test-suite/3R3P/in.json new file mode 100644 index 0000000..0ede90f --- /dev/null +++ b/tests/yaml-test-suite/3R3P/in.json @@ -0,0 +1,3 @@ +[ + "a" +] diff --git a/tests/yaml-test-suite/3R3P/in.yaml b/tests/yaml-test-suite/3R3P/in.yaml new file mode 100644 index 0000000..bc2204c --- /dev/null +++ b/tests/yaml-test-suite/3R3P/in.yaml @@ -0,0 +1,2 @@ +&sequence +- a diff --git a/tests/yaml-test-suite/3R3P/out.yaml b/tests/yaml-test-suite/3R3P/out.yaml new file mode 100644 index 0000000..bc2204c --- /dev/null +++ b/tests/yaml-test-suite/3R3P/out.yaml @@ -0,0 +1,2 @@ +&sequence +- a diff --git a/tests/yaml-test-suite/3R3P/test.event b/tests/yaml-test-suite/3R3P/test.event new file mode 100644 index 0000000..6e03840 --- /dev/null +++ b/tests/yaml-test-suite/3R3P/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ &sequence +=VAL :a +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/3RLN.yaml b/tests/yaml-test-suite/3RLN.yaml deleted file mode 100644 index 14de69a..0000000 --- a/tests/yaml-test-suite/3RLN.yaml +++ /dev/null @@ -1,87 +0,0 @@ ---- -- name: Leading tabs in double quoted - from: '@ingydotnet' - tags: double whitespace - yaml: | - "1 leading - \ttab" - tree: | - +STR - +DOC - =VAL "1 leading \ttab - -DOC - -STR - json: | - "1 leading \ttab" - emit: | - "1 leading \ttab" - -- yaml: | - "2 leading - \———»tab" - tree: | - +STR - +DOC - =VAL "2 leading \ttab - -DOC - -STR - json: | - "2 leading \ttab" - emit: | - "2 leading \ttab" - -- yaml: | - "3 leading - ————»tab" - tree: | - +STR - +DOC - =VAL "3 leading tab - -DOC - -STR - json: | - "3 leading tab" - emit: | - "3 leading tab" - -- yaml: | - "4 leading - \t tab" - tree: | - +STR - +DOC - =VAL "4 leading \t tab - -DOC - -STR - json: | - "4 leading \t tab" - emit: | - "4 leading \t tab" - -- yaml: | - "5 leading - \———» tab" - tree: | - +STR - +DOC - =VAL "5 leading \t tab - -DOC - -STR - json: | - "5 leading \t tab" - emit: | - "5 leading \t tab" - -- yaml: | - "6 leading - ————» tab" - tree: | - +STR - +DOC - =VAL "6 leading tab - -DOC - -STR - json: | - "6 leading tab" - emit: | - "6 leading tab" diff --git a/tests/yaml-test-suite/3RLN/00/=== b/tests/yaml-test-suite/3RLN/00/=== new file mode 100644 index 0000000..25e201f --- /dev/null +++ b/tests/yaml-test-suite/3RLN/00/=== @@ -0,0 +1 @@ +Leading tabs in double quoted diff --git a/tests/yaml-test-suite/3RLN/00/emit.yaml b/tests/yaml-test-suite/3RLN/00/emit.yaml new file mode 100644 index 0000000..821166a --- /dev/null +++ b/tests/yaml-test-suite/3RLN/00/emit.yaml @@ -0,0 +1 @@ +"1 leading \ttab" diff --git a/tests/yaml-test-suite/3RLN/00/in.json b/tests/yaml-test-suite/3RLN/00/in.json new file mode 100644 index 0000000..821166a --- /dev/null +++ b/tests/yaml-test-suite/3RLN/00/in.json @@ -0,0 +1 @@ +"1 leading \ttab" diff --git a/tests/yaml-test-suite/3RLN/00/in.yaml b/tests/yaml-test-suite/3RLN/00/in.yaml new file mode 100644 index 0000000..a6a23a8 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/00/in.yaml @@ -0,0 +1,2 @@ +"1 leading + \ttab" diff --git a/tests/yaml-test-suite/3RLN/00/test.event b/tests/yaml-test-suite/3RLN/00/test.event new file mode 100644 index 0000000..9472a18 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/00/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "1 leading \ttab +-DOC +-STR diff --git a/tests/yaml-test-suite/3RLN/01/=== b/tests/yaml-test-suite/3RLN/01/=== new file mode 100644 index 0000000..25e201f --- /dev/null +++ b/tests/yaml-test-suite/3RLN/01/=== @@ -0,0 +1 @@ +Leading tabs in double quoted diff --git a/tests/yaml-test-suite/3RLN/01/emit.yaml b/tests/yaml-test-suite/3RLN/01/emit.yaml new file mode 100644 index 0000000..29133b1 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/01/emit.yaml @@ -0,0 +1 @@ +"2 leading \ttab" diff --git a/tests/yaml-test-suite/3RLN/01/in.json b/tests/yaml-test-suite/3RLN/01/in.json new file mode 100644 index 0000000..29133b1 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/01/in.json @@ -0,0 +1 @@ +"2 leading \ttab" diff --git a/tests/yaml-test-suite/3RLN/01/in.yaml b/tests/yaml-test-suite/3RLN/01/in.yaml new file mode 100644 index 0000000..64057a8 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/01/in.yaml @@ -0,0 +1,2 @@ +"2 leading + \ tab" diff --git a/tests/yaml-test-suite/3RLN/01/test.event b/tests/yaml-test-suite/3RLN/01/test.event new file mode 100644 index 0000000..b864b91 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/01/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "2 leading \ttab +-DOC +-STR diff --git a/tests/yaml-test-suite/3RLN/02/=== b/tests/yaml-test-suite/3RLN/02/=== new file mode 100644 index 0000000..25e201f --- /dev/null +++ b/tests/yaml-test-suite/3RLN/02/=== @@ -0,0 +1 @@ +Leading tabs in double quoted diff --git a/tests/yaml-test-suite/3RLN/02/emit.yaml b/tests/yaml-test-suite/3RLN/02/emit.yaml new file mode 100644 index 0000000..9f23c05 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/02/emit.yaml @@ -0,0 +1 @@ +"3 leading tab" diff --git a/tests/yaml-test-suite/3RLN/02/in.json b/tests/yaml-test-suite/3RLN/02/in.json new file mode 100644 index 0000000..9f23c05 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/02/in.json @@ -0,0 +1 @@ +"3 leading tab" diff --git a/tests/yaml-test-suite/3RLN/02/in.yaml b/tests/yaml-test-suite/3RLN/02/in.yaml new file mode 100644 index 0000000..3b18adc --- /dev/null +++ b/tests/yaml-test-suite/3RLN/02/in.yaml @@ -0,0 +1,2 @@ +"3 leading + tab" diff --git a/tests/yaml-test-suite/3RLN/02/test.event b/tests/yaml-test-suite/3RLN/02/test.event new file mode 100644 index 0000000..25ffca0 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/02/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "3 leading tab +-DOC +-STR diff --git a/tests/yaml-test-suite/3RLN/03/=== b/tests/yaml-test-suite/3RLN/03/=== new file mode 100644 index 0000000..25e201f --- /dev/null +++ b/tests/yaml-test-suite/3RLN/03/=== @@ -0,0 +1 @@ +Leading tabs in double quoted diff --git a/tests/yaml-test-suite/3RLN/03/emit.yaml b/tests/yaml-test-suite/3RLN/03/emit.yaml new file mode 100644 index 0000000..75b57d9 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/03/emit.yaml @@ -0,0 +1 @@ +"4 leading \t tab" diff --git a/tests/yaml-test-suite/3RLN/03/in.json b/tests/yaml-test-suite/3RLN/03/in.json new file mode 100644 index 0000000..75b57d9 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/03/in.json @@ -0,0 +1 @@ +"4 leading \t tab" diff --git a/tests/yaml-test-suite/3RLN/03/in.yaml b/tests/yaml-test-suite/3RLN/03/in.yaml new file mode 100644 index 0000000..815c713 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/03/in.yaml @@ -0,0 +1,2 @@ +"4 leading + \t tab" diff --git a/tests/yaml-test-suite/3RLN/03/test.event b/tests/yaml-test-suite/3RLN/03/test.event new file mode 100644 index 0000000..e3c2f45 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/03/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "4 leading \t tab +-DOC +-STR diff --git a/tests/yaml-test-suite/3RLN/04/=== b/tests/yaml-test-suite/3RLN/04/=== new file mode 100644 index 0000000..25e201f --- /dev/null +++ b/tests/yaml-test-suite/3RLN/04/=== @@ -0,0 +1 @@ +Leading tabs in double quoted diff --git a/tests/yaml-test-suite/3RLN/04/emit.yaml b/tests/yaml-test-suite/3RLN/04/emit.yaml new file mode 100644 index 0000000..f73076a --- /dev/null +++ b/tests/yaml-test-suite/3RLN/04/emit.yaml @@ -0,0 +1 @@ +"5 leading \t tab" diff --git a/tests/yaml-test-suite/3RLN/04/in.json b/tests/yaml-test-suite/3RLN/04/in.json new file mode 100644 index 0000000..f73076a --- /dev/null +++ b/tests/yaml-test-suite/3RLN/04/in.json @@ -0,0 +1 @@ +"5 leading \t tab" diff --git a/tests/yaml-test-suite/3RLN/04/in.yaml b/tests/yaml-test-suite/3RLN/04/in.yaml new file mode 100644 index 0000000..07e14f5 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/04/in.yaml @@ -0,0 +1,2 @@ +"5 leading + \ tab" diff --git a/tests/yaml-test-suite/3RLN/04/test.event b/tests/yaml-test-suite/3RLN/04/test.event new file mode 100644 index 0000000..d240316 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/04/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "5 leading \t tab +-DOC +-STR diff --git a/tests/yaml-test-suite/3RLN/05/=== b/tests/yaml-test-suite/3RLN/05/=== new file mode 100644 index 0000000..25e201f --- /dev/null +++ b/tests/yaml-test-suite/3RLN/05/=== @@ -0,0 +1 @@ +Leading tabs in double quoted diff --git a/tests/yaml-test-suite/3RLN/05/emit.yaml b/tests/yaml-test-suite/3RLN/05/emit.yaml new file mode 100644 index 0000000..46d1f8c --- /dev/null +++ b/tests/yaml-test-suite/3RLN/05/emit.yaml @@ -0,0 +1 @@ +"6 leading tab" diff --git a/tests/yaml-test-suite/3RLN/05/in.json b/tests/yaml-test-suite/3RLN/05/in.json new file mode 100644 index 0000000..46d1f8c --- /dev/null +++ b/tests/yaml-test-suite/3RLN/05/in.json @@ -0,0 +1 @@ +"6 leading tab" diff --git a/tests/yaml-test-suite/3RLN/05/in.yaml b/tests/yaml-test-suite/3RLN/05/in.yaml new file mode 100644 index 0000000..75222d3 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/05/in.yaml @@ -0,0 +1,2 @@ +"6 leading + tab" diff --git a/tests/yaml-test-suite/3RLN/05/test.event b/tests/yaml-test-suite/3RLN/05/test.event new file mode 100644 index 0000000..7e19da4 --- /dev/null +++ b/tests/yaml-test-suite/3RLN/05/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "6 leading tab +-DOC +-STR diff --git a/tests/yaml-test-suite/3UYS.yaml b/tests/yaml-test-suite/3UYS.yaml deleted file mode 100644 index 781181c..0000000 --- a/tests/yaml-test-suite/3UYS.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Escaped slash in double quotes - from: '@perlpunk' - tags: double - yaml: | - escaped slash: "a\/b" - tree: | - +STR - +DOC - +MAP - =VAL :escaped slash - =VAL "a/b - -MAP - -DOC - -STR - json: | - { - "escaped slash": "a/b" - } - dump: | - escaped slash: "a/b" diff --git a/tests/yaml-test-suite/3UYS/=== b/tests/yaml-test-suite/3UYS/=== new file mode 100644 index 0000000..3f33f27 --- /dev/null +++ b/tests/yaml-test-suite/3UYS/=== @@ -0,0 +1 @@ +Escaped slash in double quotes diff --git a/tests/yaml-test-suite/3UYS/in.json b/tests/yaml-test-suite/3UYS/in.json new file mode 100644 index 0000000..6119ed9 --- /dev/null +++ b/tests/yaml-test-suite/3UYS/in.json @@ -0,0 +1,3 @@ +{ + "escaped slash": "a/b" +} diff --git a/tests/yaml-test-suite/3UYS/in.yaml b/tests/yaml-test-suite/3UYS/in.yaml new file mode 100644 index 0000000..e47bf72 --- /dev/null +++ b/tests/yaml-test-suite/3UYS/in.yaml @@ -0,0 +1 @@ +escaped slash: "a\/b" diff --git a/tests/yaml-test-suite/3UYS/out.yaml b/tests/yaml-test-suite/3UYS/out.yaml new file mode 100644 index 0000000..fccadcf --- /dev/null +++ b/tests/yaml-test-suite/3UYS/out.yaml @@ -0,0 +1 @@ +escaped slash: "a/b" diff --git a/tests/yaml-test-suite/3UYS/test.event b/tests/yaml-test-suite/3UYS/test.event new file mode 100644 index 0000000..6ef81d6 --- /dev/null +++ b/tests/yaml-test-suite/3UYS/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :escaped slash +=VAL "a/b +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/4ABK.yaml b/tests/yaml-test-suite/4ABK.yaml deleted file mode 100644 index 8c0ed87..0000000 --- a/tests/yaml-test-suite/4ABK.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Flow Mapping Separate Values - from: http://www.yaml.org/spec/1.2/spec.html#id2791704 - tags: flow mapping - yaml: | - { - unquoted : "separate", - http://foo.com, - omitted value:, - } - tree: | - +STR - +DOC - +MAP {} - =VAL :unquoted - =VAL "separate - =VAL :http://foo.com - =VAL : - =VAL :omitted value - =VAL : - -MAP - -DOC - -STR - dump: | - unquoted: "separate" - http://foo.com: null - omitted value: null diff --git a/tests/yaml-test-suite/4ABK/=== b/tests/yaml-test-suite/4ABK/=== new file mode 100644 index 0000000..2adad80 --- /dev/null +++ b/tests/yaml-test-suite/4ABK/=== @@ -0,0 +1 @@ +Flow Mapping Separate Values diff --git a/tests/yaml-test-suite/4ABK/in.yaml b/tests/yaml-test-suite/4ABK/in.yaml new file mode 100644 index 0000000..c80379b --- /dev/null +++ b/tests/yaml-test-suite/4ABK/in.yaml @@ -0,0 +1,5 @@ +{ +unquoted : "separate", +http://foo.com, +omitted value:, +} diff --git a/tests/yaml-test-suite/4ABK/out.yaml b/tests/yaml-test-suite/4ABK/out.yaml new file mode 100644 index 0000000..3734c11 --- /dev/null +++ b/tests/yaml-test-suite/4ABK/out.yaml @@ -0,0 +1,3 @@ +unquoted: "separate" +http://foo.com: null +omitted value: null diff --git a/tests/yaml-test-suite/4ABK/test.event b/tests/yaml-test-suite/4ABK/test.event new file mode 100644 index 0000000..a1edb4d --- /dev/null +++ b/tests/yaml-test-suite/4ABK/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP {} +=VAL :unquoted +=VAL "separate +=VAL :http://foo.com +=VAL : +=VAL :omitted value +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/4CQQ.yaml b/tests/yaml-test-suite/4CQQ.yaml deleted file mode 100644 index 3af04ed..0000000 --- a/tests/yaml-test-suite/4CQQ.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Spec Example 2.18. Multi-line Flow Scalars - from: http://www.yaml.org/spec/1.2/spec.html#id2761268 - tags: spec scalar - yaml: | - plain: - This unquoted scalar - spans many lines. - - quoted: "So does this - quoted scalar.\n" - tree: | - +STR - +DOC - +MAP - =VAL :plain - =VAL :This unquoted scalar spans many lines. - =VAL :quoted - =VAL "So does this quoted scalar.\n - -MAP - -DOC - -STR - json: | - { - "plain": "This unquoted scalar spans many lines.", - "quoted": "So does this quoted scalar.\n" - } - dump: | - plain: This unquoted scalar spans many lines. - quoted: "So does this quoted scalar.\n" diff --git a/tests/yaml-test-suite/4CQQ/=== b/tests/yaml-test-suite/4CQQ/=== new file mode 100644 index 0000000..f3dac59 --- /dev/null +++ b/tests/yaml-test-suite/4CQQ/=== @@ -0,0 +1 @@ +Spec Example 2.18. Multi-line Flow Scalars diff --git a/tests/yaml-test-suite/4CQQ/in.json b/tests/yaml-test-suite/4CQQ/in.json new file mode 100644 index 0000000..018e242 --- /dev/null +++ b/tests/yaml-test-suite/4CQQ/in.json @@ -0,0 +1,4 @@ +{ + "plain": "This unquoted scalar spans many lines.", + "quoted": "So does this quoted scalar.\n" +} diff --git a/tests/yaml-test-suite/4CQQ/in.yaml b/tests/yaml-test-suite/4CQQ/in.yaml new file mode 100644 index 0000000..e0a8bfa --- /dev/null +++ b/tests/yaml-test-suite/4CQQ/in.yaml @@ -0,0 +1,6 @@ +plain: + This unquoted scalar + spans many lines. + +quoted: "So does this + quoted scalar.\n" diff --git a/tests/yaml-test-suite/4CQQ/out.yaml b/tests/yaml-test-suite/4CQQ/out.yaml new file mode 100644 index 0000000..434f237 --- /dev/null +++ b/tests/yaml-test-suite/4CQQ/out.yaml @@ -0,0 +1,2 @@ +plain: This unquoted scalar spans many lines. +quoted: "So does this quoted scalar.\n" diff --git a/tests/yaml-test-suite/4CQQ/test.event b/tests/yaml-test-suite/4CQQ/test.event new file mode 100644 index 0000000..ea9d1bd --- /dev/null +++ b/tests/yaml-test-suite/4CQQ/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :plain +=VAL :This unquoted scalar spans many lines. +=VAL :quoted +=VAL "So does this quoted scalar.\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/4EJS.yaml b/tests/yaml-test-suite/4EJS.yaml deleted file mode 100644 index 16b8643..0000000 --- a/tests/yaml-test-suite/4EJS.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Invalid tabs as indendation in a mapping - from: https://github.com/nodeca/js-yaml/issues/80 - tags: error mapping whitespace - fail: true - yaml: | - --- - a: - ———»b: - ———»———»c: value - tree: | - +STR - +DOC --- - +MAP - =VAL :a diff --git a/tests/yaml-test-suite/4EJS/=== b/tests/yaml-test-suite/4EJS/=== new file mode 100644 index 0000000..25dc4b4 --- /dev/null +++ b/tests/yaml-test-suite/4EJS/=== @@ -0,0 +1 @@ +Invalid tabs as indendation in a mapping diff --git a/tests/yaml-test-suite/4EJS/error b/tests/yaml-test-suite/4EJS/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/4EJS/in.yaml b/tests/yaml-test-suite/4EJS/in.yaml new file mode 100644 index 0000000..b507e20 --- /dev/null +++ b/tests/yaml-test-suite/4EJS/in.yaml @@ -0,0 +1,4 @@ +--- +a: + b: + c: value diff --git a/tests/yaml-test-suite/4EJS/test.event b/tests/yaml-test-suite/4EJS/test.event new file mode 100644 index 0000000..886e653 --- /dev/null +++ b/tests/yaml-test-suite/4EJS/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++MAP +=VAL :a diff --git a/tests/yaml-test-suite/4FJ6.yaml b/tests/yaml-test-suite/4FJ6.yaml deleted file mode 100644 index dee37a8..0000000 --- a/tests/yaml-test-suite/4FJ6.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -- name: Nested implicit complex keys - from: '@perlpunk' - tags: complex-key flow mapping sequence - yaml: | - --- - [ - [ a, [ [[b,c]]: d, e]]: 23 - ] - tree: | - +STR - +DOC --- - +SEQ [] - +MAP {} - +SEQ [] - =VAL :a - +SEQ [] - +MAP {} - +SEQ [] - +SEQ [] - =VAL :b - =VAL :c - -SEQ - -SEQ - =VAL :d - -MAP - =VAL :e - -SEQ - -SEQ - =VAL :23 - -MAP - -SEQ - -DOC - -STR - dump: | - --- - - ? - a - - - ? - - b - - c - : d - - e - : 23 diff --git a/tests/yaml-test-suite/4FJ6/=== b/tests/yaml-test-suite/4FJ6/=== new file mode 100644 index 0000000..f7dccbf --- /dev/null +++ b/tests/yaml-test-suite/4FJ6/=== @@ -0,0 +1 @@ +Nested implicit complex keys diff --git a/tests/yaml-test-suite/4FJ6/in.yaml b/tests/yaml-test-suite/4FJ6/in.yaml new file mode 100644 index 0000000..3f4aabe --- /dev/null +++ b/tests/yaml-test-suite/4FJ6/in.yaml @@ -0,0 +1,4 @@ +--- +[ + [ a, [ [[b,c]]: d, e]]: 23 +] diff --git a/tests/yaml-test-suite/4FJ6/out.yaml b/tests/yaml-test-suite/4FJ6/out.yaml new file mode 100644 index 0000000..7c81aa9 --- /dev/null +++ b/tests/yaml-test-suite/4FJ6/out.yaml @@ -0,0 +1,7 @@ +--- +- ? - a + - - ? - - b + - c + : d + - e + : 23 diff --git a/tests/yaml-test-suite/4FJ6/test.event b/tests/yaml-test-suite/4FJ6/test.event new file mode 100644 index 0000000..da361fd --- /dev/null +++ b/tests/yaml-test-suite/4FJ6/test.event @@ -0,0 +1,24 @@ ++STR ++DOC --- ++SEQ [] ++MAP {} ++SEQ [] +=VAL :a ++SEQ [] ++MAP {} ++SEQ [] ++SEQ [] +=VAL :b +=VAL :c +-SEQ +-SEQ +=VAL :d +-MAP +=VAL :e +-SEQ +-SEQ +=VAL :23 +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/4GC6.yaml b/tests/yaml-test-suite/4GC6.yaml deleted file mode 100644 index 732618b..0000000 --- a/tests/yaml-test-suite/4GC6.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Spec Example 7.7. Single Quoted Characters - from: http://www.yaml.org/spec/1.2/spec.html#id2788307 - tags: spec scalar 1.3-err - yaml: | - 'here''s to "quotes"' - tree: | - +STR - +DOC - =VAL 'here's to "quotes" - -DOC - -STR - json: | - "here's to \"quotes\"" diff --git a/tests/yaml-test-suite/4GC6/=== b/tests/yaml-test-suite/4GC6/=== new file mode 100644 index 0000000..b60be81 --- /dev/null +++ b/tests/yaml-test-suite/4GC6/=== @@ -0,0 +1 @@ +Spec Example 7.7. Single Quoted Characters diff --git a/tests/yaml-test-suite/4GC6/in.json b/tests/yaml-test-suite/4GC6/in.json new file mode 100644 index 0000000..fdc456c --- /dev/null +++ b/tests/yaml-test-suite/4GC6/in.json @@ -0,0 +1 @@ +"here's to \"quotes\"" diff --git a/tests/yaml-test-suite/4GC6/in.yaml b/tests/yaml-test-suite/4GC6/in.yaml new file mode 100644 index 0000000..3efcb91 --- /dev/null +++ b/tests/yaml-test-suite/4GC6/in.yaml @@ -0,0 +1 @@ +'here''s to "quotes"' diff --git a/tests/yaml-test-suite/4GC6/test.event b/tests/yaml-test-suite/4GC6/test.event new file mode 100644 index 0000000..d1efb0e --- /dev/null +++ b/tests/yaml-test-suite/4GC6/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL 'here's to "quotes" +-DOC +-STR diff --git a/tests/yaml-test-suite/4H7K.yaml b/tests/yaml-test-suite/4H7K.yaml deleted file mode 100644 index 66228b2..0000000 --- a/tests/yaml-test-suite/4H7K.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Flow sequence with invalid extra closing bracket - from: '@perlpunk' - tags: error flow sequence - fail: true - yaml: | - --- - [ a, b, c ] ] - tree: | - +STR - +DOC --- - +SEQ - =VAL :a - =VAL :b - =VAL :c - -SEQ - -DOC diff --git a/tests/yaml-test-suite/4H7K/=== b/tests/yaml-test-suite/4H7K/=== new file mode 100644 index 0000000..1cb24f3 --- /dev/null +++ b/tests/yaml-test-suite/4H7K/=== @@ -0,0 +1 @@ +Flow sequence with invalid extra closing bracket diff --git a/tests/yaml-test-suite/4H7K/error b/tests/yaml-test-suite/4H7K/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/4H7K/in.yaml b/tests/yaml-test-suite/4H7K/in.yaml new file mode 100644 index 0000000..686440d --- /dev/null +++ b/tests/yaml-test-suite/4H7K/in.yaml @@ -0,0 +1,2 @@ +--- +[ a, b, c ] ] diff --git a/tests/yaml-test-suite/4H7K/test.event b/tests/yaml-test-suite/4H7K/test.event new file mode 100644 index 0000000..007493c --- /dev/null +++ b/tests/yaml-test-suite/4H7K/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++SEQ +=VAL :a +=VAL :b +=VAL :c +-SEQ +-DOC diff --git a/tests/yaml-test-suite/4HVU.yaml b/tests/yaml-test-suite/4HVU.yaml deleted file mode 100644 index dce4ae0..0000000 --- a/tests/yaml-test-suite/4HVU.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: Wrong indendation in Sequence - from: '@perlpunk' - tags: error sequence indent - fail: true - yaml: | - key: - - ok - - also ok - - wrong - tree: | - +STR - +DOC - +MAP - =VAL :key - +SEQ - =VAL :ok - =VAL :also ok - -SEQ diff --git a/tests/yaml-test-suite/4HVU/=== b/tests/yaml-test-suite/4HVU/=== new file mode 100644 index 0000000..3a3fe33 --- /dev/null +++ b/tests/yaml-test-suite/4HVU/=== @@ -0,0 +1 @@ +Wrong indendation in Sequence diff --git a/tests/yaml-test-suite/4HVU/error b/tests/yaml-test-suite/4HVU/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/4HVU/in.yaml b/tests/yaml-test-suite/4HVU/in.yaml new file mode 100644 index 0000000..d4118cb --- /dev/null +++ b/tests/yaml-test-suite/4HVU/in.yaml @@ -0,0 +1,4 @@ +key: + - ok + - also ok + - wrong diff --git a/tests/yaml-test-suite/4HVU/test.event b/tests/yaml-test-suite/4HVU/test.event new file mode 100644 index 0000000..9e4de12 --- /dev/null +++ b/tests/yaml-test-suite/4HVU/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :key ++SEQ +=VAL :ok +=VAL :also ok +-SEQ diff --git a/tests/yaml-test-suite/4JVG.yaml b/tests/yaml-test-suite/4JVG.yaml deleted file mode 100644 index 69fff4f..0000000 --- a/tests/yaml-test-suite/4JVG.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Scalar value with two anchors - from: '@perlpunk' - tags: anchor error mapping - fail: true - yaml: | - top1: &node1 - &k1 key1: val1 - top2: &node2 - &v2 val2 - tree: | - +STR - +DOC - +MAP - =VAL :top1 - +MAP &node1 - =VAL &k1 :key1 - =VAL :val1 - -MAP - =VAL :top2 diff --git a/tests/yaml-test-suite/4JVG/=== b/tests/yaml-test-suite/4JVG/=== new file mode 100644 index 0000000..ef03921 --- /dev/null +++ b/tests/yaml-test-suite/4JVG/=== @@ -0,0 +1 @@ +Scalar value with two anchors diff --git a/tests/yaml-test-suite/4JVG/error b/tests/yaml-test-suite/4JVG/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/4JVG/in.yaml b/tests/yaml-test-suite/4JVG/in.yaml new file mode 100644 index 0000000..9afb769 --- /dev/null +++ b/tests/yaml-test-suite/4JVG/in.yaml @@ -0,0 +1,4 @@ +top1: &node1 + &k1 key1: val1 +top2: &node2 + &v2 val2 diff --git a/tests/yaml-test-suite/4JVG/test.event b/tests/yaml-test-suite/4JVG/test.event new file mode 100644 index 0000000..5541cfd --- /dev/null +++ b/tests/yaml-test-suite/4JVG/test.event @@ -0,0 +1,9 @@ ++STR ++DOC ++MAP +=VAL :top1 ++MAP &node1 +=VAL &k1 :key1 +=VAL :val1 +-MAP +=VAL :top2 diff --git a/tests/yaml-test-suite/4MUZ.yaml b/tests/yaml-test-suite/4MUZ.yaml deleted file mode 100644 index 758db65..0000000 --- a/tests/yaml-test-suite/4MUZ.yaml +++ /dev/null @@ -1,56 +0,0 @@ ---- -- name: Flow mapping colon on line after key - from: '@ingydotnet' - tags: flow mapping - yaml: | - {"foo" - : "bar"} - tree: | - +STR - +DOC - +MAP {} - =VAL "foo - =VAL "bar - -MAP - -DOC - -STR - json: | - { - "foo": "bar" - } - emit: | - "foo": "bar" - -- yaml: | - {"foo" - : bar} - tree: | - +STR - +DOC - +MAP {} - =VAL "foo - =VAL :bar - -MAP - -DOC - -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/tests/yaml-test-suite/4MUZ/00/=== b/tests/yaml-test-suite/4MUZ/00/=== new file mode 100644 index 0000000..c061235 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/00/=== @@ -0,0 +1 @@ +Flow mapping colon on line after key diff --git a/tests/yaml-test-suite/4MUZ/00/emit.yaml b/tests/yaml-test-suite/4MUZ/00/emit.yaml new file mode 100644 index 0000000..7da5d9d --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/00/emit.yaml @@ -0,0 +1 @@ +"foo": "bar" diff --git a/tests/yaml-test-suite/4MUZ/00/in.json b/tests/yaml-test-suite/4MUZ/00/in.json new file mode 100644 index 0000000..c8c4105 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/00/in.json @@ -0,0 +1,3 @@ +{ + "foo": "bar" +} diff --git a/tests/yaml-test-suite/4MUZ/00/in.yaml b/tests/yaml-test-suite/4MUZ/00/in.yaml new file mode 100644 index 0000000..d80f798 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/00/in.yaml @@ -0,0 +1,2 @@ +{"foo" +: "bar"} diff --git a/tests/yaml-test-suite/4MUZ/00/test.event b/tests/yaml-test-suite/4MUZ/00/test.event new file mode 100644 index 0000000..c8fe433 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/00/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP {} +=VAL "foo +=VAL "bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/4MUZ/01/=== b/tests/yaml-test-suite/4MUZ/01/=== new file mode 100644 index 0000000..c061235 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/01/=== @@ -0,0 +1 @@ +Flow mapping colon on line after key diff --git a/tests/yaml-test-suite/4MUZ/01/emit.yaml b/tests/yaml-test-suite/4MUZ/01/emit.yaml new file mode 100644 index 0000000..09dde01 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/01/emit.yaml @@ -0,0 +1 @@ +"foo": bar diff --git a/tests/yaml-test-suite/4MUZ/01/in.json b/tests/yaml-test-suite/4MUZ/01/in.json new file mode 100644 index 0000000..c8c4105 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/01/in.json @@ -0,0 +1,3 @@ +{ + "foo": "bar" +} diff --git a/tests/yaml-test-suite/4MUZ/01/in.yaml b/tests/yaml-test-suite/4MUZ/01/in.yaml new file mode 100644 index 0000000..0ad38e8 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/01/in.yaml @@ -0,0 +1,2 @@ +{"foo" +: bar} diff --git a/tests/yaml-test-suite/4MUZ/01/test.event b/tests/yaml-test-suite/4MUZ/01/test.event new file mode 100644 index 0000000..3552afd --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/01/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP {} +=VAL "foo +=VAL :bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/4MUZ/02/=== b/tests/yaml-test-suite/4MUZ/02/=== new file mode 100644 index 0000000..c061235 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/02/=== @@ -0,0 +1 @@ +Flow mapping colon on line after key diff --git a/tests/yaml-test-suite/4MUZ/02/emit.yaml b/tests/yaml-test-suite/4MUZ/02/emit.yaml new file mode 100644 index 0000000..20e9ff3 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/02/emit.yaml @@ -0,0 +1 @@ +foo: bar diff --git a/tests/yaml-test-suite/4MUZ/02/in.json b/tests/yaml-test-suite/4MUZ/02/in.json new file mode 100644 index 0000000..c8c4105 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/02/in.json @@ -0,0 +1,3 @@ +{ + "foo": "bar" +} diff --git a/tests/yaml-test-suite/4MUZ/02/in.yaml b/tests/yaml-test-suite/4MUZ/02/in.yaml new file mode 100644 index 0000000..f3b4057 --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/02/in.yaml @@ -0,0 +1,2 @@ +{foo +: bar} diff --git a/tests/yaml-test-suite/4MUZ/02/test.event b/tests/yaml-test-suite/4MUZ/02/test.event new file mode 100644 index 0000000..dfdf43c --- /dev/null +++ b/tests/yaml-test-suite/4MUZ/02/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP {} +=VAL :foo +=VAL :bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/4Q9F.yaml b/tests/yaml-test-suite/4Q9F.yaml deleted file mode 100644 index a0f663a..0000000 --- a/tests/yaml-test-suite/4Q9F.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Folded Block Scalar [1.3] - from: TS54, modified for YAML 1.3 - tags: folded scalar 1.3-mod whitespace - yaml: | - --- > - ab - cd - ␣ - ef - - - gh - tree: | - +STR - +DOC --- - =VAL >ab cd\nef\n\ngh\n - -DOC - -STR - json: | - "ab cd\nef\n\ngh\n" - dump: | - --- > - ab cd - - ef - - - gh diff --git a/tests/yaml-test-suite/4Q9F/=== b/tests/yaml-test-suite/4Q9F/=== new file mode 100644 index 0000000..f17802b --- /dev/null +++ b/tests/yaml-test-suite/4Q9F/=== @@ -0,0 +1 @@ +Folded Block Scalar [1.3] diff --git a/tests/yaml-test-suite/4Q9F/in.json b/tests/yaml-test-suite/4Q9F/in.json new file mode 100644 index 0000000..c63e7ba --- /dev/null +++ b/tests/yaml-test-suite/4Q9F/in.json @@ -0,0 +1 @@ +"ab cd\nef\n\ngh\n" diff --git a/tests/yaml-test-suite/4Q9F/in.yaml b/tests/yaml-test-suite/4Q9F/in.yaml new file mode 100644 index 0000000..63a62ab --- /dev/null +++ b/tests/yaml-test-suite/4Q9F/in.yaml @@ -0,0 +1,8 @@ +--- > + ab + cd + + ef + + + gh diff --git a/tests/yaml-test-suite/4Q9F/out.yaml b/tests/yaml-test-suite/4Q9F/out.yaml new file mode 100644 index 0000000..c685738 --- /dev/null +++ b/tests/yaml-test-suite/4Q9F/out.yaml @@ -0,0 +1,7 @@ +--- > + ab cd + + ef + + + gh diff --git a/tests/yaml-test-suite/4Q9F/test.event b/tests/yaml-test-suite/4Q9F/test.event new file mode 100644 index 0000000..e01d210 --- /dev/null +++ b/tests/yaml-test-suite/4Q9F/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL >ab cd\nef\n\ngh\n +-DOC +-STR diff --git a/tests/yaml-test-suite/4QFQ.yaml b/tests/yaml-test-suite/4QFQ.yaml deleted file mode 100644 index 5fac10d..0000000 --- a/tests/yaml-test-suite/4QFQ.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -- name: Spec Example 8.2. Block Indentation Indicator [1.3] - from: R4YG, modified for YAML 1.3 - tags: spec literal folded scalar libyaml-err 1.3-mod whitespace - yaml: | - - | - detected - - > - ␣ - ␣␣ - # detected - - |1 - explicit - - > - detected - tree: | - +STR - +DOC - +SEQ - =VAL |detected\n - =VAL >\n\n# detected\n - =VAL | explicit\n - =VAL >detected\n - -SEQ - -DOC - -STR - json: | - [ - "detected\n", - "\n\n# detected\n", - " explicit\n", - "detected\n" - ] - emit: | - - | - detected - - >2 - - - # detected - - |2 - explicit - - > - detected diff --git a/tests/yaml-test-suite/4QFQ/=== b/tests/yaml-test-suite/4QFQ/=== new file mode 100644 index 0000000..87e9306 --- /dev/null +++ b/tests/yaml-test-suite/4QFQ/=== @@ -0,0 +1 @@ +Spec Example 8.2. Block Indentation Indicator [1.3] diff --git a/tests/yaml-test-suite/4QFQ/emit.yaml b/tests/yaml-test-suite/4QFQ/emit.yaml new file mode 100644 index 0000000..227bacf --- /dev/null +++ b/tests/yaml-test-suite/4QFQ/emit.yaml @@ -0,0 +1,10 @@ +- | + detected +- >2 + + + # detected +- |2 + explicit +- > + detected diff --git a/tests/yaml-test-suite/4QFQ/in.json b/tests/yaml-test-suite/4QFQ/in.json new file mode 100644 index 0000000..6963db1 --- /dev/null +++ b/tests/yaml-test-suite/4QFQ/in.json @@ -0,0 +1,6 @@ +[ + "detected\n", + "\n\n# detected\n", + " explicit\n", + "detected\n" +] diff --git a/tests/yaml-test-suite/4QFQ/in.yaml b/tests/yaml-test-suite/4QFQ/in.yaml new file mode 100644 index 0000000..079de26 --- /dev/null +++ b/tests/yaml-test-suite/4QFQ/in.yaml @@ -0,0 +1,10 @@ +- | + detected +- > + + + # detected +- |1 + explicit +- > + detected diff --git a/tests/yaml-test-suite/4QFQ/test.event b/tests/yaml-test-suite/4QFQ/test.event new file mode 100644 index 0000000..6395611 --- /dev/null +++ b/tests/yaml-test-suite/4QFQ/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ +=VAL |detected\n +=VAL >\n\n# detected\n +=VAL | explicit\n +=VAL >detected\n +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/4RWC.yaml b/tests/yaml-test-suite/4RWC.yaml deleted file mode 100644 index 4e800b5..0000000 --- a/tests/yaml-test-suite/4RWC.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Trailing spaces after flow collection - tags: flow whitespace - from: '@ingydotnet' - yaml: |2 - [1, 2, 3]␣␣ - ␣␣∎ - tree: | - +STR - +DOC - +SEQ [] - =VAL :1 - =VAL :2 - =VAL :3 - -SEQ - -DOC - -STR - json: | - [ - 1, - 2, - 3 - ] - dump: | - - 1 - - 2 - - 3 diff --git a/tests/yaml-test-suite/4RWC/=== b/tests/yaml-test-suite/4RWC/=== new file mode 100644 index 0000000..2e7aa1b --- /dev/null +++ b/tests/yaml-test-suite/4RWC/=== @@ -0,0 +1 @@ +Trailing spaces after flow collection diff --git a/tests/yaml-test-suite/4RWC/in.json b/tests/yaml-test-suite/4RWC/in.json new file mode 100644 index 0000000..a85b7c9 --- /dev/null +++ b/tests/yaml-test-suite/4RWC/in.json @@ -0,0 +1,5 @@ +[ + 1, + 2, + 3 +] diff --git a/tests/yaml-test-suite/4RWC/in.yaml b/tests/yaml-test-suite/4RWC/in.yaml new file mode 100644 index 0000000..4337a64 --- /dev/null +++ b/tests/yaml-test-suite/4RWC/in.yaml @@ -0,0 +1,2 @@ + [1, 2, 3] + \ No newline at end of file diff --git a/tests/yaml-test-suite/4RWC/out.yaml b/tests/yaml-test-suite/4RWC/out.yaml new file mode 100644 index 0000000..a0cd6f3 --- /dev/null +++ b/tests/yaml-test-suite/4RWC/out.yaml @@ -0,0 +1,3 @@ +- 1 +- 2 +- 3 diff --git a/tests/yaml-test-suite/4RWC/test.event b/tests/yaml-test-suite/4RWC/test.event new file mode 100644 index 0000000..e4ac376 --- /dev/null +++ b/tests/yaml-test-suite/4RWC/test.event @@ -0,0 +1,9 @@ ++STR ++DOC ++SEQ [] +=VAL :1 +=VAL :2 +=VAL :3 +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/4UYU.yaml b/tests/yaml-test-suite/4UYU.yaml deleted file mode 100644 index 6b28d53..0000000 --- a/tests/yaml-test-suite/4UYU.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Colon in Double Quoted String - from: NimYAML tests - tags: mapping scalar 1.3-err - yaml: | - "foo: bar\": baz" - tree: | - +STR - +DOC - =VAL "foo: bar": baz - -DOC - -STR - json: | - "foo: bar\": baz" diff --git a/tests/yaml-test-suite/4UYU/=== b/tests/yaml-test-suite/4UYU/=== new file mode 100644 index 0000000..49e330b --- /dev/null +++ b/tests/yaml-test-suite/4UYU/=== @@ -0,0 +1 @@ +Colon in Double Quoted String diff --git a/tests/yaml-test-suite/4UYU/in.json b/tests/yaml-test-suite/4UYU/in.json new file mode 100644 index 0000000..912727e --- /dev/null +++ b/tests/yaml-test-suite/4UYU/in.json @@ -0,0 +1 @@ +"foo: bar\": baz" diff --git a/tests/yaml-test-suite/4UYU/in.yaml b/tests/yaml-test-suite/4UYU/in.yaml new file mode 100644 index 0000000..912727e --- /dev/null +++ b/tests/yaml-test-suite/4UYU/in.yaml @@ -0,0 +1 @@ +"foo: bar\": baz" diff --git a/tests/yaml-test-suite/4UYU/test.event b/tests/yaml-test-suite/4UYU/test.event new file mode 100644 index 0000000..f3676a7 --- /dev/null +++ b/tests/yaml-test-suite/4UYU/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "foo: bar": baz +-DOC +-STR diff --git a/tests/yaml-test-suite/4V8U.yaml b/tests/yaml-test-suite/4V8U.yaml deleted file mode 100644 index 26561ec..0000000 --- a/tests/yaml-test-suite/4V8U.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Plain scalar with backslashes - from: '@perlpunk' - tags: scalar - yaml: | - --- - plain\value\with\backslashes - tree: | - +STR - +DOC --- - =VAL :plain\\value\\with\\backslashes - -DOC - -STR - json: | - "plain\\value\\with\\backslashes" - dump: | - --- plain\value\with\backslashes diff --git a/tests/yaml-test-suite/4V8U/=== b/tests/yaml-test-suite/4V8U/=== new file mode 100644 index 0000000..a159bf1 --- /dev/null +++ b/tests/yaml-test-suite/4V8U/=== @@ -0,0 +1 @@ +Plain scalar with backslashes diff --git a/tests/yaml-test-suite/4V8U/in.json b/tests/yaml-test-suite/4V8U/in.json new file mode 100644 index 0000000..8391b93 --- /dev/null +++ b/tests/yaml-test-suite/4V8U/in.json @@ -0,0 +1 @@ +"plain\\value\\with\\backslashes" diff --git a/tests/yaml-test-suite/4V8U/in.yaml b/tests/yaml-test-suite/4V8U/in.yaml new file mode 100644 index 0000000..9a786b3 --- /dev/null +++ b/tests/yaml-test-suite/4V8U/in.yaml @@ -0,0 +1,2 @@ +--- +plain\value\with\backslashes diff --git a/tests/yaml-test-suite/4V8U/out.yaml b/tests/yaml-test-suite/4V8U/out.yaml new file mode 100644 index 0000000..637ad4b --- /dev/null +++ b/tests/yaml-test-suite/4V8U/out.yaml @@ -0,0 +1 @@ +--- plain\value\with\backslashes diff --git a/tests/yaml-test-suite/4V8U/test.event b/tests/yaml-test-suite/4V8U/test.event new file mode 100644 index 0000000..9d7d9dd --- /dev/null +++ b/tests/yaml-test-suite/4V8U/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :plain\\value\\with\\backslashes +-DOC +-STR diff --git a/tests/yaml-test-suite/4WA9.yaml b/tests/yaml-test-suite/4WA9.yaml deleted file mode 100644 index 4f9be4a..0000000 --- a/tests/yaml-test-suite/4WA9.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- name: Literal scalars - from: '@ingydotnet' - tags: indent literal - yaml: | - - aaa: |2 - xxx - bbb: | - xxx - tree: | - +STR - +DOC - +SEQ - +MAP - =VAL :aaa - =VAL |xxx\n - =VAL :bbb - =VAL |xxx\n - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "aaa" : "xxx\n", - "bbb" : "xxx\n" - } - ] - dump: | - --- - - aaa: | - xxx - bbb: | - xxx - emit: | - - aaa: | - xxx - bbb: | - xxx diff --git a/tests/yaml-test-suite/4WA9/=== b/tests/yaml-test-suite/4WA9/=== new file mode 100644 index 0000000..194334e --- /dev/null +++ b/tests/yaml-test-suite/4WA9/=== @@ -0,0 +1 @@ +Literal scalars diff --git a/tests/yaml-test-suite/4WA9/emit.yaml b/tests/yaml-test-suite/4WA9/emit.yaml new file mode 100644 index 0000000..44f31c4 --- /dev/null +++ b/tests/yaml-test-suite/4WA9/emit.yaml @@ -0,0 +1,4 @@ +- aaa: | + xxx + bbb: | + xxx diff --git a/tests/yaml-test-suite/4WA9/in.json b/tests/yaml-test-suite/4WA9/in.json new file mode 100644 index 0000000..bc81564 --- /dev/null +++ b/tests/yaml-test-suite/4WA9/in.json @@ -0,0 +1,6 @@ +[ + { + "aaa" : "xxx\n", + "bbb" : "xxx\n" + } +] diff --git a/tests/yaml-test-suite/4WA9/in.yaml b/tests/yaml-test-suite/4WA9/in.yaml new file mode 100644 index 0000000..0d9917e --- /dev/null +++ b/tests/yaml-test-suite/4WA9/in.yaml @@ -0,0 +1,4 @@ +- aaa: |2 + xxx + bbb: | + xxx diff --git a/tests/yaml-test-suite/4WA9/out.yaml b/tests/yaml-test-suite/4WA9/out.yaml new file mode 100644 index 0000000..c552489 --- /dev/null +++ b/tests/yaml-test-suite/4WA9/out.yaml @@ -0,0 +1,5 @@ +--- +- aaa: | + xxx + bbb: | + xxx diff --git a/tests/yaml-test-suite/4WA9/test.event b/tests/yaml-test-suite/4WA9/test.event new file mode 100644 index 0000000..f73c27a --- /dev/null +++ b/tests/yaml-test-suite/4WA9/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++SEQ ++MAP +=VAL :aaa +=VAL |xxx\n +=VAL :bbb +=VAL |xxx\n +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/4ZYM.yaml b/tests/yaml-test-suite/4ZYM.yaml deleted file mode 100644 index c57907e..0000000 --- a/tests/yaml-test-suite/4ZYM.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -- name: Spec Example 6.4. Line Prefixes - from: http://www.yaml.org/spec/1.2/spec.html#id2778720 - tags: spec scalar literal double upto-1.2 whitespace - yaml: | - plain: text - lines - quoted: "text - —»lines" - block: | - text - »lines - tree: | - +STR - +DOC - +MAP - =VAL :plain - =VAL :text lines - =VAL :quoted - =VAL "text lines - =VAL :block - =VAL |text\n \tlines\n - -MAP - -DOC - -STR - json: | - { - "plain": "text lines", - "quoted": "text lines", - "block": "text\n \tlines\n" - } - dump: | - plain: text lines - quoted: "text lines" - block: "text\n \tlines\n" - emit: | - plain: text lines - quoted: "text lines" - block: | - text - »lines diff --git a/tests/yaml-test-suite/4ZYM/=== b/tests/yaml-test-suite/4ZYM/=== new file mode 100644 index 0000000..0a84414 --- /dev/null +++ b/tests/yaml-test-suite/4ZYM/=== @@ -0,0 +1 @@ +Spec Example 6.4. Line Prefixes diff --git a/tests/yaml-test-suite/4ZYM/emit.yaml b/tests/yaml-test-suite/4ZYM/emit.yaml new file mode 100644 index 0000000..b4b19e7 --- /dev/null +++ b/tests/yaml-test-suite/4ZYM/emit.yaml @@ -0,0 +1,5 @@ +plain: text lines +quoted: "text lines" +block: | + text + lines diff --git a/tests/yaml-test-suite/4ZYM/in.json b/tests/yaml-test-suite/4ZYM/in.json new file mode 100644 index 0000000..b90f107 --- /dev/null +++ b/tests/yaml-test-suite/4ZYM/in.json @@ -0,0 +1,5 @@ +{ + "plain": "text lines", + "quoted": "text lines", + "block": "text\n \tlines\n" +} diff --git a/tests/yaml-test-suite/4ZYM/in.yaml b/tests/yaml-test-suite/4ZYM/in.yaml new file mode 100644 index 0000000..2f62d08 --- /dev/null +++ b/tests/yaml-test-suite/4ZYM/in.yaml @@ -0,0 +1,7 @@ +plain: text + lines +quoted: "text + lines" +block: | + text + lines diff --git a/tests/yaml-test-suite/4ZYM/out.yaml b/tests/yaml-test-suite/4ZYM/out.yaml new file mode 100644 index 0000000..1df6f00 --- /dev/null +++ b/tests/yaml-test-suite/4ZYM/out.yaml @@ -0,0 +1,3 @@ +plain: text lines +quoted: "text lines" +block: "text\n \tlines\n" diff --git a/tests/yaml-test-suite/4ZYM/test.event b/tests/yaml-test-suite/4ZYM/test.event new file mode 100644 index 0000000..5bd005b --- /dev/null +++ b/tests/yaml-test-suite/4ZYM/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :plain +=VAL :text lines +=VAL :quoted +=VAL "text lines +=VAL :block +=VAL |text\n \tlines\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/52DL.yaml b/tests/yaml-test-suite/52DL.yaml deleted file mode 100644 index 42749d3..0000000 --- a/tests/yaml-test-suite/52DL.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Explicit Non-Specific Tag [1.3] - from: 8MK2, modified for YAML 1.3 - tags: tag 1.3-mod - yaml: | - --- - ! a - tree: | - +STR - +DOC --- - =VAL :a - -DOC - -STR - json: | - "a" - dump: | - --- ! a diff --git a/tests/yaml-test-suite/52DL/=== b/tests/yaml-test-suite/52DL/=== new file mode 100644 index 0000000..bce0295 --- /dev/null +++ b/tests/yaml-test-suite/52DL/=== @@ -0,0 +1 @@ +Explicit Non-Specific Tag [1.3] diff --git a/tests/yaml-test-suite/52DL/in.json b/tests/yaml-test-suite/52DL/in.json new file mode 100644 index 0000000..231f150 --- /dev/null +++ b/tests/yaml-test-suite/52DL/in.json @@ -0,0 +1 @@ +"a" diff --git a/tests/yaml-test-suite/52DL/in.yaml b/tests/yaml-test-suite/52DL/in.yaml new file mode 100644 index 0000000..ed7ee4e --- /dev/null +++ b/tests/yaml-test-suite/52DL/in.yaml @@ -0,0 +1,2 @@ +--- +! a diff --git a/tests/yaml-test-suite/52DL/out.yaml b/tests/yaml-test-suite/52DL/out.yaml new file mode 100644 index 0000000..aafbbc1 --- /dev/null +++ b/tests/yaml-test-suite/52DL/out.yaml @@ -0,0 +1 @@ +--- ! a diff --git a/tests/yaml-test-suite/52DL/test.event b/tests/yaml-test-suite/52DL/test.event new file mode 100644 index 0000000..e04212e --- /dev/null +++ b/tests/yaml-test-suite/52DL/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :a +-DOC +-STR diff --git a/tests/yaml-test-suite/54T7.yaml b/tests/yaml-test-suite/54T7.yaml deleted file mode 100644 index d08227d..0000000 --- a/tests/yaml-test-suite/54T7.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Flow Mapping - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/mapping.tml - tags: flow mapping - yaml: | - {foo: you, bar: far} - tree: | - +STR - +DOC - +MAP {} - =VAL :foo - =VAL :you - =VAL :bar - =VAL :far - -MAP - -DOC - -STR - json: | - { - "foo": "you", - "bar": "far" - } - dump: | - foo: you - bar: far diff --git a/tests/yaml-test-suite/54T7/=== b/tests/yaml-test-suite/54T7/=== new file mode 100644 index 0000000..1362730 --- /dev/null +++ b/tests/yaml-test-suite/54T7/=== @@ -0,0 +1 @@ +Flow Mapping diff --git a/tests/yaml-test-suite/54T7/in.json b/tests/yaml-test-suite/54T7/in.json new file mode 100644 index 0000000..639f014 --- /dev/null +++ b/tests/yaml-test-suite/54T7/in.json @@ -0,0 +1,4 @@ +{ + "foo": "you", + "bar": "far" +} diff --git a/tests/yaml-test-suite/54T7/in.yaml b/tests/yaml-test-suite/54T7/in.yaml new file mode 100644 index 0000000..fc448be --- /dev/null +++ b/tests/yaml-test-suite/54T7/in.yaml @@ -0,0 +1 @@ +{foo: you, bar: far} diff --git a/tests/yaml-test-suite/54T7/out.yaml b/tests/yaml-test-suite/54T7/out.yaml new file mode 100644 index 0000000..d2ec29c --- /dev/null +++ b/tests/yaml-test-suite/54T7/out.yaml @@ -0,0 +1,2 @@ +foo: you +bar: far diff --git a/tests/yaml-test-suite/54T7/test.event b/tests/yaml-test-suite/54T7/test.event new file mode 100644 index 0000000..4b12db7 --- /dev/null +++ b/tests/yaml-test-suite/54T7/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP {} +=VAL :foo +=VAL :you +=VAL :bar +=VAL :far +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/55WF.yaml b/tests/yaml-test-suite/55WF.yaml deleted file mode 100644 index 88d84e5..0000000 --- a/tests/yaml-test-suite/55WF.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Invalid escape in double quoted string - from: '@perlpunk' - tags: error double - fail: true - yaml: | - --- - "\." - tree: | - +STR - +DOC --- diff --git a/tests/yaml-test-suite/55WF/=== b/tests/yaml-test-suite/55WF/=== new file mode 100644 index 0000000..6185b89 --- /dev/null +++ b/tests/yaml-test-suite/55WF/=== @@ -0,0 +1 @@ +Invalid escape in double quoted string diff --git a/tests/yaml-test-suite/55WF/error b/tests/yaml-test-suite/55WF/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/55WF/in.yaml b/tests/yaml-test-suite/55WF/in.yaml new file mode 100644 index 0000000..73ef8bc --- /dev/null +++ b/tests/yaml-test-suite/55WF/in.yaml @@ -0,0 +1,2 @@ +--- +"\." diff --git a/tests/yaml-test-suite/55WF/test.event b/tests/yaml-test-suite/55WF/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/55WF/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/565N.yaml b/tests/yaml-test-suite/565N.yaml deleted file mode 100644 index d2986b4..0000000 --- a/tests/yaml-test-suite/565N.yaml +++ /dev/null @@ -1,36 +0,0 @@ ---- -- name: Construct Binary - from: https://github.com/yaml/pyyaml/blob/master/tests/data/construct-binary-py2.data - tags: tag unknown-tag - yaml: | - canonical: !!binary "\ - R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\ - OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\ - +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\ - AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" - generic: !!binary | - R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5 - OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+ - +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC - AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= - description: - The binary value above is a tiny arrow encoded as a gif image. - tree: | - +STR - +DOC - +MAP - =VAL :canonical - =VAL "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLCAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= - =VAL :generic - =VAL |R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\nOTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\n+f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\nAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=\n - =VAL :description - =VAL :The binary value above is a tiny arrow encoded as a gif image. - -MAP - -DOC - -STR - json: | - { - "canonical": "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLCAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=", - "generic": "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\nOTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\n+f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\nAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=\n", - "description": "The binary value above is a tiny arrow encoded as a gif image." - } diff --git a/tests/yaml-test-suite/565N/=== b/tests/yaml-test-suite/565N/=== new file mode 100644 index 0000000..06b8954 --- /dev/null +++ b/tests/yaml-test-suite/565N/=== @@ -0,0 +1 @@ +Construct Binary diff --git a/tests/yaml-test-suite/565N/in.json b/tests/yaml-test-suite/565N/in.json new file mode 100644 index 0000000..4b6d817 --- /dev/null +++ b/tests/yaml-test-suite/565N/in.json @@ -0,0 +1,5 @@ +{ + "canonical": "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLCAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=", + "generic": "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\nOTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\n+f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\nAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=\n", + "description": "The binary value above is a tiny arrow encoded as a gif image." +} diff --git a/tests/yaml-test-suite/565N/in.yaml b/tests/yaml-test-suite/565N/in.yaml new file mode 100644 index 0000000..dcdb16f --- /dev/null +++ b/tests/yaml-test-suite/565N/in.yaml @@ -0,0 +1,12 @@ +canonical: !!binary "\ + R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\ + OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\ + +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\ + AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=" +generic: !!binary | + R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5 + OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+ + +f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC + AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= +description: + The binary value above is a tiny arrow encoded as a gif image. diff --git a/tests/yaml-test-suite/565N/test.event b/tests/yaml-test-suite/565N/test.event new file mode 100644 index 0000000..72c44bf --- /dev/null +++ b/tests/yaml-test-suite/565N/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :canonical +=VAL "R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLCAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs= +=VAL :generic +=VAL |R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5\nOTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+\n+f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC\nAgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=\n +=VAL :description +=VAL :The binary value above is a tiny arrow encoded as a gif image. +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/57H4.yaml b/tests/yaml-test-suite/57H4.yaml deleted file mode 100644 index d16f095..0000000 --- a/tests/yaml-test-suite/57H4.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Spec Example 8.22. Block Collection Nodes - from: http://www.yaml.org/spec/1.2/spec.html#id2800008 - tags: sequence mapping tag - yaml: | - sequence: !!seq - - entry - - !!seq - - nested - mapping: !!map - foo: bar - tree: | - +STR - +DOC - +MAP - =VAL :sequence - +SEQ - =VAL :entry - +SEQ - =VAL :nested - -SEQ - -SEQ - =VAL :mapping - +MAP - =VAL :foo - =VAL :bar - -MAP - -MAP - -DOC - -STR - json: | - { - "sequence": [ - "entry", - [ - "nested" - ] - ], - "mapping": { - "foo": "bar" - } - } - dump: | - sequence: !!seq - - entry - - !!seq - - nested - mapping: !!map - foo: bar diff --git a/tests/yaml-test-suite/57H4/=== b/tests/yaml-test-suite/57H4/=== new file mode 100644 index 0000000..b89ee20 --- /dev/null +++ b/tests/yaml-test-suite/57H4/=== @@ -0,0 +1 @@ +Spec Example 8.22. Block Collection Nodes diff --git a/tests/yaml-test-suite/57H4/in.json b/tests/yaml-test-suite/57H4/in.json new file mode 100644 index 0000000..ed69b21 --- /dev/null +++ b/tests/yaml-test-suite/57H4/in.json @@ -0,0 +1,11 @@ +{ + "sequence": [ + "entry", + [ + "nested" + ] + ], + "mapping": { + "foo": "bar" + } +} diff --git a/tests/yaml-test-suite/57H4/in.yaml b/tests/yaml-test-suite/57H4/in.yaml new file mode 100644 index 0000000..5c59669 --- /dev/null +++ b/tests/yaml-test-suite/57H4/in.yaml @@ -0,0 +1,6 @@ +sequence: !!seq +- entry +- !!seq + - nested +mapping: !!map + foo: bar diff --git a/tests/yaml-test-suite/57H4/out.yaml b/tests/yaml-test-suite/57H4/out.yaml new file mode 100644 index 0000000..29a609d --- /dev/null +++ b/tests/yaml-test-suite/57H4/out.yaml @@ -0,0 +1,6 @@ +sequence: !!seq +- entry +- !!seq + - nested +mapping: !!map + foo: bar diff --git a/tests/yaml-test-suite/57H4/test.event b/tests/yaml-test-suite/57H4/test.event new file mode 100644 index 0000000..879772a --- /dev/null +++ b/tests/yaml-test-suite/57H4/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++MAP +=VAL :sequence ++SEQ +=VAL :entry ++SEQ +=VAL :nested +-SEQ +-SEQ +=VAL :mapping ++MAP +=VAL :foo +=VAL :bar +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/58MP.yaml b/tests/yaml-test-suite/58MP.yaml deleted file mode 100644 index 485e5ae..0000000 --- a/tests/yaml-test-suite/58MP.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Flow mapping edge cases - from: '@ingydotnet' - tags: edge flow mapping - yaml: | - {x: :x} - tree: | - +STR - +DOC - +MAP {} - =VAL :x - =VAL ::x - -MAP - -DOC - -STR - json: | - { - "x": ":x" - } - dump: | - x: :x diff --git a/tests/yaml-test-suite/58MP/=== b/tests/yaml-test-suite/58MP/=== new file mode 100644 index 0000000..2cd50de --- /dev/null +++ b/tests/yaml-test-suite/58MP/=== @@ -0,0 +1 @@ +Flow mapping edge cases diff --git a/tests/yaml-test-suite/58MP/in.json b/tests/yaml-test-suite/58MP/in.json new file mode 100644 index 0000000..a6ef103 --- /dev/null +++ b/tests/yaml-test-suite/58MP/in.json @@ -0,0 +1,3 @@ +{ + "x": ":x" +} diff --git a/tests/yaml-test-suite/58MP/in.yaml b/tests/yaml-test-suite/58MP/in.yaml new file mode 100644 index 0000000..21d0ff9 --- /dev/null +++ b/tests/yaml-test-suite/58MP/in.yaml @@ -0,0 +1 @@ +{x: :x} diff --git a/tests/yaml-test-suite/58MP/out.yaml b/tests/yaml-test-suite/58MP/out.yaml new file mode 100644 index 0000000..9f7fc9a --- /dev/null +++ b/tests/yaml-test-suite/58MP/out.yaml @@ -0,0 +1 @@ +x: :x diff --git a/tests/yaml-test-suite/58MP/test.event b/tests/yaml-test-suite/58MP/test.event new file mode 100644 index 0000000..a71e008 --- /dev/null +++ b/tests/yaml-test-suite/58MP/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP {} +=VAL :x +=VAL ::x +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/5BVJ.yaml b/tests/yaml-test-suite/5BVJ.yaml deleted file mode 100644 index 1aebbce..0000000 --- a/tests/yaml-test-suite/5BVJ.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 5.7. Block Scalar Indicators - from: http://www.yaml.org/spec/1.2/spec.html#id2773653 - tags: spec literal folded scalar - yaml: | - literal: | - some - text - folded: > - some - text - tree: | - +STR - +DOC - +MAP - =VAL :literal - =VAL |some\ntext\n - =VAL :folded - =VAL >some text\n - -MAP - -DOC - -STR - json: | - { - "literal": "some\ntext\n", - "folded": "some text\n" - } - dump: | - literal: | - some - text - folded: > - some text diff --git a/tests/yaml-test-suite/5BVJ/=== b/tests/yaml-test-suite/5BVJ/=== new file mode 100644 index 0000000..62d7a8b --- /dev/null +++ b/tests/yaml-test-suite/5BVJ/=== @@ -0,0 +1 @@ +Spec Example 5.7. Block Scalar Indicators diff --git a/tests/yaml-test-suite/5BVJ/in.json b/tests/yaml-test-suite/5BVJ/in.json new file mode 100644 index 0000000..a150c17 --- /dev/null +++ b/tests/yaml-test-suite/5BVJ/in.json @@ -0,0 +1,4 @@ +{ + "literal": "some\ntext\n", + "folded": "some text\n" +} diff --git a/tests/yaml-test-suite/5BVJ/in.yaml b/tests/yaml-test-suite/5BVJ/in.yaml new file mode 100644 index 0000000..934726c --- /dev/null +++ b/tests/yaml-test-suite/5BVJ/in.yaml @@ -0,0 +1,6 @@ +literal: | + some + text +folded: > + some + text diff --git a/tests/yaml-test-suite/5BVJ/out.yaml b/tests/yaml-test-suite/5BVJ/out.yaml new file mode 100644 index 0000000..9a2f613 --- /dev/null +++ b/tests/yaml-test-suite/5BVJ/out.yaml @@ -0,0 +1,5 @@ +literal: | + some + text +folded: > + some text diff --git a/tests/yaml-test-suite/5BVJ/test.event b/tests/yaml-test-suite/5BVJ/test.event new file mode 100644 index 0000000..b9ee2ee --- /dev/null +++ b/tests/yaml-test-suite/5BVJ/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :literal +=VAL |some\ntext\n +=VAL :folded +=VAL >some text\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/5C5M.yaml b/tests/yaml-test-suite/5C5M.yaml deleted file mode 100644 index d9f7803..0000000 --- a/tests/yaml-test-suite/5C5M.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -- name: Spec Example 7.15. Flow Mappings - from: http://www.yaml.org/spec/1.2/spec.html#id2791018 - tags: spec flow mapping - yaml: | - - { one : two , three: four , } - - {five: six,seven : eight} - tree: | - +STR - +DOC - +SEQ - +MAP {} - =VAL :one - =VAL :two - =VAL :three - =VAL :four - -MAP - +MAP {} - =VAL :five - =VAL :six - =VAL :seven - =VAL :eight - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "one": "two", - "three": "four" - }, - { - "five": "six", - "seven": "eight" - } - ] - dump: | - - one: two - three: four - - five: six - seven: eight diff --git a/tests/yaml-test-suite/5C5M/=== b/tests/yaml-test-suite/5C5M/=== new file mode 100644 index 0000000..66eab64 --- /dev/null +++ b/tests/yaml-test-suite/5C5M/=== @@ -0,0 +1 @@ +Spec Example 7.15. Flow Mappings diff --git a/tests/yaml-test-suite/5C5M/in.json b/tests/yaml-test-suite/5C5M/in.json new file mode 100644 index 0000000..b516097 --- /dev/null +++ b/tests/yaml-test-suite/5C5M/in.json @@ -0,0 +1,10 @@ +[ + { + "one": "two", + "three": "four" + }, + { + "five": "six", + "seven": "eight" + } +] diff --git a/tests/yaml-test-suite/5C5M/in.yaml b/tests/yaml-test-suite/5C5M/in.yaml new file mode 100644 index 0000000..0718643 --- /dev/null +++ b/tests/yaml-test-suite/5C5M/in.yaml @@ -0,0 +1,2 @@ +- { one : two , three: four , } +- {five: six,seven : eight} diff --git a/tests/yaml-test-suite/5C5M/out.yaml b/tests/yaml-test-suite/5C5M/out.yaml new file mode 100644 index 0000000..236d725 --- /dev/null +++ b/tests/yaml-test-suite/5C5M/out.yaml @@ -0,0 +1,4 @@ +- one: two + three: four +- five: six + seven: eight diff --git a/tests/yaml-test-suite/5C5M/test.event b/tests/yaml-test-suite/5C5M/test.event new file mode 100644 index 0000000..ae12fba --- /dev/null +++ b/tests/yaml-test-suite/5C5M/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++SEQ ++MAP {} +=VAL :one +=VAL :two +=VAL :three +=VAL :four +-MAP ++MAP {} +=VAL :five +=VAL :six +=VAL :seven +=VAL :eight +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/5GBF.yaml b/tests/yaml-test-suite/5GBF.yaml deleted file mode 100644 index 98cd36e..0000000 --- a/tests/yaml-test-suite/5GBF.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 6.5. Empty Lines - from: http://www.yaml.org/spec/1.2/spec.html#id2778971 - tags: double literal spec scalar upto-1.2 whitespace - yaml: | - Folding: - "Empty line - » - as a line feed" - Chomping: | - Clipped empty lines - ␣ - ↵ - tree: | - +STR - +DOC - +MAP - =VAL :Folding - =VAL "Empty line\nas a line feed - =VAL :Chomping - =VAL |Clipped empty lines\n - -MAP - -DOC - -STR - json: | - { - "Folding": "Empty line\nas a line feed", - "Chomping": "Clipped empty lines\n" - } - dump: | - Folding: "Empty line\nas a line feed" - Chomping: | - Clipped empty lines diff --git a/tests/yaml-test-suite/5GBF/=== b/tests/yaml-test-suite/5GBF/=== new file mode 100644 index 0000000..9c809a2 --- /dev/null +++ b/tests/yaml-test-suite/5GBF/=== @@ -0,0 +1 @@ +Spec Example 6.5. Empty Lines diff --git a/tests/yaml-test-suite/5GBF/in.json b/tests/yaml-test-suite/5GBF/in.json new file mode 100644 index 0000000..41a96a1 --- /dev/null +++ b/tests/yaml-test-suite/5GBF/in.json @@ -0,0 +1,4 @@ +{ + "Folding": "Empty line\nas a line feed", + "Chomping": "Clipped empty lines\n" +} diff --git a/tests/yaml-test-suite/5GBF/in.yaml b/tests/yaml-test-suite/5GBF/in.yaml new file mode 100644 index 0000000..60958d5 --- /dev/null +++ b/tests/yaml-test-suite/5GBF/in.yaml @@ -0,0 +1,8 @@ +Folding: + "Empty line + + as a line feed" +Chomping: | + Clipped empty lines + + diff --git a/tests/yaml-test-suite/5GBF/out.yaml b/tests/yaml-test-suite/5GBF/out.yaml new file mode 100644 index 0000000..c91fcdd --- /dev/null +++ b/tests/yaml-test-suite/5GBF/out.yaml @@ -0,0 +1,3 @@ +Folding: "Empty line\nas a line feed" +Chomping: | + Clipped empty lines diff --git a/tests/yaml-test-suite/5GBF/test.event b/tests/yaml-test-suite/5GBF/test.event new file mode 100644 index 0000000..1acf1f8 --- /dev/null +++ b/tests/yaml-test-suite/5GBF/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :Folding +=VAL "Empty line\nas a line feed +=VAL :Chomping +=VAL |Clipped empty lines\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/5KJE.yaml b/tests/yaml-test-suite/5KJE.yaml deleted file mode 100644 index 1239c55..0000000 --- a/tests/yaml-test-suite/5KJE.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- name: Spec Example 7.13. Flow Sequence - from: http://www.yaml.org/spec/1.2/spec.html#id2790506 - tags: spec flow sequence - yaml: | - - [ one, two, ] - - [three ,four] - tree: | - +STR - +DOC - +SEQ - +SEQ [] - =VAL :one - =VAL :two - -SEQ - +SEQ [] - =VAL :three - =VAL :four - -SEQ - -SEQ - -DOC - -STR - json: | - [ - [ - "one", - "two" - ], - [ - "three", - "four" - ] - ] - dump: | - - - one - - two - - - three - - four diff --git a/tests/yaml-test-suite/5KJE/=== b/tests/yaml-test-suite/5KJE/=== new file mode 100644 index 0000000..11fcc1b --- /dev/null +++ b/tests/yaml-test-suite/5KJE/=== @@ -0,0 +1 @@ +Spec Example 7.13. Flow Sequence diff --git a/tests/yaml-test-suite/5KJE/in.json b/tests/yaml-test-suite/5KJE/in.json new file mode 100644 index 0000000..c19c46c --- /dev/null +++ b/tests/yaml-test-suite/5KJE/in.json @@ -0,0 +1,10 @@ +[ + [ + "one", + "two" + ], + [ + "three", + "four" + ] +] diff --git a/tests/yaml-test-suite/5KJE/in.yaml b/tests/yaml-test-suite/5KJE/in.yaml new file mode 100644 index 0000000..cd77480 --- /dev/null +++ b/tests/yaml-test-suite/5KJE/in.yaml @@ -0,0 +1,2 @@ +- [ one, two, ] +- [three ,four] diff --git a/tests/yaml-test-suite/5KJE/out.yaml b/tests/yaml-test-suite/5KJE/out.yaml new file mode 100644 index 0000000..e3da32d --- /dev/null +++ b/tests/yaml-test-suite/5KJE/out.yaml @@ -0,0 +1,4 @@ +- - one + - two +- - three + - four diff --git a/tests/yaml-test-suite/5KJE/test.event b/tests/yaml-test-suite/5KJE/test.event new file mode 100644 index 0000000..131aa45 --- /dev/null +++ b/tests/yaml-test-suite/5KJE/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++SEQ ++SEQ [] +=VAL :one +=VAL :two +-SEQ ++SEQ [] +=VAL :three +=VAL :four +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/5LLU.yaml b/tests/yaml-test-suite/5LLU.yaml deleted file mode 100644 index 46685ff..0000000 --- a/tests/yaml-test-suite/5LLU.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Block scalar with wrong indented line after spaces only - from: '@perlpunk' - tags: error folded whitespace - fail: true - yaml: | - block scalar: > - ␣ - ␣␣ - ␣␣␣ - invalid - tree: | - +STR - +DOC - +MAP - =VAL :block scalar diff --git a/tests/yaml-test-suite/5LLU/=== b/tests/yaml-test-suite/5LLU/=== new file mode 100644 index 0000000..523683d --- /dev/null +++ b/tests/yaml-test-suite/5LLU/=== @@ -0,0 +1 @@ +Block scalar with wrong indented line after spaces only diff --git a/tests/yaml-test-suite/5LLU/error b/tests/yaml-test-suite/5LLU/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/5LLU/in.yaml b/tests/yaml-test-suite/5LLU/in.yaml new file mode 100644 index 0000000..34d30b1 --- /dev/null +++ b/tests/yaml-test-suite/5LLU/in.yaml @@ -0,0 +1,5 @@ +block scalar: > + + + + invalid diff --git a/tests/yaml-test-suite/5LLU/test.event b/tests/yaml-test-suite/5LLU/test.event new file mode 100644 index 0000000..bbe95d7 --- /dev/null +++ b/tests/yaml-test-suite/5LLU/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :block scalar diff --git a/tests/yaml-test-suite/5MUD.yaml b/tests/yaml-test-suite/5MUD.yaml deleted file mode 100644 index b327acf..0000000 --- a/tests/yaml-test-suite/5MUD.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: Colon and adjacent value on next line - from: '@perlpunk' - tags: double flow mapping - yaml: | - --- - { "foo" - :bar } - tree: | - +STR - +DOC --- - +MAP {} - =VAL "foo - =VAL :bar - -MAP - -DOC - -STR - json: | - { - "foo": "bar" - } - dump: | - --- - "foo": bar diff --git a/tests/yaml-test-suite/5MUD/=== b/tests/yaml-test-suite/5MUD/=== new file mode 100644 index 0000000..5fc2da3 --- /dev/null +++ b/tests/yaml-test-suite/5MUD/=== @@ -0,0 +1 @@ +Colon and adjacent value on next line diff --git a/tests/yaml-test-suite/5MUD/in.json b/tests/yaml-test-suite/5MUD/in.json new file mode 100644 index 0000000..c8c4105 --- /dev/null +++ b/tests/yaml-test-suite/5MUD/in.json @@ -0,0 +1,3 @@ +{ + "foo": "bar" +} diff --git a/tests/yaml-test-suite/5MUD/in.yaml b/tests/yaml-test-suite/5MUD/in.yaml new file mode 100644 index 0000000..f0a4e3e --- /dev/null +++ b/tests/yaml-test-suite/5MUD/in.yaml @@ -0,0 +1,3 @@ +--- +{ "foo" + :bar } diff --git a/tests/yaml-test-suite/5MUD/out.yaml b/tests/yaml-test-suite/5MUD/out.yaml new file mode 100644 index 0000000..46d4e8b --- /dev/null +++ b/tests/yaml-test-suite/5MUD/out.yaml @@ -0,0 +1,2 @@ +--- +"foo": bar diff --git a/tests/yaml-test-suite/5MUD/test.event b/tests/yaml-test-suite/5MUD/test.event new file mode 100644 index 0000000..fd46afc --- /dev/null +++ b/tests/yaml-test-suite/5MUD/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP {} +=VAL "foo +=VAL :bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/5NYZ.yaml b/tests/yaml-test-suite/5NYZ.yaml deleted file mode 100644 index 7e09408..0000000 --- a/tests/yaml-test-suite/5NYZ.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Spec Example 6.9. Separated Comment - from: http://www.yaml.org/spec/1.2/spec.html#id2780342 - tags: mapping spec comment - yaml: | - key: # Comment - value - tree: | - +STR - +DOC - +MAP - =VAL :key - =VAL :value - -MAP - -DOC - -STR - json: | - { - "key": "value" - } - dump: | - key: value diff --git a/tests/yaml-test-suite/5NYZ/=== b/tests/yaml-test-suite/5NYZ/=== new file mode 100644 index 0000000..baeb043 --- /dev/null +++ b/tests/yaml-test-suite/5NYZ/=== @@ -0,0 +1 @@ +Spec Example 6.9. Separated Comment diff --git a/tests/yaml-test-suite/5NYZ/in.json b/tests/yaml-test-suite/5NYZ/in.json new file mode 100644 index 0000000..7a9e864 --- /dev/null +++ b/tests/yaml-test-suite/5NYZ/in.json @@ -0,0 +1,3 @@ +{ + "key": "value" +} diff --git a/tests/yaml-test-suite/5NYZ/in.yaml b/tests/yaml-test-suite/5NYZ/in.yaml new file mode 100644 index 0000000..9db0912 --- /dev/null +++ b/tests/yaml-test-suite/5NYZ/in.yaml @@ -0,0 +1,2 @@ +key: # Comment + value diff --git a/tests/yaml-test-suite/5NYZ/out.yaml b/tests/yaml-test-suite/5NYZ/out.yaml new file mode 100644 index 0000000..b4f46b7 --- /dev/null +++ b/tests/yaml-test-suite/5NYZ/out.yaml @@ -0,0 +1 @@ +key: value diff --git a/tests/yaml-test-suite/5NYZ/test.event b/tests/yaml-test-suite/5NYZ/test.event new file mode 100644 index 0000000..4010c9a --- /dev/null +++ b/tests/yaml-test-suite/5NYZ/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :key +=VAL :value +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/5T43.yaml b/tests/yaml-test-suite/5T43.yaml deleted file mode 100644 index 5b6ceee..0000000 --- a/tests/yaml-test-suite/5T43.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Colon at the beginning of adjacent flow scalar - from: '@perlpunk' - tags: flow mapping scalar - yaml: | - - { "key":value } - - { "key"::value } - tree: | - +STR - +DOC - +SEQ - +MAP {} - =VAL "key - =VAL :value - -MAP - +MAP {} - =VAL "key - =VAL ::value - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "key": "value" - }, - { - "key": ":value" - } - ] - dump: | - - key: value - - key: :value - emit: | - - "key": value - - "key": :value diff --git a/tests/yaml-test-suite/5T43/=== b/tests/yaml-test-suite/5T43/=== new file mode 100644 index 0000000..4f8bab9 --- /dev/null +++ b/tests/yaml-test-suite/5T43/=== @@ -0,0 +1 @@ +Colon at the beginning of adjacent flow scalar diff --git a/tests/yaml-test-suite/5T43/emit.yaml b/tests/yaml-test-suite/5T43/emit.yaml new file mode 100644 index 0000000..5ee495a --- /dev/null +++ b/tests/yaml-test-suite/5T43/emit.yaml @@ -0,0 +1,2 @@ +- "key": value +- "key": :value diff --git a/tests/yaml-test-suite/5T43/in.json b/tests/yaml-test-suite/5T43/in.json new file mode 100644 index 0000000..7eb5fce --- /dev/null +++ b/tests/yaml-test-suite/5T43/in.json @@ -0,0 +1,8 @@ +[ + { + "key": "value" + }, + { + "key": ":value" + } +] diff --git a/tests/yaml-test-suite/5T43/in.yaml b/tests/yaml-test-suite/5T43/in.yaml new file mode 100644 index 0000000..03936e6 --- /dev/null +++ b/tests/yaml-test-suite/5T43/in.yaml @@ -0,0 +1,2 @@ +- { "key":value } +- { "key"::value } diff --git a/tests/yaml-test-suite/5T43/out.yaml b/tests/yaml-test-suite/5T43/out.yaml new file mode 100644 index 0000000..0634b97 --- /dev/null +++ b/tests/yaml-test-suite/5T43/out.yaml @@ -0,0 +1,2 @@ +- key: value +- key: :value diff --git a/tests/yaml-test-suite/5T43/test.event b/tests/yaml-test-suite/5T43/test.event new file mode 100644 index 0000000..129c059 --- /dev/null +++ b/tests/yaml-test-suite/5T43/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++SEQ ++MAP {} +=VAL "key +=VAL :value +-MAP ++MAP {} +=VAL "key +=VAL ::value +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/5TRB.yaml b/tests/yaml-test-suite/5TRB.yaml deleted file mode 100644 index 3cf6470..0000000 --- a/tests/yaml-test-suite/5TRB.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Invalid document-start marker in doublequoted tring - from: '@perlpunk' - tags: header double error - fail: true - yaml: | - --- - " - --- - " - tree: | - +STR - +DOC --- diff --git a/tests/yaml-test-suite/5TRB/=== b/tests/yaml-test-suite/5TRB/=== new file mode 100644 index 0000000..b569eb3 --- /dev/null +++ b/tests/yaml-test-suite/5TRB/=== @@ -0,0 +1 @@ +Invalid document-start marker in doublequoted tring diff --git a/tests/yaml-test-suite/5TRB/error b/tests/yaml-test-suite/5TRB/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/5TRB/in.yaml b/tests/yaml-test-suite/5TRB/in.yaml new file mode 100644 index 0000000..8f75f6c --- /dev/null +++ b/tests/yaml-test-suite/5TRB/in.yaml @@ -0,0 +1,4 @@ +--- +" +--- +" diff --git a/tests/yaml-test-suite/5TRB/test.event b/tests/yaml-test-suite/5TRB/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/5TRB/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/5TYM.yaml b/tests/yaml-test-suite/5TYM.yaml deleted file mode 100644 index be41933..0000000 --- a/tests/yaml-test-suite/5TYM.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: Spec Example 6.21. Local Tag Prefix - from: http://www.yaml.org/spec/1.2/spec.html#id2783499 - tags: local-tag spec directive tag - yaml: | - %TAG !m! !my- - --- # Bulb here - !m!light fluorescent - ... - %TAG !m! !my- - --- # Color here - !m!light green - tree: | - +STR - +DOC --- - =VAL :fluorescent - -DOC ... - +DOC --- - =VAL :green - -DOC - -STR - json: | - "fluorescent" - "green" diff --git a/tests/yaml-test-suite/5TYM/=== b/tests/yaml-test-suite/5TYM/=== new file mode 100644 index 0000000..902ae92 --- /dev/null +++ b/tests/yaml-test-suite/5TYM/=== @@ -0,0 +1 @@ +Spec Example 6.21. Local Tag Prefix diff --git a/tests/yaml-test-suite/5TYM/in.json b/tests/yaml-test-suite/5TYM/in.json new file mode 100644 index 0000000..fbdf5d0 --- /dev/null +++ b/tests/yaml-test-suite/5TYM/in.json @@ -0,0 +1,2 @@ +"fluorescent" +"green" diff --git a/tests/yaml-test-suite/5TYM/in.yaml b/tests/yaml-test-suite/5TYM/in.yaml new file mode 100644 index 0000000..57315a5 --- /dev/null +++ b/tests/yaml-test-suite/5TYM/in.yaml @@ -0,0 +1,7 @@ +%TAG !m! !my- +--- # Bulb here +!m!light fluorescent +... +%TAG !m! !my- +--- # Color here +!m!light green diff --git a/tests/yaml-test-suite/5TYM/test.event b/tests/yaml-test-suite/5TYM/test.event new file mode 100644 index 0000000..6d8a8bc --- /dev/null +++ b/tests/yaml-test-suite/5TYM/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- +=VAL :fluorescent +-DOC ... ++DOC --- +=VAL :green +-DOC +-STR diff --git a/tests/yaml-test-suite/5U3A.yaml b/tests/yaml-test-suite/5U3A.yaml deleted file mode 100644 index c7642cc..0000000 --- a/tests/yaml-test-suite/5U3A.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Sequence on same Line as Mapping Key - from: '@perlpunk' - tags: error sequence mapping - fail: true - yaml: | - key: - a - - b - tree: | - +STR - +DOC - +MAP - =VAL :key diff --git a/tests/yaml-test-suite/5U3A/=== b/tests/yaml-test-suite/5U3A/=== new file mode 100644 index 0000000..75a3a7d --- /dev/null +++ b/tests/yaml-test-suite/5U3A/=== @@ -0,0 +1 @@ +Sequence on same Line as Mapping Key diff --git a/tests/yaml-test-suite/5U3A/error b/tests/yaml-test-suite/5U3A/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/5U3A/in.yaml b/tests/yaml-test-suite/5U3A/in.yaml new file mode 100644 index 0000000..fa966bd --- /dev/null +++ b/tests/yaml-test-suite/5U3A/in.yaml @@ -0,0 +1,2 @@ +key: - a + - b diff --git a/tests/yaml-test-suite/5U3A/test.event b/tests/yaml-test-suite/5U3A/test.event new file mode 100644 index 0000000..174e371 --- /dev/null +++ b/tests/yaml-test-suite/5U3A/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :key diff --git a/tests/yaml-test-suite/5WE3.yaml b/tests/yaml-test-suite/5WE3.yaml deleted file mode 100644 index 95b643b..0000000 --- a/tests/yaml-test-suite/5WE3.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- name: Spec Example 8.17. Explicit Block Mapping Entries - from: http://www.yaml.org/spec/1.2/spec.html#id2798425 - tags: explicit-key spec mapping comment literal sequence - yaml: | - ? explicit key # Empty value - ? | - block key - : - one # Explicit compact - - two # block value - tree: | - +STR - +DOC - +MAP - =VAL :explicit key - =VAL : - =VAL |block key\n - +SEQ - =VAL :one - =VAL :two - -SEQ - -MAP - -DOC - -STR - json: | - { - "explicit key": null, - "block key\n": [ - "one", - "two" - ] - } - dump: | - explicit key: - ? | - block key - : - one - - two diff --git a/tests/yaml-test-suite/5WE3/=== b/tests/yaml-test-suite/5WE3/=== new file mode 100644 index 0000000..0c55226 --- /dev/null +++ b/tests/yaml-test-suite/5WE3/=== @@ -0,0 +1 @@ +Spec Example 8.17. Explicit Block Mapping Entries diff --git a/tests/yaml-test-suite/5WE3/in.json b/tests/yaml-test-suite/5WE3/in.json new file mode 100644 index 0000000..35361a5 --- /dev/null +++ b/tests/yaml-test-suite/5WE3/in.json @@ -0,0 +1,7 @@ +{ + "explicit key": null, + "block key\n": [ + "one", + "two" + ] +} diff --git a/tests/yaml-test-suite/5WE3/in.yaml b/tests/yaml-test-suite/5WE3/in.yaml new file mode 100644 index 0000000..cb0cfd0 --- /dev/null +++ b/tests/yaml-test-suite/5WE3/in.yaml @@ -0,0 +1,5 @@ +? explicit key # Empty value +? | + block key +: - one # Explicit compact + - two # block value diff --git a/tests/yaml-test-suite/5WE3/out.yaml b/tests/yaml-test-suite/5WE3/out.yaml new file mode 100644 index 0000000..f66e4ec --- /dev/null +++ b/tests/yaml-test-suite/5WE3/out.yaml @@ -0,0 +1,5 @@ +explicit key: +? | + block key +: - one + - two diff --git a/tests/yaml-test-suite/5WE3/test.event b/tests/yaml-test-suite/5WE3/test.event new file mode 100644 index 0000000..6bcbc08 --- /dev/null +++ b/tests/yaml-test-suite/5WE3/test.event @@ -0,0 +1,13 @@ ++STR ++DOC ++MAP +=VAL :explicit key +=VAL : +=VAL |block key\n ++SEQ +=VAL :one +=VAL :two +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/62EZ.yaml b/tests/yaml-test-suite/62EZ.yaml deleted file mode 100644 index b517ecf..0000000 --- a/tests/yaml-test-suite/62EZ.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Invalid block mapping key on same line as previous key - from: '@perlpunk' - tags: error flow mapping - fail: true - yaml: | - --- - x: { y: z }in: valid - tree: | - +STR - +DOC --- - +MAP - =VAL :x - +MAP {} - =VAL :y - =VAL :z - -MAP diff --git a/tests/yaml-test-suite/62EZ/=== b/tests/yaml-test-suite/62EZ/=== new file mode 100644 index 0000000..34acfe5 --- /dev/null +++ b/tests/yaml-test-suite/62EZ/=== @@ -0,0 +1 @@ +Invalid block mapping key on same line as previous key diff --git a/tests/yaml-test-suite/62EZ/error b/tests/yaml-test-suite/62EZ/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/62EZ/in.yaml b/tests/yaml-test-suite/62EZ/in.yaml new file mode 100644 index 0000000..c3bd6ba --- /dev/null +++ b/tests/yaml-test-suite/62EZ/in.yaml @@ -0,0 +1,2 @@ +--- +x: { y: z }in: valid diff --git a/tests/yaml-test-suite/62EZ/test.event b/tests/yaml-test-suite/62EZ/test.event new file mode 100644 index 0000000..7723a2b --- /dev/null +++ b/tests/yaml-test-suite/62EZ/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP +=VAL :x ++MAP {} +=VAL :y +=VAL :z +-MAP diff --git a/tests/yaml-test-suite/652Z.yaml b/tests/yaml-test-suite/652Z.yaml deleted file mode 100644 index afdc01b..0000000 --- a/tests/yaml-test-suite/652Z.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Question mark at start of flow key - from: '@ingydotnet' - tags: flow - yaml: | - { ?foo: bar, - bar: 42 - } - tree: | - +STR - +DOC - +MAP {} - =VAL :?foo - =VAL :bar - =VAL :bar - =VAL :42 - -MAP - -DOC - -STR - json: | - { - "?foo" : "bar", - "bar" : 42 - } - dump: | - --- - ?foo: bar - bar: 42 - emit: | - ?foo: bar - bar: 42 diff --git a/tests/yaml-test-suite/652Z/=== b/tests/yaml-test-suite/652Z/=== new file mode 100644 index 0000000..09cee51 --- /dev/null +++ b/tests/yaml-test-suite/652Z/=== @@ -0,0 +1 @@ +Question mark at start of flow key diff --git a/tests/yaml-test-suite/652Z/emit.yaml b/tests/yaml-test-suite/652Z/emit.yaml new file mode 100644 index 0000000..cc9fc37 --- /dev/null +++ b/tests/yaml-test-suite/652Z/emit.yaml @@ -0,0 +1,2 @@ +?foo: bar +bar: 42 diff --git a/tests/yaml-test-suite/652Z/in.json b/tests/yaml-test-suite/652Z/in.json new file mode 100644 index 0000000..5943efa --- /dev/null +++ b/tests/yaml-test-suite/652Z/in.json @@ -0,0 +1,4 @@ +{ + "?foo" : "bar", + "bar" : 42 +} diff --git a/tests/yaml-test-suite/652Z/in.yaml b/tests/yaml-test-suite/652Z/in.yaml new file mode 100644 index 0000000..c1a9c38 --- /dev/null +++ b/tests/yaml-test-suite/652Z/in.yaml @@ -0,0 +1,3 @@ +{ ?foo: bar, +bar: 42 +} diff --git a/tests/yaml-test-suite/652Z/out.yaml b/tests/yaml-test-suite/652Z/out.yaml new file mode 100644 index 0000000..6f0766c --- /dev/null +++ b/tests/yaml-test-suite/652Z/out.yaml @@ -0,0 +1,3 @@ +--- +?foo: bar +bar: 42 diff --git a/tests/yaml-test-suite/652Z/test.event b/tests/yaml-test-suite/652Z/test.event new file mode 100644 index 0000000..ff6931a --- /dev/null +++ b/tests/yaml-test-suite/652Z/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP {} +=VAL :?foo +=VAL :bar +=VAL :bar +=VAL :42 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/65WH.yaml b/tests/yaml-test-suite/65WH.yaml deleted file mode 100644 index be1c765..0000000 --- a/tests/yaml-test-suite/65WH.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Single Entry Block Sequence - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/sequence.tml - tags: sequence - yaml: | - - foo - tree: | - +STR - +DOC - +SEQ - =VAL :foo - -SEQ - -DOC - -STR - json: | - [ - "foo" - ] diff --git a/tests/yaml-test-suite/65WH/=== b/tests/yaml-test-suite/65WH/=== new file mode 100644 index 0000000..4dfeeeb --- /dev/null +++ b/tests/yaml-test-suite/65WH/=== @@ -0,0 +1 @@ +Single Entry Block Sequence diff --git a/tests/yaml-test-suite/65WH/in.json b/tests/yaml-test-suite/65WH/in.json new file mode 100644 index 0000000..de140ba --- /dev/null +++ b/tests/yaml-test-suite/65WH/in.json @@ -0,0 +1,3 @@ +[ + "foo" +] diff --git a/tests/yaml-test-suite/65WH/in.yaml b/tests/yaml-test-suite/65WH/in.yaml new file mode 100644 index 0000000..a4b65cd --- /dev/null +++ b/tests/yaml-test-suite/65WH/in.yaml @@ -0,0 +1 @@ +- foo diff --git a/tests/yaml-test-suite/65WH/test.event b/tests/yaml-test-suite/65WH/test.event new file mode 100644 index 0000000..5fd23da --- /dev/null +++ b/tests/yaml-test-suite/65WH/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ +=VAL :foo +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/6BCT.yaml b/tests/yaml-test-suite/6BCT.yaml deleted file mode 100644 index 7a0bb52..0000000 --- a/tests/yaml-test-suite/6BCT.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Spec Example 6.3. Separation Spaces - from: http://www.yaml.org/spec/1.2/spec.html#id2778394 - tags: spec libyaml-err sequence whitespace upto-1.2 - yaml: | - - foo:—» bar - - - baz - -»baz - tree: | - +STR - +DOC - +SEQ - +MAP - =VAL :foo - =VAL :bar - -MAP - +SEQ - =VAL :baz - =VAL :baz - -SEQ - -SEQ - -DOC - -STR - json: | - [ - { - "foo": "bar" - }, - [ - "baz", - "baz" - ] - ] - dump: | - - foo: bar - - - baz - - baz diff --git a/tests/yaml-test-suite/6BCT/=== b/tests/yaml-test-suite/6BCT/=== new file mode 100644 index 0000000..46a46ea --- /dev/null +++ b/tests/yaml-test-suite/6BCT/=== @@ -0,0 +1 @@ +Spec Example 6.3. Separation Spaces diff --git a/tests/yaml-test-suite/6BCT/in.json b/tests/yaml-test-suite/6BCT/in.json new file mode 100644 index 0000000..7216337 --- /dev/null +++ b/tests/yaml-test-suite/6BCT/in.json @@ -0,0 +1,9 @@ +[ + { + "foo": "bar" + }, + [ + "baz", + "baz" + ] +] diff --git a/tests/yaml-test-suite/6BCT/in.yaml b/tests/yaml-test-suite/6BCT/in.yaml new file mode 100644 index 0000000..5f48cf4 --- /dev/null +++ b/tests/yaml-test-suite/6BCT/in.yaml @@ -0,0 +1,3 @@ +- foo: bar +- - baz + - baz diff --git a/tests/yaml-test-suite/6BCT/out.yaml b/tests/yaml-test-suite/6BCT/out.yaml new file mode 100644 index 0000000..78389dd --- /dev/null +++ b/tests/yaml-test-suite/6BCT/out.yaml @@ -0,0 +1,3 @@ +- foo: bar +- - baz + - baz diff --git a/tests/yaml-test-suite/6BCT/test.event b/tests/yaml-test-suite/6BCT/test.event new file mode 100644 index 0000000..905c43d --- /dev/null +++ b/tests/yaml-test-suite/6BCT/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++SEQ ++MAP +=VAL :foo +=VAL :bar +-MAP ++SEQ +=VAL :baz +=VAL :baz +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/6BFJ.yaml b/tests/yaml-test-suite/6BFJ.yaml deleted file mode 100644 index 4c084d3..0000000 --- a/tests/yaml-test-suite/6BFJ.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Mapping, key and flow sequence item anchors - from: '@perlpunk' - tags: anchor complex-key flow mapping sequence - yaml: | - --- - &mapping - &key [ &item a, b, c ]: value - tree: | - +STR - +DOC --- - +MAP &mapping - +SEQ [] &key - =VAL &item :a - =VAL :b - =VAL :c - -SEQ - =VAL :value - -MAP - -DOC - -STR - dump: | - --- &mapping - ? &key - - &item a - - b - - c - : value diff --git a/tests/yaml-test-suite/6BFJ/=== b/tests/yaml-test-suite/6BFJ/=== new file mode 100644 index 0000000..b2c4fde --- /dev/null +++ b/tests/yaml-test-suite/6BFJ/=== @@ -0,0 +1 @@ +Mapping, key and flow sequence item anchors diff --git a/tests/yaml-test-suite/6BFJ/in.yaml b/tests/yaml-test-suite/6BFJ/in.yaml new file mode 100644 index 0000000..19d1e3e --- /dev/null +++ b/tests/yaml-test-suite/6BFJ/in.yaml @@ -0,0 +1,3 @@ +--- +&mapping +&key [ &item a, b, c ]: value diff --git a/tests/yaml-test-suite/6BFJ/out.yaml b/tests/yaml-test-suite/6BFJ/out.yaml new file mode 100644 index 0000000..1e3d7bf --- /dev/null +++ b/tests/yaml-test-suite/6BFJ/out.yaml @@ -0,0 +1,6 @@ +--- &mapping +? &key +- &item a +- b +- c +: value diff --git a/tests/yaml-test-suite/6BFJ/test.event b/tests/yaml-test-suite/6BFJ/test.event new file mode 100644 index 0000000..55211ef --- /dev/null +++ b/tests/yaml-test-suite/6BFJ/test.event @@ -0,0 +1,12 @@ ++STR ++DOC --- ++MAP &mapping ++SEQ [] &key +=VAL &item :a +=VAL :b +=VAL :c +-SEQ +=VAL :value +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/6CA3.yaml b/tests/yaml-test-suite/6CA3.yaml deleted file mode 100644 index b16e19c..0000000 --- a/tests/yaml-test-suite/6CA3.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Tab indented top flow - from: '@ingydotnet' - tags: indent whitespace - yaml: | - ————»[ - ————»] - tree: | - +STR - +DOC - +SEQ [] - -SEQ - -DOC - -STR - json: | - [] - emit: | - --- [] diff --git a/tests/yaml-test-suite/6CA3/=== b/tests/yaml-test-suite/6CA3/=== new file mode 100644 index 0000000..93fb835 --- /dev/null +++ b/tests/yaml-test-suite/6CA3/=== @@ -0,0 +1 @@ +Tab indented top flow diff --git a/tests/yaml-test-suite/6CA3/emit.yaml b/tests/yaml-test-suite/6CA3/emit.yaml new file mode 100644 index 0000000..dcd024e --- /dev/null +++ b/tests/yaml-test-suite/6CA3/emit.yaml @@ -0,0 +1 @@ +--- [] diff --git a/tests/yaml-test-suite/6CA3/in.json b/tests/yaml-test-suite/6CA3/in.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/tests/yaml-test-suite/6CA3/in.json @@ -0,0 +1 @@ +[] diff --git a/tests/yaml-test-suite/6CA3/in.yaml b/tests/yaml-test-suite/6CA3/in.yaml new file mode 100644 index 0000000..26a80a6 --- /dev/null +++ b/tests/yaml-test-suite/6CA3/in.yaml @@ -0,0 +1,2 @@ + [ + ] diff --git a/tests/yaml-test-suite/6CA3/test.event b/tests/yaml-test-suite/6CA3/test.event new file mode 100644 index 0000000..8163607 --- /dev/null +++ b/tests/yaml-test-suite/6CA3/test.event @@ -0,0 +1,6 @@ ++STR ++DOC ++SEQ [] +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/6CK3.yaml b/tests/yaml-test-suite/6CK3.yaml deleted file mode 100644 index 5908c82..0000000 --- a/tests/yaml-test-suite/6CK3.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Spec Example 6.26. Tag Shorthands - from: http://www.yaml.org/spec/1.2/spec.html#id2785009 - tags: spec tag local-tag - yaml: | - %TAG !e! tag:example.com,2000:app/ - --- - - !local foo - - !!str bar - - !e!tag%21 baz - tree: | - +STR - +DOC --- - +SEQ - =VAL :foo - =VAL :bar - =VAL :baz - -SEQ - -DOC - -STR - json: | - [ - "foo", - "bar", - "baz" - ] diff --git a/tests/yaml-test-suite/6CK3/=== b/tests/yaml-test-suite/6CK3/=== new file mode 100644 index 0000000..9e9508a --- /dev/null +++ b/tests/yaml-test-suite/6CK3/=== @@ -0,0 +1 @@ +Spec Example 6.26. Tag Shorthands diff --git a/tests/yaml-test-suite/6CK3/in.json b/tests/yaml-test-suite/6CK3/in.json new file mode 100644 index 0000000..cdaf9b8 --- /dev/null +++ b/tests/yaml-test-suite/6CK3/in.json @@ -0,0 +1,5 @@ +[ + "foo", + "bar", + "baz" +] diff --git a/tests/yaml-test-suite/6CK3/in.yaml b/tests/yaml-test-suite/6CK3/in.yaml new file mode 100644 index 0000000..70365f4 --- /dev/null +++ b/tests/yaml-test-suite/6CK3/in.yaml @@ -0,0 +1,5 @@ +%TAG !e! tag:example.com,2000:app/ +--- +- !local foo +- !!str bar +- !e!tag%21 baz diff --git a/tests/yaml-test-suite/6CK3/test.event b/tests/yaml-test-suite/6CK3/test.event new file mode 100644 index 0000000..871fae1 --- /dev/null +++ b/tests/yaml-test-suite/6CK3/test.event @@ -0,0 +1,9 @@ ++STR ++DOC --- ++SEQ +=VAL :foo +=VAL :bar +=VAL :baz +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/6FWR.yaml b/tests/yaml-test-suite/6FWR.yaml deleted file mode 100644 index b5660e2..0000000 --- a/tests/yaml-test-suite/6FWR.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Block Scalar Keep - from: NimYAML tests - tags: literal scalar whitespace - yaml: | - --- |+ - ab - ␣ - ␣␣ - ... - tree: | - +STR - +DOC --- - =VAL |ab\n\n \n - -DOC ... - -STR - json: | - "ab\n\n \n" - dump: | - "ab\n\n \n" - ... - emit: | - --- | - ab - - ␣␣␣ - ... diff --git a/tests/yaml-test-suite/6FWR/=== b/tests/yaml-test-suite/6FWR/=== new file mode 100644 index 0000000..826add7 --- /dev/null +++ b/tests/yaml-test-suite/6FWR/=== @@ -0,0 +1 @@ +Block Scalar Keep diff --git a/tests/yaml-test-suite/6FWR/emit.yaml b/tests/yaml-test-suite/6FWR/emit.yaml new file mode 100644 index 0000000..8754e77 --- /dev/null +++ b/tests/yaml-test-suite/6FWR/emit.yaml @@ -0,0 +1,5 @@ +--- | + ab + + +... diff --git a/tests/yaml-test-suite/6FWR/in.json b/tests/yaml-test-suite/6FWR/in.json new file mode 100644 index 0000000..7b0aa63 --- /dev/null +++ b/tests/yaml-test-suite/6FWR/in.json @@ -0,0 +1 @@ +"ab\n\n \n" diff --git a/tests/yaml-test-suite/6FWR/in.yaml b/tests/yaml-test-suite/6FWR/in.yaml new file mode 100644 index 0000000..1ff9bfa --- /dev/null +++ b/tests/yaml-test-suite/6FWR/in.yaml @@ -0,0 +1,5 @@ +--- |+ + ab + + +... diff --git a/tests/yaml-test-suite/6FWR/out.yaml b/tests/yaml-test-suite/6FWR/out.yaml new file mode 100644 index 0000000..d307404 --- /dev/null +++ b/tests/yaml-test-suite/6FWR/out.yaml @@ -0,0 +1,2 @@ +"ab\n\n \n" +... diff --git a/tests/yaml-test-suite/6FWR/test.event b/tests/yaml-test-suite/6FWR/test.event new file mode 100644 index 0000000..69493d9 --- /dev/null +++ b/tests/yaml-test-suite/6FWR/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL |ab\n\n \n +-DOC ... +-STR diff --git a/tests/yaml-test-suite/6H3V.yaml b/tests/yaml-test-suite/6H3V.yaml deleted file mode 100644 index 858613d..0000000 --- a/tests/yaml-test-suite/6H3V.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Backslashes in singlequotes - from: '@perlpunk' - tags: scalar single - yaml: | - 'foo: bar\': baz' - tree: | - +STR - +DOC - +MAP - =VAL 'foo: bar\\ - =VAL :baz' - -MAP - -DOC - -STR - json: | - { - "foo: bar\\": "baz'" - } - dump: | - 'foo: bar\': baz' diff --git a/tests/yaml-test-suite/6H3V/=== b/tests/yaml-test-suite/6H3V/=== new file mode 100644 index 0000000..2f90ae7 --- /dev/null +++ b/tests/yaml-test-suite/6H3V/=== @@ -0,0 +1 @@ +Backslashes in singlequotes diff --git a/tests/yaml-test-suite/6H3V/in.json b/tests/yaml-test-suite/6H3V/in.json new file mode 100644 index 0000000..030ae9c --- /dev/null +++ b/tests/yaml-test-suite/6H3V/in.json @@ -0,0 +1,3 @@ +{ + "foo: bar\\": "baz'" +} diff --git a/tests/yaml-test-suite/6H3V/in.yaml b/tests/yaml-test-suite/6H3V/in.yaml new file mode 100644 index 0000000..33424c0 --- /dev/null +++ b/tests/yaml-test-suite/6H3V/in.yaml @@ -0,0 +1 @@ +'foo: bar\': baz' diff --git a/tests/yaml-test-suite/6H3V/out.yaml b/tests/yaml-test-suite/6H3V/out.yaml new file mode 100644 index 0000000..33424c0 --- /dev/null +++ b/tests/yaml-test-suite/6H3V/out.yaml @@ -0,0 +1 @@ +'foo: bar\': baz' diff --git a/tests/yaml-test-suite/6H3V/test.event b/tests/yaml-test-suite/6H3V/test.event new file mode 100644 index 0000000..b7083c4 --- /dev/null +++ b/tests/yaml-test-suite/6H3V/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL 'foo: bar\\ +=VAL :baz' +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/6HB6.yaml b/tests/yaml-test-suite/6HB6.yaml deleted file mode 100644 index 96d25c8..0000000 --- a/tests/yaml-test-suite/6HB6.yaml +++ /dev/null @@ -1,55 +0,0 @@ ---- -- name: Spec Example 6.1. Indentation Spaces - from: http://www.yaml.org/spec/1.2/spec.html#id2777865 - tags: comment flow spec indent upto-1.2 whitespace - yaml: |2 - # Leading comment line spaces are - # neither content nor indentation. - ␣␣␣␣ - Not indented: - By one space: | - By four - spaces - Flow style: [ # Leading spaces - By two, # in flow style - Also by two, # are neither - —»Still by two # content nor - ] # indentation. - tree: | - +STR - +DOC - +MAP - =VAL :Not indented - +MAP - =VAL :By one space - =VAL |By four\n spaces\n - =VAL :Flow style - +SEQ [] - =VAL :By two - =VAL :Also by two - =VAL :Still by two - -SEQ - -MAP - -MAP - -DOC - -STR - json: | - { - "Not indented": { - "By one space": "By four\n spaces\n", - "Flow style": [ - "By two", - "Also by two", - "Still by two" - ] - } - } - dump: | - Not indented: - By one space: | - By four - spaces - Flow style: - - By two - - Also by two - - Still by two diff --git a/tests/yaml-test-suite/6HB6/=== b/tests/yaml-test-suite/6HB6/=== new file mode 100644 index 0000000..2b11e50 --- /dev/null +++ b/tests/yaml-test-suite/6HB6/=== @@ -0,0 +1 @@ +Spec Example 6.1. Indentation Spaces diff --git a/tests/yaml-test-suite/6HB6/in.json b/tests/yaml-test-suite/6HB6/in.json new file mode 100644 index 0000000..90112cb --- /dev/null +++ b/tests/yaml-test-suite/6HB6/in.json @@ -0,0 +1,10 @@ +{ + "Not indented": { + "By one space": "By four\n spaces\n", + "Flow style": [ + "By two", + "Also by two", + "Still by two" + ] + } +} diff --git a/tests/yaml-test-suite/6HB6/in.yaml b/tests/yaml-test-suite/6HB6/in.yaml new file mode 100644 index 0000000..b5496c1 --- /dev/null +++ b/tests/yaml-test-suite/6HB6/in.yaml @@ -0,0 +1,12 @@ + # Leading comment line spaces are + # neither content nor indentation. + +Not indented: + By one space: | + By four + spaces + Flow style: [ # Leading spaces + By two, # in flow style + Also by two, # are neither + Still by two # content nor + ] # indentation. diff --git a/tests/yaml-test-suite/6HB6/out.yaml b/tests/yaml-test-suite/6HB6/out.yaml new file mode 100644 index 0000000..50be899 --- /dev/null +++ b/tests/yaml-test-suite/6HB6/out.yaml @@ -0,0 +1,8 @@ +Not indented: + By one space: | + By four + spaces + Flow style: + - By two + - Also by two + - Still by two diff --git a/tests/yaml-test-suite/6HB6/test.event b/tests/yaml-test-suite/6HB6/test.event new file mode 100644 index 0000000..73b9865 --- /dev/null +++ b/tests/yaml-test-suite/6HB6/test.event @@ -0,0 +1,17 @@ ++STR ++DOC ++MAP +=VAL :Not indented ++MAP +=VAL :By one space +=VAL |By four\n spaces\n +=VAL :Flow style ++SEQ [] +=VAL :By two +=VAL :Also by two +=VAL :Still by two +-SEQ +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/6JQW.yaml b/tests/yaml-test-suite/6JQW.yaml deleted file mode 100644 index 34b8463..0000000 --- a/tests/yaml-test-suite/6JQW.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Spec Example 2.13. In literals, newlines are preserved - from: http://www.yaml.org/spec/1.2/spec.html#id2759963 - tags: spec scalar literal comment - yaml: | - # ASCII Art - --- | - \//||\/|| - // || ||__ - tree: | - +STR - +DOC --- - =VAL |\\//||\\/||\n// || ||__\n - -DOC - -STR - json: | - "\\//||\\/||\n// || ||__\n" - dump: | - --- | - \//||\/|| - // || ||__ diff --git a/tests/yaml-test-suite/6JQW/=== b/tests/yaml-test-suite/6JQW/=== new file mode 100644 index 0000000..77d4754 --- /dev/null +++ b/tests/yaml-test-suite/6JQW/=== @@ -0,0 +1 @@ +Spec Example 2.13. In literals, newlines are preserved diff --git a/tests/yaml-test-suite/6JQW/in.json b/tests/yaml-test-suite/6JQW/in.json new file mode 100644 index 0000000..6f981a5 --- /dev/null +++ b/tests/yaml-test-suite/6JQW/in.json @@ -0,0 +1 @@ +"\\//||\\/||\n// || ||__\n" diff --git a/tests/yaml-test-suite/6JQW/in.yaml b/tests/yaml-test-suite/6JQW/in.yaml new file mode 100644 index 0000000..13fb656 --- /dev/null +++ b/tests/yaml-test-suite/6JQW/in.yaml @@ -0,0 +1,4 @@ +# ASCII Art +--- | + \//||\/|| + // || ||__ diff --git a/tests/yaml-test-suite/6JQW/out.yaml b/tests/yaml-test-suite/6JQW/out.yaml new file mode 100644 index 0000000..84467bc --- /dev/null +++ b/tests/yaml-test-suite/6JQW/out.yaml @@ -0,0 +1,3 @@ +--- | + \//||\/|| + // || ||__ diff --git a/tests/yaml-test-suite/6JQW/test.event b/tests/yaml-test-suite/6JQW/test.event new file mode 100644 index 0000000..af5f009 --- /dev/null +++ b/tests/yaml-test-suite/6JQW/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL |\\//||\\/||\n// || ||__\n +-DOC +-STR diff --git a/tests/yaml-test-suite/6JTT.yaml b/tests/yaml-test-suite/6JTT.yaml deleted file mode 100644 index a06cb73..0000000 --- a/tests/yaml-test-suite/6JTT.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Flow sequence without closing bracket - from: '@perlpunk' - tags: error flow sequence - fail: true - yaml: | - --- - [ [ a, b, c ] - tree: | - +STR - +DOC --- - +SEQ [] - +SEQ [] - =VAL :a - =VAL :b - =VAL :c - -SEQ diff --git a/tests/yaml-test-suite/6JTT/=== b/tests/yaml-test-suite/6JTT/=== new file mode 100644 index 0000000..6e76320 --- /dev/null +++ b/tests/yaml-test-suite/6JTT/=== @@ -0,0 +1 @@ +Flow sequence without closing bracket diff --git a/tests/yaml-test-suite/6JTT/error b/tests/yaml-test-suite/6JTT/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/6JTT/in.yaml b/tests/yaml-test-suite/6JTT/in.yaml new file mode 100644 index 0000000..939a071 --- /dev/null +++ b/tests/yaml-test-suite/6JTT/in.yaml @@ -0,0 +1,2 @@ +--- +[ [ a, b, c ] diff --git a/tests/yaml-test-suite/6JTT/test.event b/tests/yaml-test-suite/6JTT/test.event new file mode 100644 index 0000000..cd01743 --- /dev/null +++ b/tests/yaml-test-suite/6JTT/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++SEQ [] ++SEQ [] +=VAL :a +=VAL :b +=VAL :c +-SEQ diff --git a/tests/yaml-test-suite/6JWB.yaml b/tests/yaml-test-suite/6JWB.yaml deleted file mode 100644 index 5c376b6..0000000 --- a/tests/yaml-test-suite/6JWB.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- name: Tags for Block Objects - from: NimYAML tests - tags: mapping sequence tag - yaml: | - foo: !!seq - - !!str a - - !!map - key: !!str value - tree: | - +STR - +DOC - +MAP - =VAL :foo - +SEQ - =VAL :a - +MAP - =VAL :key - =VAL :value - -MAP - -SEQ - -MAP - -DOC - -STR - json: | - { - "foo": [ - "a", - { - "key": "value" - } - ] - } - dump: | - foo: !!seq - - !!str a - - !!map - key: !!str value diff --git a/tests/yaml-test-suite/6JWB/=== b/tests/yaml-test-suite/6JWB/=== new file mode 100644 index 0000000..904578f --- /dev/null +++ b/tests/yaml-test-suite/6JWB/=== @@ -0,0 +1 @@ +Tags for Block Objects diff --git a/tests/yaml-test-suite/6JWB/in.json b/tests/yaml-test-suite/6JWB/in.json new file mode 100644 index 0000000..7f20946 --- /dev/null +++ b/tests/yaml-test-suite/6JWB/in.json @@ -0,0 +1,8 @@ +{ + "foo": [ + "a", + { + "key": "value" + } + ] +} diff --git a/tests/yaml-test-suite/6JWB/in.yaml b/tests/yaml-test-suite/6JWB/in.yaml new file mode 100644 index 0000000..7a3e8f1 --- /dev/null +++ b/tests/yaml-test-suite/6JWB/in.yaml @@ -0,0 +1,4 @@ +foo: !!seq + - !!str a + - !!map + key: !!str value diff --git a/tests/yaml-test-suite/6JWB/out.yaml b/tests/yaml-test-suite/6JWB/out.yaml new file mode 100644 index 0000000..c8d30eb --- /dev/null +++ b/tests/yaml-test-suite/6JWB/out.yaml @@ -0,0 +1,4 @@ +foo: !!seq +- !!str a +- !!map + key: !!str value diff --git a/tests/yaml-test-suite/6JWB/test.event b/tests/yaml-test-suite/6JWB/test.event new file mode 100644 index 0000000..935d250 --- /dev/null +++ b/tests/yaml-test-suite/6JWB/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP +=VAL :foo ++SEQ +=VAL :a ++MAP +=VAL :key +=VAL :value +-MAP +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/6KGN.yaml b/tests/yaml-test-suite/6KGN.yaml deleted file mode 100644 index dac198d..0000000 --- a/tests/yaml-test-suite/6KGN.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Anchor for empty node - from: https://github.com/nodeca/js-yaml/issues/301 - tags: alias anchor - yaml: | - --- - a: &anchor - b: *anchor - tree: | - +STR - +DOC --- - +MAP - =VAL :a - =VAL &anchor : - =VAL :b - =ALI *anchor - -MAP - -DOC - -STR - json: | - { - "a": null, - "b": null - } - dump: | - --- - a: &anchor - b: *anchor diff --git a/tests/yaml-test-suite/6KGN/=== b/tests/yaml-test-suite/6KGN/=== new file mode 100644 index 0000000..5b77246 --- /dev/null +++ b/tests/yaml-test-suite/6KGN/=== @@ -0,0 +1 @@ +Anchor for empty node diff --git a/tests/yaml-test-suite/6KGN/in.json b/tests/yaml-test-suite/6KGN/in.json new file mode 100644 index 0000000..32b9bb5 --- /dev/null +++ b/tests/yaml-test-suite/6KGN/in.json @@ -0,0 +1,4 @@ +{ + "a": null, + "b": null +} diff --git a/tests/yaml-test-suite/6KGN/in.yaml b/tests/yaml-test-suite/6KGN/in.yaml new file mode 100644 index 0000000..dea985e --- /dev/null +++ b/tests/yaml-test-suite/6KGN/in.yaml @@ -0,0 +1,3 @@ +--- +a: &anchor +b: *anchor diff --git a/tests/yaml-test-suite/6KGN/out.yaml b/tests/yaml-test-suite/6KGN/out.yaml new file mode 100644 index 0000000..dea985e --- /dev/null +++ b/tests/yaml-test-suite/6KGN/out.yaml @@ -0,0 +1,3 @@ +--- +a: &anchor +b: *anchor diff --git a/tests/yaml-test-suite/6KGN/test.event b/tests/yaml-test-suite/6KGN/test.event new file mode 100644 index 0000000..a72faa1 --- /dev/null +++ b/tests/yaml-test-suite/6KGN/test.event @@ -0,0 +1,10 @@ ++STR ++DOC --- ++MAP +=VAL :a +=VAL &anchor : +=VAL :b +=ALI *anchor +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/6LVF.yaml b/tests/yaml-test-suite/6LVF.yaml deleted file mode 100644 index 4ea8f74..0000000 --- a/tests/yaml-test-suite/6LVF.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Spec Example 6.13. Reserved Directives - from: http://www.yaml.org/spec/1.2/spec.html#id2781445 - tags: spec directive header double 1.3-err - yaml: | - %FOO bar baz # Should be ignored - # with a warning. - --- "foo" - tree: | - +STR - +DOC --- - =VAL "foo - -DOC - -STR - json: | - "foo" - dump: | - --- "foo" diff --git a/tests/yaml-test-suite/6LVF/=== b/tests/yaml-test-suite/6LVF/=== new file mode 100644 index 0000000..686b303 --- /dev/null +++ b/tests/yaml-test-suite/6LVF/=== @@ -0,0 +1 @@ +Spec Example 6.13. Reserved Directives diff --git a/tests/yaml-test-suite/6LVF/in.json b/tests/yaml-test-suite/6LVF/in.json new file mode 100644 index 0000000..810c96e --- /dev/null +++ b/tests/yaml-test-suite/6LVF/in.json @@ -0,0 +1 @@ +"foo" diff --git a/tests/yaml-test-suite/6LVF/in.yaml b/tests/yaml-test-suite/6LVF/in.yaml new file mode 100644 index 0000000..cedbf23 --- /dev/null +++ b/tests/yaml-test-suite/6LVF/in.yaml @@ -0,0 +1,3 @@ +%FOO bar baz # Should be ignored + # with a warning. +--- "foo" diff --git a/tests/yaml-test-suite/6LVF/out.yaml b/tests/yaml-test-suite/6LVF/out.yaml new file mode 100644 index 0000000..55a21ab --- /dev/null +++ b/tests/yaml-test-suite/6LVF/out.yaml @@ -0,0 +1 @@ +--- "foo" diff --git a/tests/yaml-test-suite/6LVF/test.event b/tests/yaml-test-suite/6LVF/test.event new file mode 100644 index 0000000..324d096 --- /dev/null +++ b/tests/yaml-test-suite/6LVF/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL "foo +-DOC +-STR diff --git a/tests/yaml-test-suite/6M2F.yaml b/tests/yaml-test-suite/6M2F.yaml deleted file mode 100644 index a2f357e..0000000 --- a/tests/yaml-test-suite/6M2F.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Aliases in Explicit Block Mapping - from: NimYAML tests - tags: alias explicit-key empty-key - yaml: | - ? &a a - : &b b - : *a - tree: | - +STR - +DOC - +MAP - =VAL &a :a - =VAL &b :b - =VAL : - =ALI *a - -MAP - -DOC - -STR - dump: | - &a a: &b b - : *a diff --git a/tests/yaml-test-suite/6M2F/=== b/tests/yaml-test-suite/6M2F/=== new file mode 100644 index 0000000..aee63ba --- /dev/null +++ b/tests/yaml-test-suite/6M2F/=== @@ -0,0 +1 @@ +Aliases in Explicit Block Mapping diff --git a/tests/yaml-test-suite/6M2F/in.yaml b/tests/yaml-test-suite/6M2F/in.yaml new file mode 100644 index 0000000..b1490a6 --- /dev/null +++ b/tests/yaml-test-suite/6M2F/in.yaml @@ -0,0 +1,3 @@ +? &a a +: &b b +: *a diff --git a/tests/yaml-test-suite/6M2F/out.yaml b/tests/yaml-test-suite/6M2F/out.yaml new file mode 100644 index 0000000..52db425 --- /dev/null +++ b/tests/yaml-test-suite/6M2F/out.yaml @@ -0,0 +1,2 @@ +&a a: &b b +: *a diff --git a/tests/yaml-test-suite/6M2F/test.event b/tests/yaml-test-suite/6M2F/test.event new file mode 100644 index 0000000..9e45ad0 --- /dev/null +++ b/tests/yaml-test-suite/6M2F/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL &a :a +=VAL &b :b +=VAL : +=ALI *a +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/6PBE.yaml b/tests/yaml-test-suite/6PBE.yaml deleted file mode 100644 index 39edcf9..0000000 --- a/tests/yaml-test-suite/6PBE.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Zero-indented sequences in explicit mapping keys - from: '@perlpunk' - tags: explicit-key mapping sequence - yaml: | - --- - ? - - a - - b - : - - c - - d - tree: | - +STR - +DOC --- - +MAP - +SEQ - =VAL :a - =VAL :b - -SEQ - +SEQ - =VAL :c - =VAL :d - -SEQ - -MAP - -DOC - -STR - emit: | - --- - ? - a - - b - : - c - - d diff --git a/tests/yaml-test-suite/6PBE/=== b/tests/yaml-test-suite/6PBE/=== new file mode 100644 index 0000000..46335e8 --- /dev/null +++ b/tests/yaml-test-suite/6PBE/=== @@ -0,0 +1 @@ +Zero-indented sequences in explicit mapping keys diff --git a/tests/yaml-test-suite/6PBE/emit.yaml b/tests/yaml-test-suite/6PBE/emit.yaml new file mode 100644 index 0000000..0624acd --- /dev/null +++ b/tests/yaml-test-suite/6PBE/emit.yaml @@ -0,0 +1,5 @@ +--- +? - a + - b +: - c + - d diff --git a/tests/yaml-test-suite/6PBE/in.yaml b/tests/yaml-test-suite/6PBE/in.yaml new file mode 100644 index 0000000..5637a1a --- /dev/null +++ b/tests/yaml-test-suite/6PBE/in.yaml @@ -0,0 +1,7 @@ +--- +? +- a +- b +: +- c +- d diff --git a/tests/yaml-test-suite/6PBE/test.event b/tests/yaml-test-suite/6PBE/test.event new file mode 100644 index 0000000..f8fbe17 --- /dev/null +++ b/tests/yaml-test-suite/6PBE/test.event @@ -0,0 +1,14 @@ ++STR ++DOC --- ++MAP ++SEQ +=VAL :a +=VAL :b +-SEQ ++SEQ +=VAL :c +=VAL :d +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/6S55.yaml b/tests/yaml-test-suite/6S55.yaml deleted file mode 100644 index 61907b2..0000000 --- a/tests/yaml-test-suite/6S55.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Invalid scalar at the end of sequence - from: '@perlpunk' - tags: error mapping sequence - fail: true - yaml: | - key: - - bar - - baz - invalid - tree: | - +STR - +DOC - +MAP - =VAL :key - +SEQ - =VAL :bar - =VAL :baz diff --git a/tests/yaml-test-suite/6S55/=== b/tests/yaml-test-suite/6S55/=== new file mode 100644 index 0000000..f03d225 --- /dev/null +++ b/tests/yaml-test-suite/6S55/=== @@ -0,0 +1 @@ +Invalid scalar at the end of sequence diff --git a/tests/yaml-test-suite/6S55/error b/tests/yaml-test-suite/6S55/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/6S55/in.yaml b/tests/yaml-test-suite/6S55/in.yaml new file mode 100644 index 0000000..0b067d6 --- /dev/null +++ b/tests/yaml-test-suite/6S55/in.yaml @@ -0,0 +1,4 @@ +key: + - bar + - baz + invalid diff --git a/tests/yaml-test-suite/6S55/test.event b/tests/yaml-test-suite/6S55/test.event new file mode 100644 index 0000000..1df0f42 --- /dev/null +++ b/tests/yaml-test-suite/6S55/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++MAP +=VAL :key ++SEQ +=VAL :bar +=VAL :baz diff --git a/tests/yaml-test-suite/6SLA.yaml b/tests/yaml-test-suite/6SLA.yaml deleted file mode 100644 index 426c195..0000000 --- a/tests/yaml-test-suite/6SLA.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Allowed characters in quoted mapping key - from: '@perlpunk' - tags: mapping single double - yaml: | - "foo\nbar:baz\tx \\$%^&*()x": 23 - 'x\ny:z\tx $%^&*()x': 24 - tree: | - +STR - +DOC - +MAP - =VAL "foo\nbar:baz\tx \\$%^&*()x - =VAL :23 - =VAL 'x\\ny:z\\tx $%^&*()x - =VAL :24 - -MAP - -DOC - -STR - json: | - { - "foo\nbar:baz\tx \\$%^&*()x": 23, - "x\\ny:z\\tx $%^&*()x": 24 - } - dump: | - ? "foo\nbar:baz\tx \\$%^&*()x" - : 23 - 'x\ny:z\tx $%^&*()x': 24 diff --git a/tests/yaml-test-suite/6SLA/=== b/tests/yaml-test-suite/6SLA/=== new file mode 100644 index 0000000..d3031e8 --- /dev/null +++ b/tests/yaml-test-suite/6SLA/=== @@ -0,0 +1 @@ +Allowed characters in quoted mapping key diff --git a/tests/yaml-test-suite/6SLA/in.json b/tests/yaml-test-suite/6SLA/in.json new file mode 100644 index 0000000..b76510f --- /dev/null +++ b/tests/yaml-test-suite/6SLA/in.json @@ -0,0 +1,4 @@ +{ + "foo\nbar:baz\tx \\$%^&*()x": 23, + "x\\ny:z\\tx $%^&*()x": 24 +} diff --git a/tests/yaml-test-suite/6SLA/in.yaml b/tests/yaml-test-suite/6SLA/in.yaml new file mode 100644 index 0000000..5b8cd26 --- /dev/null +++ b/tests/yaml-test-suite/6SLA/in.yaml @@ -0,0 +1,2 @@ +"foo\nbar:baz\tx \\$%^&*()x": 23 +'x\ny:z\tx $%^&*()x': 24 diff --git a/tests/yaml-test-suite/6SLA/out.yaml b/tests/yaml-test-suite/6SLA/out.yaml new file mode 100644 index 0000000..c17c0b4 --- /dev/null +++ b/tests/yaml-test-suite/6SLA/out.yaml @@ -0,0 +1,3 @@ +? "foo\nbar:baz\tx \\$%^&*()x" +: 23 +'x\ny:z\tx $%^&*()x': 24 diff --git a/tests/yaml-test-suite/6SLA/test.event b/tests/yaml-test-suite/6SLA/test.event new file mode 100644 index 0000000..9411e77 --- /dev/null +++ b/tests/yaml-test-suite/6SLA/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL "foo\nbar:baz\tx \\$%^&*()x +=VAL :23 +=VAL 'x\\ny:z\\tx $%^&*()x +=VAL :24 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/6VJK.yaml b/tests/yaml-test-suite/6VJK.yaml deleted file mode 100644 index ccfcf67..0000000 --- a/tests/yaml-test-suite/6VJK.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Spec Example 2.15. Folded newlines are preserved for "more indented" and blank lines - from: http://www.yaml.org/spec/1.2/spec.html#id2761056 - tags: spec folded scalar 1.3-err - yaml: | - > - Sammy Sosa completed another - fine season with great stats. - - 63 Home Runs - 0.288 Batting Average - - What a year! - tree: | - +STR - +DOC - =VAL >Sammy Sosa completed another fine season with great stats.\n\n 63 Home Runs\n 0.288 Batting Average\n\nWhat a year!\n - -DOC - -STR - json: | - "Sammy Sosa completed another fine season with great stats.\n\n 63 Home Runs\n 0.288 Batting Average\n\nWhat a year!\n" - dump: | - > - Sammy Sosa completed another fine season with great stats. - - 63 Home Runs - 0.288 Batting Average - - What a year! diff --git a/tests/yaml-test-suite/6VJK/=== b/tests/yaml-test-suite/6VJK/=== new file mode 100644 index 0000000..6330dfb --- /dev/null +++ b/tests/yaml-test-suite/6VJK/=== @@ -0,0 +1 @@ +Spec Example 2.15. Folded newlines are preserved for "more indented" and blank lines diff --git a/tests/yaml-test-suite/6VJK/in.json b/tests/yaml-test-suite/6VJK/in.json new file mode 100644 index 0000000..d61c429 --- /dev/null +++ b/tests/yaml-test-suite/6VJK/in.json @@ -0,0 +1 @@ +"Sammy Sosa completed another fine season with great stats.\n\n 63 Home Runs\n 0.288 Batting Average\n\nWhat a year!\n" diff --git a/tests/yaml-test-suite/6VJK/in.yaml b/tests/yaml-test-suite/6VJK/in.yaml new file mode 100644 index 0000000..80b89a6 --- /dev/null +++ b/tests/yaml-test-suite/6VJK/in.yaml @@ -0,0 +1,8 @@ +> + Sammy Sosa completed another + fine season with great stats. + + 63 Home Runs + 0.288 Batting Average + + What a year! diff --git a/tests/yaml-test-suite/6VJK/out.yaml b/tests/yaml-test-suite/6VJK/out.yaml new file mode 100644 index 0000000..c8d934f --- /dev/null +++ b/tests/yaml-test-suite/6VJK/out.yaml @@ -0,0 +1,7 @@ +> + Sammy Sosa completed another fine season with great stats. + + 63 Home Runs + 0.288 Batting Average + + What a year! diff --git a/tests/yaml-test-suite/6VJK/test.event b/tests/yaml-test-suite/6VJK/test.event new file mode 100644 index 0000000..93b252d --- /dev/null +++ b/tests/yaml-test-suite/6VJK/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL >Sammy Sosa completed another fine season with great stats.\n\n 63 Home Runs\n 0.288 Batting Average\n\nWhat a year!\n +-DOC +-STR diff --git a/tests/yaml-test-suite/6WLZ.yaml b/tests/yaml-test-suite/6WLZ.yaml deleted file mode 100644 index f229cc6..0000000 --- a/tests/yaml-test-suite/6WLZ.yaml +++ /dev/null @@ -1,35 +0,0 @@ ---- -- name: Spec Example 6.18. Primary Tag Handle [1.3] - from: 9WXW, modified for YAML 1.3 - tags: local-tag spec directive tag 1.3-mod - yaml: | - # Private - --- - !foo "bar" - ... - # Global - %TAG ! tag:example.com,2000:app/ - --- - !foo "bar" - tree: | - +STR - +DOC --- - =VAL "bar - -DOC ... - +DOC --- - =VAL "bar - -DOC - -STR - json: | - "bar" - "bar" - dump: | - --- - !foo "bar" - ... - --- ! - "bar" - emit: | - --- !foo "bar" - ... - --- ! "bar" diff --git a/tests/yaml-test-suite/6WLZ/=== b/tests/yaml-test-suite/6WLZ/=== new file mode 100644 index 0000000..88b0f9c --- /dev/null +++ b/tests/yaml-test-suite/6WLZ/=== @@ -0,0 +1 @@ +Spec Example 6.18. Primary Tag Handle [1.3] diff --git a/tests/yaml-test-suite/6WLZ/emit.yaml b/tests/yaml-test-suite/6WLZ/emit.yaml new file mode 100644 index 0000000..18da5e8 --- /dev/null +++ b/tests/yaml-test-suite/6WLZ/emit.yaml @@ -0,0 +1,3 @@ +--- !foo "bar" +... +--- ! "bar" diff --git a/tests/yaml-test-suite/6WLZ/in.json b/tests/yaml-test-suite/6WLZ/in.json new file mode 100644 index 0000000..f95cbd7 --- /dev/null +++ b/tests/yaml-test-suite/6WLZ/in.json @@ -0,0 +1,2 @@ +"bar" +"bar" diff --git a/tests/yaml-test-suite/6WLZ/in.yaml b/tests/yaml-test-suite/6WLZ/in.yaml new file mode 100644 index 0000000..fd94164 --- /dev/null +++ b/tests/yaml-test-suite/6WLZ/in.yaml @@ -0,0 +1,8 @@ +# Private +--- +!foo "bar" +... +# Global +%TAG ! tag:example.com,2000:app/ +--- +!foo "bar" diff --git a/tests/yaml-test-suite/6WLZ/out.yaml b/tests/yaml-test-suite/6WLZ/out.yaml new file mode 100644 index 0000000..b825b20 --- /dev/null +++ b/tests/yaml-test-suite/6WLZ/out.yaml @@ -0,0 +1,5 @@ +--- +!foo "bar" +... +--- ! +"bar" diff --git a/tests/yaml-test-suite/6WLZ/test.event b/tests/yaml-test-suite/6WLZ/test.event new file mode 100644 index 0000000..7730f21 --- /dev/null +++ b/tests/yaml-test-suite/6WLZ/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- +=VAL "bar +-DOC ... ++DOC --- +=VAL "bar +-DOC +-STR diff --git a/tests/yaml-test-suite/6WPF.yaml b/tests/yaml-test-suite/6WPF.yaml deleted file mode 100644 index 9aa2cc0..0000000 --- a/tests/yaml-test-suite/6WPF.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Spec Example 6.8. Flow Folding [1.3] - from: TL85, modified for YAML 1.3 - tags: double spec whitespace scalar 1.3-mod - yaml: | - --- - " - foo␣ - ␣ - bar - - baz - " - tree: | - +STR - +DOC --- - =VAL " foo\nbar\nbaz␣ - -DOC - -STR - json: | - " foo\nbar\nbaz " - dump: | - " foo\nbar\nbaz " - emit: | - --- " foo\nbar\nbaz " diff --git a/tests/yaml-test-suite/6WPF/=== b/tests/yaml-test-suite/6WPF/=== new file mode 100644 index 0000000..1790619 --- /dev/null +++ b/tests/yaml-test-suite/6WPF/=== @@ -0,0 +1 @@ +Spec Example 6.8. Flow Folding [1.3] diff --git a/tests/yaml-test-suite/6WPF/emit.yaml b/tests/yaml-test-suite/6WPF/emit.yaml new file mode 100644 index 0000000..300d5e3 --- /dev/null +++ b/tests/yaml-test-suite/6WPF/emit.yaml @@ -0,0 +1 @@ +--- " foo\nbar\nbaz " diff --git a/tests/yaml-test-suite/6WPF/in.json b/tests/yaml-test-suite/6WPF/in.json new file mode 100644 index 0000000..0fcc9db --- /dev/null +++ b/tests/yaml-test-suite/6WPF/in.json @@ -0,0 +1 @@ +" foo\nbar\nbaz " diff --git a/tests/yaml-test-suite/6WPF/in.yaml b/tests/yaml-test-suite/6WPF/in.yaml new file mode 100644 index 0000000..aed6e4b --- /dev/null +++ b/tests/yaml-test-suite/6WPF/in.yaml @@ -0,0 +1,8 @@ +--- +" + foo + + bar + + baz +" diff --git a/tests/yaml-test-suite/6WPF/out.yaml b/tests/yaml-test-suite/6WPF/out.yaml new file mode 100644 index 0000000..0fcc9db --- /dev/null +++ b/tests/yaml-test-suite/6WPF/out.yaml @@ -0,0 +1 @@ +" foo\nbar\nbaz " diff --git a/tests/yaml-test-suite/6WPF/test.event b/tests/yaml-test-suite/6WPF/test.event new file mode 100644 index 0000000..de0c0ba --- /dev/null +++ b/tests/yaml-test-suite/6WPF/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL " foo\nbar\nbaz +-DOC +-STR diff --git a/tests/yaml-test-suite/6XDY.yaml b/tests/yaml-test-suite/6XDY.yaml deleted file mode 100644 index 92441ab..0000000 --- a/tests/yaml-test-suite/6XDY.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Two document start markers - from: '@perlpunk' - tags: header - yaml: | - --- - --- - tree: | - +STR - +DOC --- - =VAL : - -DOC - +DOC --- - =VAL : - -DOC - -STR - json: | - null - null - dump: | - --- - --- diff --git a/tests/yaml-test-suite/6XDY/=== b/tests/yaml-test-suite/6XDY/=== new file mode 100644 index 0000000..0d87541 --- /dev/null +++ b/tests/yaml-test-suite/6XDY/=== @@ -0,0 +1 @@ +Two document start markers diff --git a/tests/yaml-test-suite/6XDY/in.json b/tests/yaml-test-suite/6XDY/in.json new file mode 100644 index 0000000..c1e4b6c --- /dev/null +++ b/tests/yaml-test-suite/6XDY/in.json @@ -0,0 +1,2 @@ +null +null diff --git a/tests/yaml-test-suite/6XDY/in.yaml b/tests/yaml-test-suite/6XDY/in.yaml new file mode 100644 index 0000000..a845151 --- /dev/null +++ b/tests/yaml-test-suite/6XDY/in.yaml @@ -0,0 +1,2 @@ +--- +--- diff --git a/tests/yaml-test-suite/6XDY/out.yaml b/tests/yaml-test-suite/6XDY/out.yaml new file mode 100644 index 0000000..a845151 --- /dev/null +++ b/tests/yaml-test-suite/6XDY/out.yaml @@ -0,0 +1,2 @@ +--- +--- diff --git a/tests/yaml-test-suite/6XDY/test.event b/tests/yaml-test-suite/6XDY/test.event new file mode 100644 index 0000000..fe39bfe --- /dev/null +++ b/tests/yaml-test-suite/6XDY/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- +=VAL : +-DOC ++DOC --- +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/6ZKB.yaml b/tests/yaml-test-suite/6ZKB.yaml deleted file mode 100644 index d376f3a..0000000 --- a/tests/yaml-test-suite/6ZKB.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- name: Spec Example 9.6. Stream - from: http://www.yaml.org/spec/1.2/spec.html#id2801896 - tags: spec header 1.3-err - yaml: | - Document - --- - # Empty - ... - %YAML 1.2 - --- - matches %: 20 - tree: | - +STR - +DOC - =VAL :Document - -DOC - +DOC --- - =VAL : - -DOC ... - +DOC --- - +MAP - =VAL :matches % - =VAL :20 - -MAP - -DOC - -STR - json: | - "Document" - null - { - "matches %": 20 - } - emit: | - Document - --- - ... - %YAML 1.2 - --- - matches %: 20 diff --git a/tests/yaml-test-suite/6ZKB/=== b/tests/yaml-test-suite/6ZKB/=== new file mode 100644 index 0000000..ab5ec6f --- /dev/null +++ b/tests/yaml-test-suite/6ZKB/=== @@ -0,0 +1 @@ +Spec Example 9.6. Stream diff --git a/tests/yaml-test-suite/6ZKB/emit.yaml b/tests/yaml-test-suite/6ZKB/emit.yaml new file mode 100644 index 0000000..1270962 --- /dev/null +++ b/tests/yaml-test-suite/6ZKB/emit.yaml @@ -0,0 +1,6 @@ +Document +--- +... +%YAML 1.2 +--- +matches %: 20 diff --git a/tests/yaml-test-suite/6ZKB/in.json b/tests/yaml-test-suite/6ZKB/in.json new file mode 100644 index 0000000..b637cb9 --- /dev/null +++ b/tests/yaml-test-suite/6ZKB/in.json @@ -0,0 +1,5 @@ +"Document" +null +{ + "matches %": 20 +} diff --git a/tests/yaml-test-suite/6ZKB/in.yaml b/tests/yaml-test-suite/6ZKB/in.yaml new file mode 100644 index 0000000..52bd345 --- /dev/null +++ b/tests/yaml-test-suite/6ZKB/in.yaml @@ -0,0 +1,7 @@ +Document +--- +# Empty +... +%YAML 1.2 +--- +matches %: 20 diff --git a/tests/yaml-test-suite/6ZKB/test.event b/tests/yaml-test-suite/6ZKB/test.event new file mode 100644 index 0000000..3d3b733 --- /dev/null +++ b/tests/yaml-test-suite/6ZKB/test.event @@ -0,0 +1,14 @@ ++STR ++DOC +=VAL :Document +-DOC ++DOC --- +=VAL : +-DOC ... ++DOC --- ++MAP +=VAL :matches % +=VAL :20 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/735Y.yaml b/tests/yaml-test-suite/735Y.yaml deleted file mode 100644 index fb24919..0000000 --- a/tests/yaml-test-suite/735Y.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- name: Spec Example 8.20. Block Node Types - from: http://www.yaml.org/spec/1.2/spec.html#id2799426 - tags: comment double spec folded tag - yaml: | - - - "flow in block" - - > - Block scalar - - !!map # Block collection - foo : bar - tree: | - +STR - +DOC - +SEQ - =VAL "flow in block - =VAL >Block scalar\n - +MAP - =VAL :foo - =VAL :bar - -MAP - -SEQ - -DOC - -STR - json: | - [ - "flow in block", - "Block scalar\n", - { - "foo": "bar" - } - ] - dump: | - - "flow in block" - - > - Block scalar - - !!map - foo: bar diff --git a/tests/yaml-test-suite/735Y/=== b/tests/yaml-test-suite/735Y/=== new file mode 100644 index 0000000..6c63e2b --- /dev/null +++ b/tests/yaml-test-suite/735Y/=== @@ -0,0 +1 @@ +Spec Example 8.20. Block Node Types diff --git a/tests/yaml-test-suite/735Y/in.json b/tests/yaml-test-suite/735Y/in.json new file mode 100644 index 0000000..0cca491 --- /dev/null +++ b/tests/yaml-test-suite/735Y/in.json @@ -0,0 +1,7 @@ +[ + "flow in block", + "Block scalar\n", + { + "foo": "bar" + } +] diff --git a/tests/yaml-test-suite/735Y/in.yaml b/tests/yaml-test-suite/735Y/in.yaml new file mode 100644 index 0000000..a3f13ae --- /dev/null +++ b/tests/yaml-test-suite/735Y/in.yaml @@ -0,0 +1,6 @@ +- + "flow in block" +- > + Block scalar +- !!map # Block collection + foo : bar diff --git a/tests/yaml-test-suite/735Y/out.yaml b/tests/yaml-test-suite/735Y/out.yaml new file mode 100644 index 0000000..e26ea60 --- /dev/null +++ b/tests/yaml-test-suite/735Y/out.yaml @@ -0,0 +1,5 @@ +- "flow in block" +- > + Block scalar +- !!map + foo: bar diff --git a/tests/yaml-test-suite/735Y/test.event b/tests/yaml-test-suite/735Y/test.event new file mode 100644 index 0000000..0636edf --- /dev/null +++ b/tests/yaml-test-suite/735Y/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++SEQ +=VAL "flow in block +=VAL >Block scalar\n ++MAP +=VAL :foo +=VAL :bar +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/74H7.yaml b/tests/yaml-test-suite/74H7.yaml deleted file mode 100644 index 8e5a1c4..0000000 --- a/tests/yaml-test-suite/74H7.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -- name: Tags in Implicit Mapping - from: NimYAML tests - tags: tag mapping - yaml: | - !!str a: b - c: !!int 42 - e: !!str f - g: h - !!str 23: !!bool false - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL :b - =VAL :c - =VAL :42 - =VAL :e - =VAL :f - =VAL :g - =VAL :h - =VAL :23 - =VAL :false - -MAP - -DOC - -STR - json: | - { - "a": "b", - "c": 42, - "e": "f", - "g": "h", - "23": false - } - dump: | - !!str a: b - c: !!int 42 - e: !!str f - g: h - !!str 23: !!bool false diff --git a/tests/yaml-test-suite/74H7/=== b/tests/yaml-test-suite/74H7/=== new file mode 100644 index 0000000..0434c2d --- /dev/null +++ b/tests/yaml-test-suite/74H7/=== @@ -0,0 +1 @@ +Tags in Implicit Mapping diff --git a/tests/yaml-test-suite/74H7/in.json b/tests/yaml-test-suite/74H7/in.json new file mode 100644 index 0000000..5890c51 --- /dev/null +++ b/tests/yaml-test-suite/74H7/in.json @@ -0,0 +1,7 @@ +{ + "a": "b", + "c": 42, + "e": "f", + "g": "h", + "23": false +} diff --git a/tests/yaml-test-suite/74H7/in.yaml b/tests/yaml-test-suite/74H7/in.yaml new file mode 100644 index 0000000..dd1a8fa --- /dev/null +++ b/tests/yaml-test-suite/74H7/in.yaml @@ -0,0 +1,5 @@ +!!str a: b +c: !!int 42 +e: !!str f +g: h +!!str 23: !!bool false diff --git a/tests/yaml-test-suite/74H7/out.yaml b/tests/yaml-test-suite/74H7/out.yaml new file mode 100644 index 0000000..dd1a8fa --- /dev/null +++ b/tests/yaml-test-suite/74H7/out.yaml @@ -0,0 +1,5 @@ +!!str a: b +c: !!int 42 +e: !!str f +g: h +!!str 23: !!bool false diff --git a/tests/yaml-test-suite/74H7/test.event b/tests/yaml-test-suite/74H7/test.event new file mode 100644 index 0000000..1f20e00 --- /dev/null +++ b/tests/yaml-test-suite/74H7/test.event @@ -0,0 +1,16 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL :b +=VAL :c +=VAL :42 +=VAL :e +=VAL :f +=VAL :g +=VAL :h +=VAL :23 +=VAL :false +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/753E.yaml b/tests/yaml-test-suite/753E.yaml deleted file mode 100644 index cc1de02..0000000 --- a/tests/yaml-test-suite/753E.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Block Scalar Strip [1.3] - from: MYW6, modified for YAML 1.3 - tags: literal scalar 1.3-mod whitespace - yaml: | - --- |- - ab - ␣ - ␣ - ... - tree: | - +STR - +DOC --- - =VAL |ab - -DOC ... - -STR - json: | - "ab" - dump: | - --- |- - ab - ... diff --git a/tests/yaml-test-suite/753E/=== b/tests/yaml-test-suite/753E/=== new file mode 100644 index 0000000..70e1f3e --- /dev/null +++ b/tests/yaml-test-suite/753E/=== @@ -0,0 +1 @@ +Block Scalar Strip [1.3] diff --git a/tests/yaml-test-suite/753E/in.json b/tests/yaml-test-suite/753E/in.json new file mode 100644 index 0000000..cb5537d --- /dev/null +++ b/tests/yaml-test-suite/753E/in.json @@ -0,0 +1 @@ +"ab" diff --git a/tests/yaml-test-suite/753E/in.yaml b/tests/yaml-test-suite/753E/in.yaml new file mode 100644 index 0000000..33a6577 --- /dev/null +++ b/tests/yaml-test-suite/753E/in.yaml @@ -0,0 +1,5 @@ +--- |- + ab + + +... diff --git a/tests/yaml-test-suite/753E/out.yaml b/tests/yaml-test-suite/753E/out.yaml new file mode 100644 index 0000000..eaf792b --- /dev/null +++ b/tests/yaml-test-suite/753E/out.yaml @@ -0,0 +1,3 @@ +--- |- + ab +... diff --git a/tests/yaml-test-suite/753E/test.event b/tests/yaml-test-suite/753E/test.event new file mode 100644 index 0000000..292efb4 --- /dev/null +++ b/tests/yaml-test-suite/753E/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL |ab +-DOC ... +-STR diff --git a/tests/yaml-test-suite/7A4E.yaml b/tests/yaml-test-suite/7A4E.yaml deleted file mode 100644 index 4c8afc6..0000000 --- a/tests/yaml-test-suite/7A4E.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: Spec Example 7.6. Double Quoted Lines - from: http://www.yaml.org/spec/1.2/spec.html#id2787994 - tags: spec scalar upto-1.2 whitespace - yaml: | - " 1st non-empty - - 2nd non-empty␣ - ———»3rd non-empty " - tree: | - +STR - +DOC - =VAL " 1st non-empty\n2nd non-empty 3rd non-empty␣ - -DOC - -STR - json: | - " 1st non-empty\n2nd non-empty 3rd non-empty " - dump: | - " 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/7A4E/=== b/tests/yaml-test-suite/7A4E/=== new file mode 100644 index 0000000..cce5298 --- /dev/null +++ b/tests/yaml-test-suite/7A4E/=== @@ -0,0 +1 @@ +Spec Example 7.6. Double Quoted Lines diff --git a/tests/yaml-test-suite/7A4E/in.json b/tests/yaml-test-suite/7A4E/in.json new file mode 100644 index 0000000..2dfab84 --- /dev/null +++ b/tests/yaml-test-suite/7A4E/in.json @@ -0,0 +1 @@ +" 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/7A4E/in.yaml b/tests/yaml-test-suite/7A4E/in.yaml new file mode 100644 index 0000000..3d8b76d --- /dev/null +++ b/tests/yaml-test-suite/7A4E/in.yaml @@ -0,0 +1,4 @@ +" 1st non-empty + + 2nd non-empty + 3rd non-empty " diff --git a/tests/yaml-test-suite/7A4E/out.yaml b/tests/yaml-test-suite/7A4E/out.yaml new file mode 100644 index 0000000..2dfab84 --- /dev/null +++ b/tests/yaml-test-suite/7A4E/out.yaml @@ -0,0 +1 @@ +" 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/7A4E/test.event b/tests/yaml-test-suite/7A4E/test.event new file mode 100644 index 0000000..c831930 --- /dev/null +++ b/tests/yaml-test-suite/7A4E/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL " 1st non-empty\n2nd non-empty 3rd non-empty +-DOC +-STR diff --git a/tests/yaml-test-suite/7BMT.yaml b/tests/yaml-test-suite/7BMT.yaml deleted file mode 100644 index 442862c..0000000 --- a/tests/yaml-test-suite/7BMT.yaml +++ /dev/null @@ -1,90 +0,0 @@ ---- -- name: Node and Mapping Key Anchors [1.3] - from: U3XV, modified for YAML 1.3 - tags: anchor comment mapping 1.3-mod - yaml: | - --- - top1: &node1 - &k1 key1: one - top2: &node2 # comment - key2: two - top3: - &k3 key3: three - top4: &node4 - &k4 key4: four - top5: &node5 - key5: five - top6: &val6 - six - top7: - &val7 seven - tree: | - +STR - +DOC --- - +MAP - =VAL :top1 - +MAP &node1 - =VAL &k1 :key1 - =VAL :one - -MAP - =VAL :top2 - +MAP &node2 - =VAL :key2 - =VAL :two - -MAP - =VAL :top3 - +MAP - =VAL &k3 :key3 - =VAL :three - -MAP - =VAL :top4 - +MAP &node4 - =VAL &k4 :key4 - =VAL :four - -MAP - =VAL :top5 - +MAP &node5 - =VAL :key5 - =VAL :five - -MAP - =VAL :top6 - =VAL &val6 :six - =VAL :top7 - =VAL &val7 :seven - -MAP - -DOC - -STR - json: | - { - "top1": { - "key1": "one" - }, - "top2": { - "key2": "two" - }, - "top3": { - "key3": "three" - }, - "top4": { - "key4": "four" - }, - "top5": { - "key5": "five" - }, - "top6": "six", - "top7": "seven" - } - dump: | - --- - top1: &node1 - &k1 key1: one - top2: &node2 - key2: two - top3: - &k3 key3: three - top4: &node4 - &k4 key4: four - top5: &node5 - key5: five - top6: &val6 six - top7: &val7 seven diff --git a/tests/yaml-test-suite/7BMT/=== b/tests/yaml-test-suite/7BMT/=== new file mode 100644 index 0000000..1b2c0e7 --- /dev/null +++ b/tests/yaml-test-suite/7BMT/=== @@ -0,0 +1 @@ +Node and Mapping Key Anchors [1.3] diff --git a/tests/yaml-test-suite/7BMT/in.json b/tests/yaml-test-suite/7BMT/in.json new file mode 100644 index 0000000..7bc2e58 --- /dev/null +++ b/tests/yaml-test-suite/7BMT/in.json @@ -0,0 +1,19 @@ +{ + "top1": { + "key1": "one" + }, + "top2": { + "key2": "two" + }, + "top3": { + "key3": "three" + }, + "top4": { + "key4": "four" + }, + "top5": { + "key5": "five" + }, + "top6": "six", + "top7": "seven" +} diff --git a/tests/yaml-test-suite/7BMT/in.yaml b/tests/yaml-test-suite/7BMT/in.yaml new file mode 100644 index 0000000..6d66011 --- /dev/null +++ b/tests/yaml-test-suite/7BMT/in.yaml @@ -0,0 +1,15 @@ +--- +top1: &node1 + &k1 key1: one +top2: &node2 # comment + key2: two +top3: + &k3 key3: three +top4: &node4 + &k4 key4: four +top5: &node5 + key5: five +top6: &val6 + six +top7: + &val7 seven diff --git a/tests/yaml-test-suite/7BMT/out.yaml b/tests/yaml-test-suite/7BMT/out.yaml new file mode 100644 index 0000000..04c8302 --- /dev/null +++ b/tests/yaml-test-suite/7BMT/out.yaml @@ -0,0 +1,13 @@ +--- +top1: &node1 + &k1 key1: one +top2: &node2 + key2: two +top3: + &k3 key3: three +top4: &node4 + &k4 key4: four +top5: &node5 + key5: five +top6: &val6 six +top7: &val7 seven diff --git a/tests/yaml-test-suite/7BMT/test.event b/tests/yaml-test-suite/7BMT/test.event new file mode 100644 index 0000000..4b924ae --- /dev/null +++ b/tests/yaml-test-suite/7BMT/test.event @@ -0,0 +1,35 @@ ++STR ++DOC --- ++MAP +=VAL :top1 ++MAP &node1 +=VAL &k1 :key1 +=VAL :one +-MAP +=VAL :top2 ++MAP &node2 +=VAL :key2 +=VAL :two +-MAP +=VAL :top3 ++MAP +=VAL &k3 :key3 +=VAL :three +-MAP +=VAL :top4 ++MAP &node4 +=VAL &k4 :key4 +=VAL :four +-MAP +=VAL :top5 ++MAP &node5 +=VAL :key5 +=VAL :five +-MAP +=VAL :top6 +=VAL &val6 :six +=VAL :top7 +=VAL &val7 :seven +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/7BUB.yaml b/tests/yaml-test-suite/7BUB.yaml deleted file mode 100644 index a52d72d..0000000 --- a/tests/yaml-test-suite/7BUB.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Spec Example 2.10. Node for “Sammy Sosa” appears twice in this document - from: http://www.yaml.org/spec/1.2/spec.html#id2760658 - tags: mapping sequence spec alias - yaml: | - --- - hr: - - Mark McGwire - # Following node labeled SS - - &SS Sammy Sosa - rbi: - - *SS # Subsequent occurrence - - Ken Griffey - tree: | - +STR - +DOC --- - +MAP - =VAL :hr - +SEQ - =VAL :Mark McGwire - =VAL &SS :Sammy Sosa - -SEQ - =VAL :rbi - +SEQ - =ALI *SS - =VAL :Ken Griffey - -SEQ - -MAP - -DOC - -STR - json: | - { - "hr": [ - "Mark McGwire", - "Sammy Sosa" - ], - "rbi": [ - "Sammy Sosa", - "Ken Griffey" - ] - } - dump: | - --- - hr: - - Mark McGwire - - &SS Sammy Sosa - rbi: - - *SS - - Ken Griffey diff --git a/tests/yaml-test-suite/7BUB/=== b/tests/yaml-test-suite/7BUB/=== new file mode 100644 index 0000000..39cc35f --- /dev/null +++ b/tests/yaml-test-suite/7BUB/=== @@ -0,0 +1 @@ +Spec Example 2.10. Node for “Sammy Sosa” appears twice in this document diff --git a/tests/yaml-test-suite/7BUB/in.json b/tests/yaml-test-suite/7BUB/in.json new file mode 100644 index 0000000..d32dc2f --- /dev/null +++ b/tests/yaml-test-suite/7BUB/in.json @@ -0,0 +1,10 @@ +{ + "hr": [ + "Mark McGwire", + "Sammy Sosa" + ], + "rbi": [ + "Sammy Sosa", + "Ken Griffey" + ] +} diff --git a/tests/yaml-test-suite/7BUB/in.yaml b/tests/yaml-test-suite/7BUB/in.yaml new file mode 100644 index 0000000..61808f6 --- /dev/null +++ b/tests/yaml-test-suite/7BUB/in.yaml @@ -0,0 +1,8 @@ +--- +hr: + - Mark McGwire + # Following node labeled SS + - &SS Sammy Sosa +rbi: + - *SS # Subsequent occurrence + - Ken Griffey diff --git a/tests/yaml-test-suite/7BUB/out.yaml b/tests/yaml-test-suite/7BUB/out.yaml new file mode 100644 index 0000000..625c4af --- /dev/null +++ b/tests/yaml-test-suite/7BUB/out.yaml @@ -0,0 +1,7 @@ +--- +hr: +- Mark McGwire +- &SS Sammy Sosa +rbi: +- *SS +- Ken Griffey diff --git a/tests/yaml-test-suite/7BUB/test.event b/tests/yaml-test-suite/7BUB/test.event new file mode 100644 index 0000000..0dcba44 --- /dev/null +++ b/tests/yaml-test-suite/7BUB/test.event @@ -0,0 +1,16 @@ ++STR ++DOC --- ++MAP +=VAL :hr ++SEQ +=VAL :Mark McGwire +=VAL &SS :Sammy Sosa +-SEQ +=VAL :rbi ++SEQ +=ALI *SS +=VAL :Ken Griffey +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/7FWL.yaml b/tests/yaml-test-suite/7FWL.yaml deleted file mode 100644 index b1251b4..0000000 --- a/tests/yaml-test-suite/7FWL.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Spec Example 6.24. Verbatim Tags - from: http://www.yaml.org/spec/1.2/spec.html#id2784370 - tags: mapping spec tag unknown-tag - yaml: | - ! foo : - ! baz - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :baz - -MAP - -DOC - -STR - json: | - { - "foo": "baz" - } - dump: | - !!str foo: !bar baz diff --git a/tests/yaml-test-suite/7FWL/=== b/tests/yaml-test-suite/7FWL/=== new file mode 100644 index 0000000..4fe43ad --- /dev/null +++ b/tests/yaml-test-suite/7FWL/=== @@ -0,0 +1 @@ +Spec Example 6.24. Verbatim Tags diff --git a/tests/yaml-test-suite/7FWL/in.json b/tests/yaml-test-suite/7FWL/in.json new file mode 100644 index 0000000..c9f7a94 --- /dev/null +++ b/tests/yaml-test-suite/7FWL/in.json @@ -0,0 +1,3 @@ +{ + "foo": "baz" +} diff --git a/tests/yaml-test-suite/7FWL/in.yaml b/tests/yaml-test-suite/7FWL/in.yaml new file mode 100644 index 0000000..8e51f52 --- /dev/null +++ b/tests/yaml-test-suite/7FWL/in.yaml @@ -0,0 +1,2 @@ +! foo : + ! baz diff --git a/tests/yaml-test-suite/7FWL/out.yaml b/tests/yaml-test-suite/7FWL/out.yaml new file mode 100644 index 0000000..f09d4a7 --- /dev/null +++ b/tests/yaml-test-suite/7FWL/out.yaml @@ -0,0 +1 @@ +!!str foo: !bar baz diff --git a/tests/yaml-test-suite/7FWL/test.event b/tests/yaml-test-suite/7FWL/test.event new file mode 100644 index 0000000..2aeeeed --- /dev/null +++ b/tests/yaml-test-suite/7FWL/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :baz +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/7LBH.yaml b/tests/yaml-test-suite/7LBH.yaml deleted file mode 100644 index 1d65357..0000000 --- a/tests/yaml-test-suite/7LBH.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Multiline double quoted implicit keys - from: '@perlpunk' - tags: error double - fail: true - yaml: | - "a\nb": 1 - "c - d": 1 - tree: | - +STR - +DOC - +MAP - =VAL "a\nb - =VAL :1 diff --git a/tests/yaml-test-suite/7LBH/=== b/tests/yaml-test-suite/7LBH/=== new file mode 100644 index 0000000..2e1b982 --- /dev/null +++ b/tests/yaml-test-suite/7LBH/=== @@ -0,0 +1 @@ +Multiline double quoted implicit keys diff --git a/tests/yaml-test-suite/7LBH/error b/tests/yaml-test-suite/7LBH/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/7LBH/in.yaml b/tests/yaml-test-suite/7LBH/in.yaml new file mode 100644 index 0000000..6953d40 --- /dev/null +++ b/tests/yaml-test-suite/7LBH/in.yaml @@ -0,0 +1,3 @@ +"a\nb": 1 +"c + d": 1 diff --git a/tests/yaml-test-suite/7LBH/test.event b/tests/yaml-test-suite/7LBH/test.event new file mode 100644 index 0000000..bc8ff06 --- /dev/null +++ b/tests/yaml-test-suite/7LBH/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL "a\nb +=VAL :1 diff --git a/tests/yaml-test-suite/7MNF.yaml b/tests/yaml-test-suite/7MNF.yaml deleted file mode 100644 index 91bafac..0000000 --- a/tests/yaml-test-suite/7MNF.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Missing colon - from: '@perlpunk' - tags: error mapping - fail: true - yaml: | - top1: - key1: val1 - top2 - tree: | - +STR - +DOC - +MAP - =VAL :top1 - +MAP - =VAL :key1 - =VAL :val1 - -MAP diff --git a/tests/yaml-test-suite/7MNF/=== b/tests/yaml-test-suite/7MNF/=== new file mode 100644 index 0000000..7526738 --- /dev/null +++ b/tests/yaml-test-suite/7MNF/=== @@ -0,0 +1 @@ +Missing colon diff --git a/tests/yaml-test-suite/7MNF/error b/tests/yaml-test-suite/7MNF/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/7MNF/in.yaml b/tests/yaml-test-suite/7MNF/in.yaml new file mode 100644 index 0000000..39bce10 --- /dev/null +++ b/tests/yaml-test-suite/7MNF/in.yaml @@ -0,0 +1,3 @@ +top1: + key1: val1 +top2 diff --git a/tests/yaml-test-suite/7MNF/test.event b/tests/yaml-test-suite/7MNF/test.event new file mode 100644 index 0000000..816444c --- /dev/null +++ b/tests/yaml-test-suite/7MNF/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :top1 ++MAP +=VAL :key1 +=VAL :val1 +-MAP diff --git a/tests/yaml-test-suite/7T8X.yaml b/tests/yaml-test-suite/7T8X.yaml deleted file mode 100644 index 66e3919..0000000 --- a/tests/yaml-test-suite/7T8X.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -- name: Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines - from: http://www.yaml.org/spec/1.2/spec.html#id2796543 - tags: spec folded scalar comment 1.3-err - yaml: | - > - - folded - line - - next - line - * bullet - - * list - * lines - - last - line - - # Comment - tree: | - +STR - +DOC - =VAL >\nfolded line\nnext line\n * bullet\n\n * list\n * lines\n\nlast line\n - -DOC - -STR - json: | - "\nfolded line\nnext line\n * bullet\n\n * list\n * lines\n\nlast line\n" - dump: | - > - - folded line - - next line - * bullet - - * list - * lines - - last line diff --git a/tests/yaml-test-suite/7T8X/=== b/tests/yaml-test-suite/7T8X/=== new file mode 100644 index 0000000..6cddb4f --- /dev/null +++ b/tests/yaml-test-suite/7T8X/=== @@ -0,0 +1 @@ +Spec Example 8.10. Folded Lines - 8.13. Final Empty Lines diff --git a/tests/yaml-test-suite/7T8X/in.json b/tests/yaml-test-suite/7T8X/in.json new file mode 100644 index 0000000..f52f875 --- /dev/null +++ b/tests/yaml-test-suite/7T8X/in.json @@ -0,0 +1 @@ +"\nfolded line\nnext line\n * bullet\n\n * list\n * lines\n\nlast line\n" diff --git a/tests/yaml-test-suite/7T8X/in.yaml b/tests/yaml-test-suite/7T8X/in.yaml new file mode 100644 index 0000000..992dd76 --- /dev/null +++ b/tests/yaml-test-suite/7T8X/in.yaml @@ -0,0 +1,16 @@ +> + + folded + line + + next + line + * bullet + + * list + * lines + + last + line + +# Comment diff --git a/tests/yaml-test-suite/7T8X/out.yaml b/tests/yaml-test-suite/7T8X/out.yaml new file mode 100644 index 0000000..2959aa2 --- /dev/null +++ b/tests/yaml-test-suite/7T8X/out.yaml @@ -0,0 +1,11 @@ +> + + folded line + + next line + * bullet + + * list + * lines + + last line diff --git a/tests/yaml-test-suite/7T8X/test.event b/tests/yaml-test-suite/7T8X/test.event new file mode 100644 index 0000000..c6e1829 --- /dev/null +++ b/tests/yaml-test-suite/7T8X/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL >\nfolded line\nnext line\n * bullet\n\n * list\n * lines\n\nlast line\n +-DOC +-STR diff --git a/tests/yaml-test-suite/7TMG.yaml b/tests/yaml-test-suite/7TMG.yaml deleted file mode 100644 index 14c0f47..0000000 --- a/tests/yaml-test-suite/7TMG.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Comment in flow sequence before comma - from: '@perlpunk' - tags: comment flow sequence - yaml: | - --- - [ word1 - # comment - , word2] - tree: | - +STR - +DOC --- - +SEQ [] - =VAL :word1 - =VAL :word2 - -SEQ - -DOC - -STR - json: | - [ - "word1", - "word2" - ] - dump: | - --- - - word1 - - word2 diff --git a/tests/yaml-test-suite/7TMG/=== b/tests/yaml-test-suite/7TMG/=== new file mode 100644 index 0000000..b6ebeda --- /dev/null +++ b/tests/yaml-test-suite/7TMG/=== @@ -0,0 +1 @@ +Comment in flow sequence before comma diff --git a/tests/yaml-test-suite/7TMG/in.json b/tests/yaml-test-suite/7TMG/in.json new file mode 100644 index 0000000..064aca0 --- /dev/null +++ b/tests/yaml-test-suite/7TMG/in.json @@ -0,0 +1,4 @@ +[ + "word1", + "word2" +] diff --git a/tests/yaml-test-suite/7TMG/in.yaml b/tests/yaml-test-suite/7TMG/in.yaml new file mode 100644 index 0000000..312847e --- /dev/null +++ b/tests/yaml-test-suite/7TMG/in.yaml @@ -0,0 +1,4 @@ +--- +[ word1 +# comment +, word2] diff --git a/tests/yaml-test-suite/7TMG/out.yaml b/tests/yaml-test-suite/7TMG/out.yaml new file mode 100644 index 0000000..c3ac536 --- /dev/null +++ b/tests/yaml-test-suite/7TMG/out.yaml @@ -0,0 +1,3 @@ +--- +- word1 +- word2 diff --git a/tests/yaml-test-suite/7TMG/test.event b/tests/yaml-test-suite/7TMG/test.event new file mode 100644 index 0000000..67aa08a --- /dev/null +++ b/tests/yaml-test-suite/7TMG/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++SEQ [] +=VAL :word1 +=VAL :word2 +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/7W2P.yaml b/tests/yaml-test-suite/7W2P.yaml deleted file mode 100644 index 5fe8606..0000000 --- a/tests/yaml-test-suite/7W2P.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Block Mapping with Missing Values - from: NimYAML tests - tags: explicit-key mapping - yaml: | - ? a - ? b - c: - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL : - =VAL :b - =VAL : - =VAL :c - =VAL : - -MAP - -DOC - -STR - json: | - { - "a": null, - "b": null, - "c": null - } - dump: | - a: - b: - c: diff --git a/tests/yaml-test-suite/7W2P/=== b/tests/yaml-test-suite/7W2P/=== new file mode 100644 index 0000000..89d33ec --- /dev/null +++ b/tests/yaml-test-suite/7W2P/=== @@ -0,0 +1 @@ +Block Mapping with Missing Values diff --git a/tests/yaml-test-suite/7W2P/in.json b/tests/yaml-test-suite/7W2P/in.json new file mode 100644 index 0000000..a08ddaa --- /dev/null +++ b/tests/yaml-test-suite/7W2P/in.json @@ -0,0 +1,5 @@ +{ + "a": null, + "b": null, + "c": null +} diff --git a/tests/yaml-test-suite/7W2P/in.yaml b/tests/yaml-test-suite/7W2P/in.yaml new file mode 100644 index 0000000..e36dcc9 --- /dev/null +++ b/tests/yaml-test-suite/7W2P/in.yaml @@ -0,0 +1,3 @@ +? a +? b +c: diff --git a/tests/yaml-test-suite/7W2P/out.yaml b/tests/yaml-test-suite/7W2P/out.yaml new file mode 100644 index 0000000..8dd099d --- /dev/null +++ b/tests/yaml-test-suite/7W2P/out.yaml @@ -0,0 +1,3 @@ +a: +b: +c: diff --git a/tests/yaml-test-suite/7W2P/test.event b/tests/yaml-test-suite/7W2P/test.event new file mode 100644 index 0000000..90a6a7b --- /dev/null +++ b/tests/yaml-test-suite/7W2P/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL : +=VAL :b +=VAL : +=VAL :c +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/7Z25.yaml b/tests/yaml-test-suite/7Z25.yaml deleted file mode 100644 index fafbbf6..0000000 --- a/tests/yaml-test-suite/7Z25.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Bare document after document end marker - from: '@perlpunk' - tags: footer - yaml: | - --- - scalar1 - ... - key: value - tree: | - +STR - +DOC --- - =VAL :scalar1 - -DOC ... - +DOC - +MAP - =VAL :key - =VAL :value - -MAP - -DOC - -STR - json: | - "scalar1" - { - "key": "value" - } - dump: | - --- scalar1 - ... - key: value diff --git a/tests/yaml-test-suite/7Z25/=== b/tests/yaml-test-suite/7Z25/=== new file mode 100644 index 0000000..64e7d6d --- /dev/null +++ b/tests/yaml-test-suite/7Z25/=== @@ -0,0 +1 @@ +Bare document after document end marker diff --git a/tests/yaml-test-suite/7Z25/in.json b/tests/yaml-test-suite/7Z25/in.json new file mode 100644 index 0000000..ca729cd --- /dev/null +++ b/tests/yaml-test-suite/7Z25/in.json @@ -0,0 +1,4 @@ +"scalar1" +{ + "key": "value" +} diff --git a/tests/yaml-test-suite/7Z25/in.yaml b/tests/yaml-test-suite/7Z25/in.yaml new file mode 100644 index 0000000..6964944 --- /dev/null +++ b/tests/yaml-test-suite/7Z25/in.yaml @@ -0,0 +1,4 @@ +--- +scalar1 +... +key: value diff --git a/tests/yaml-test-suite/7Z25/out.yaml b/tests/yaml-test-suite/7Z25/out.yaml new file mode 100644 index 0000000..ce128ec --- /dev/null +++ b/tests/yaml-test-suite/7Z25/out.yaml @@ -0,0 +1,3 @@ +--- scalar1 +... +key: value diff --git a/tests/yaml-test-suite/7Z25/test.event b/tests/yaml-test-suite/7Z25/test.event new file mode 100644 index 0000000..727a5cb --- /dev/null +++ b/tests/yaml-test-suite/7Z25/test.event @@ -0,0 +1,11 @@ ++STR ++DOC --- +=VAL :scalar1 +-DOC ... ++DOC ++MAP +=VAL :key +=VAL :value +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/7ZZ5.yaml b/tests/yaml-test-suite/7ZZ5.yaml deleted file mode 100644 index ffbeae6..0000000 --- a/tests/yaml-test-suite/7ZZ5.yaml +++ /dev/null @@ -1,63 +0,0 @@ ---- -- name: Empty flow collections - from: '@perlpunk' - tags: flow mapping sequence - yaml: | - --- - nested sequences: - - - - [] - - - - {} - key1: [] - key2: {} - tree: | - +STR - +DOC --- - +MAP - =VAL :nested sequences - +SEQ - +SEQ - +SEQ - +SEQ [] - -SEQ - -SEQ - -SEQ - +SEQ - +SEQ - +MAP {} - -MAP - -SEQ - -SEQ - -SEQ - =VAL :key1 - +SEQ [] - -SEQ - =VAL :key2 - +MAP {} - -MAP - -MAP - -DOC - -STR - json: | - { - "nested sequences": [ - [ - [ - [] - ] - ], - [ - [ - {} - ] - ] - ], - "key1": [], - "key2": {} - } - dump: | - --- - nested sequences: - - - - [] - - - - {} - key1: [] - key2: {} diff --git a/tests/yaml-test-suite/7ZZ5/=== b/tests/yaml-test-suite/7ZZ5/=== new file mode 100644 index 0000000..d58a413 --- /dev/null +++ b/tests/yaml-test-suite/7ZZ5/=== @@ -0,0 +1 @@ +Empty flow collections diff --git a/tests/yaml-test-suite/7ZZ5/in.json b/tests/yaml-test-suite/7ZZ5/in.json new file mode 100644 index 0000000..ab44179 --- /dev/null +++ b/tests/yaml-test-suite/7ZZ5/in.json @@ -0,0 +1,16 @@ +{ + "nested sequences": [ + [ + [ + [] + ] + ], + [ + [ + {} + ] + ] + ], + "key1": [], + "key2": {} +} diff --git a/tests/yaml-test-suite/7ZZ5/in.yaml b/tests/yaml-test-suite/7ZZ5/in.yaml new file mode 100644 index 0000000..9f12ef2 --- /dev/null +++ b/tests/yaml-test-suite/7ZZ5/in.yaml @@ -0,0 +1,6 @@ +--- +nested sequences: +- - - [] +- - - {} +key1: [] +key2: {} diff --git a/tests/yaml-test-suite/7ZZ5/out.yaml b/tests/yaml-test-suite/7ZZ5/out.yaml new file mode 100644 index 0000000..9f12ef2 --- /dev/null +++ b/tests/yaml-test-suite/7ZZ5/out.yaml @@ -0,0 +1,6 @@ +--- +nested sequences: +- - - [] +- - - {} +key1: [] +key2: {} diff --git a/tests/yaml-test-suite/7ZZ5/test.event b/tests/yaml-test-suite/7ZZ5/test.event new file mode 100644 index 0000000..782158e --- /dev/null +++ b/tests/yaml-test-suite/7ZZ5/test.event @@ -0,0 +1,27 @@ ++STR ++DOC --- ++MAP +=VAL :nested sequences ++SEQ ++SEQ ++SEQ ++SEQ [] +-SEQ +-SEQ +-SEQ ++SEQ ++SEQ ++MAP {} +-MAP +-SEQ +-SEQ +-SEQ +=VAL :key1 ++SEQ [] +-SEQ +=VAL :key2 ++MAP {} +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/82AN.yaml b/tests/yaml-test-suite/82AN.yaml deleted file mode 100644 index 9ab1cf0..0000000 --- a/tests/yaml-test-suite/82AN.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Three dashes and content without space - from: '@perlpunk' - tags: scalar 1.3-err - yaml: | - ---word1 - word2 - tree: | - +STR - +DOC - =VAL :---word1 word2 - -DOC - -STR - json: | - "---word1 word2" - dump: | - '---word1 word2' diff --git a/tests/yaml-test-suite/82AN/=== b/tests/yaml-test-suite/82AN/=== new file mode 100644 index 0000000..4306732 --- /dev/null +++ b/tests/yaml-test-suite/82AN/=== @@ -0,0 +1 @@ +Three dashes and content without space diff --git a/tests/yaml-test-suite/82AN/in.json b/tests/yaml-test-suite/82AN/in.json new file mode 100644 index 0000000..62a7caa --- /dev/null +++ b/tests/yaml-test-suite/82AN/in.json @@ -0,0 +1 @@ +"---word1 word2" diff --git a/tests/yaml-test-suite/82AN/in.yaml b/tests/yaml-test-suite/82AN/in.yaml new file mode 100644 index 0000000..fffaf58 --- /dev/null +++ b/tests/yaml-test-suite/82AN/in.yaml @@ -0,0 +1,2 @@ +---word1 +word2 diff --git a/tests/yaml-test-suite/82AN/out.yaml b/tests/yaml-test-suite/82AN/out.yaml new file mode 100644 index 0000000..a14c65b --- /dev/null +++ b/tests/yaml-test-suite/82AN/out.yaml @@ -0,0 +1 @@ +'---word1 word2' diff --git a/tests/yaml-test-suite/82AN/test.event b/tests/yaml-test-suite/82AN/test.event new file mode 100644 index 0000000..76bfe86 --- /dev/null +++ b/tests/yaml-test-suite/82AN/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL :---word1 word2 +-DOC +-STR diff --git a/tests/yaml-test-suite/87E4.yaml b/tests/yaml-test-suite/87E4.yaml deleted file mode 100644 index 4ca0ad8..0000000 --- a/tests/yaml-test-suite/87E4.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 7.8. Single Quoted Implicit Keys - from: http://www.yaml.org/spec/1.2/spec.html#id2788496 - tags: spec flow sequence mapping - yaml: | - 'implicit block key' : [ - 'implicit flow key' : value, - ] - tree: | - +STR - +DOC - +MAP - =VAL 'implicit block key - +SEQ [] - +MAP {} - =VAL 'implicit flow key - =VAL :value - -MAP - -SEQ - -MAP - -DOC - -STR - json: | - { - "implicit block key": [ - { - "implicit flow key": "value" - } - ] - } - dump: | - 'implicit block key': - - 'implicit flow key': value diff --git a/tests/yaml-test-suite/87E4/=== b/tests/yaml-test-suite/87E4/=== new file mode 100644 index 0000000..fbdb683 --- /dev/null +++ b/tests/yaml-test-suite/87E4/=== @@ -0,0 +1 @@ +Spec Example 7.8. Single Quoted Implicit Keys diff --git a/tests/yaml-test-suite/87E4/in.json b/tests/yaml-test-suite/87E4/in.json new file mode 100644 index 0000000..16ae65b --- /dev/null +++ b/tests/yaml-test-suite/87E4/in.json @@ -0,0 +1,7 @@ +{ + "implicit block key": [ + { + "implicit flow key": "value" + } + ] +} diff --git a/tests/yaml-test-suite/87E4/in.yaml b/tests/yaml-test-suite/87E4/in.yaml new file mode 100644 index 0000000..f1baf58 --- /dev/null +++ b/tests/yaml-test-suite/87E4/in.yaml @@ -0,0 +1,3 @@ +'implicit block key' : [ + 'implicit flow key' : value, + ] diff --git a/tests/yaml-test-suite/87E4/out.yaml b/tests/yaml-test-suite/87E4/out.yaml new file mode 100644 index 0000000..46a8c4c --- /dev/null +++ b/tests/yaml-test-suite/87E4/out.yaml @@ -0,0 +1,2 @@ +'implicit block key': +- 'implicit flow key': value diff --git a/tests/yaml-test-suite/87E4/test.event b/tests/yaml-test-suite/87E4/test.event new file mode 100644 index 0000000..4dd3d72 --- /dev/null +++ b/tests/yaml-test-suite/87E4/test.event @@ -0,0 +1,13 @@ ++STR ++DOC ++MAP +=VAL 'implicit block key ++SEQ [] ++MAP {} +=VAL 'implicit flow key +=VAL :value +-MAP +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/8CWC.yaml b/tests/yaml-test-suite/8CWC.yaml deleted file mode 100644 index ba29815..0000000 --- a/tests/yaml-test-suite/8CWC.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Plain mapping key ending with colon - from: '@perlpunk' - tags: mapping scalar - yaml: | - --- - key ends with two colons::: value - tree: | - +STR - +DOC --- - +MAP - =VAL :key ends with two colons:: - =VAL :value - -MAP - -DOC - -STR - json: | - { - "key ends with two colons::": "value" - } - dump: | - --- - 'key ends with two colons::': value diff --git a/tests/yaml-test-suite/8CWC/=== b/tests/yaml-test-suite/8CWC/=== new file mode 100644 index 0000000..59b2933 --- /dev/null +++ b/tests/yaml-test-suite/8CWC/=== @@ -0,0 +1 @@ +Plain mapping key ending with colon diff --git a/tests/yaml-test-suite/8CWC/in.json b/tests/yaml-test-suite/8CWC/in.json new file mode 100644 index 0000000..64ee5f2 --- /dev/null +++ b/tests/yaml-test-suite/8CWC/in.json @@ -0,0 +1,3 @@ +{ + "key ends with two colons::": "value" +} diff --git a/tests/yaml-test-suite/8CWC/in.yaml b/tests/yaml-test-suite/8CWC/in.yaml new file mode 100644 index 0000000..79d518d --- /dev/null +++ b/tests/yaml-test-suite/8CWC/in.yaml @@ -0,0 +1,2 @@ +--- +key ends with two colons::: value diff --git a/tests/yaml-test-suite/8CWC/out.yaml b/tests/yaml-test-suite/8CWC/out.yaml new file mode 100644 index 0000000..e44b202 --- /dev/null +++ b/tests/yaml-test-suite/8CWC/out.yaml @@ -0,0 +1,2 @@ +--- +'key ends with two colons::': value diff --git a/tests/yaml-test-suite/8CWC/test.event b/tests/yaml-test-suite/8CWC/test.event new file mode 100644 index 0000000..bb16181 --- /dev/null +++ b/tests/yaml-test-suite/8CWC/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP +=VAL :key ends with two colons:: +=VAL :value +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/8G76.yaml b/tests/yaml-test-suite/8G76.yaml deleted file mode 100644 index 48bc590..0000000 --- a/tests/yaml-test-suite/8G76.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Spec Example 6.10. Comment Lines - from: http://www.yaml.org/spec/1.2/spec.html#id2780544 - tags: spec comment empty scalar whitespace - yaml: |2 - # Comment - ␣␣␣ - ↵ - ↵ - tree: | - +STR - -STR - json: '' - dump: '' diff --git a/tests/yaml-test-suite/8G76/=== b/tests/yaml-test-suite/8G76/=== new file mode 100644 index 0000000..3dd03df --- /dev/null +++ b/tests/yaml-test-suite/8G76/=== @@ -0,0 +1 @@ +Spec Example 6.10. Comment Lines diff --git a/tests/yaml-test-suite/8G76/in.json b/tests/yaml-test-suite/8G76/in.json new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/8G76/in.yaml b/tests/yaml-test-suite/8G76/in.yaml new file mode 100644 index 0000000..e5f1a84 --- /dev/null +++ b/tests/yaml-test-suite/8G76/in.yaml @@ -0,0 +1,4 @@ + # Comment + + + diff --git a/tests/yaml-test-suite/8G76/out.yaml b/tests/yaml-test-suite/8G76/out.yaml new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/8G76/test.event b/tests/yaml-test-suite/8G76/test.event new file mode 100644 index 0000000..a8c0574 --- /dev/null +++ b/tests/yaml-test-suite/8G76/test.event @@ -0,0 +1,2 @@ ++STR +-STR diff --git a/tests/yaml-test-suite/8KB6.yaml b/tests/yaml-test-suite/8KB6.yaml deleted file mode 100644 index a4090d1..0000000 --- a/tests/yaml-test-suite/8KB6.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -- name: Multiline plain flow mapping key without value - from: '@perlpunk' - tags: flow mapping - yaml: | - --- - - { single line, a: b} - - { multi - line, a: b} - tree: | - +STR - +DOC --- - +SEQ - +MAP {} - =VAL :single line - =VAL : - =VAL :a - =VAL :b - -MAP - +MAP {} - =VAL :multi line - =VAL : - =VAL :a - =VAL :b - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "single line": null, - "a": "b" - }, - { - "multi line": null, - "a": "b" - } - ] - dump: | - --- - - single line: - a: b - - multi line: - a: b diff --git a/tests/yaml-test-suite/8KB6/=== b/tests/yaml-test-suite/8KB6/=== new file mode 100644 index 0000000..ef55388 --- /dev/null +++ b/tests/yaml-test-suite/8KB6/=== @@ -0,0 +1 @@ +Multiline plain flow mapping key without value diff --git a/tests/yaml-test-suite/8KB6/in.json b/tests/yaml-test-suite/8KB6/in.json new file mode 100644 index 0000000..2716276 --- /dev/null +++ b/tests/yaml-test-suite/8KB6/in.json @@ -0,0 +1,10 @@ +[ + { + "single line": null, + "a": "b" + }, + { + "multi line": null, + "a": "b" + } +] diff --git a/tests/yaml-test-suite/8KB6/in.yaml b/tests/yaml-test-suite/8KB6/in.yaml new file mode 100644 index 0000000..9167fd6 --- /dev/null +++ b/tests/yaml-test-suite/8KB6/in.yaml @@ -0,0 +1,4 @@ +--- +- { single line, a: b} +- { multi + line, a: b} diff --git a/tests/yaml-test-suite/8KB6/out.yaml b/tests/yaml-test-suite/8KB6/out.yaml new file mode 100644 index 0000000..a68f207 --- /dev/null +++ b/tests/yaml-test-suite/8KB6/out.yaml @@ -0,0 +1,5 @@ +--- +- single line: + a: b +- multi line: + a: b diff --git a/tests/yaml-test-suite/8KB6/test.event b/tests/yaml-test-suite/8KB6/test.event new file mode 100644 index 0000000..4c1ebbf --- /dev/null +++ b/tests/yaml-test-suite/8KB6/test.event @@ -0,0 +1,18 @@ ++STR ++DOC --- ++SEQ ++MAP {} +=VAL :single line +=VAL : +=VAL :a +=VAL :b +-MAP ++MAP {} +=VAL :multi line +=VAL : +=VAL :a +=VAL :b +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/8MK2.yaml b/tests/yaml-test-suite/8MK2.yaml deleted file mode 100644 index b5ba6ff..0000000 --- a/tests/yaml-test-suite/8MK2.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Explicit Non-Specific Tag - from: NimYAML tests - tags: tag 1.3-err - yaml: | - ! a - tree: | - +STR - +DOC - =VAL :a - -DOC - -STR - json: | - "a" diff --git a/tests/yaml-test-suite/8MK2/=== b/tests/yaml-test-suite/8MK2/=== new file mode 100644 index 0000000..4a011d4 --- /dev/null +++ b/tests/yaml-test-suite/8MK2/=== @@ -0,0 +1 @@ +Explicit Non-Specific Tag diff --git a/tests/yaml-test-suite/8MK2/in.json b/tests/yaml-test-suite/8MK2/in.json new file mode 100644 index 0000000..231f150 --- /dev/null +++ b/tests/yaml-test-suite/8MK2/in.json @@ -0,0 +1 @@ +"a" diff --git a/tests/yaml-test-suite/8MK2/in.yaml b/tests/yaml-test-suite/8MK2/in.yaml new file mode 100644 index 0000000..eae54f7 --- /dev/null +++ b/tests/yaml-test-suite/8MK2/in.yaml @@ -0,0 +1 @@ +! a diff --git a/tests/yaml-test-suite/8MK2/test.event b/tests/yaml-test-suite/8MK2/test.event new file mode 100644 index 0000000..4ad166a --- /dev/null +++ b/tests/yaml-test-suite/8MK2/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL :a +-DOC +-STR diff --git a/tests/yaml-test-suite/8QBE.yaml b/tests/yaml-test-suite/8QBE.yaml deleted file mode 100644 index d0ee99c..0000000 --- a/tests/yaml-test-suite/8QBE.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Block Sequence in Block Mapping - from: NimYAML tests - tags: mapping sequence - yaml: | - key: - - item1 - - item2 - tree: | - +STR - +DOC - +MAP - =VAL :key - +SEQ - =VAL :item1 - =VAL :item2 - -SEQ - -MAP - -DOC - -STR - json: | - { - "key": [ - "item1", - "item2" - ] - } - dump: | - key: - - item1 - - item2 diff --git a/tests/yaml-test-suite/8QBE/=== b/tests/yaml-test-suite/8QBE/=== new file mode 100644 index 0000000..1fb3907 --- /dev/null +++ b/tests/yaml-test-suite/8QBE/=== @@ -0,0 +1 @@ +Block Sequence in Block Mapping diff --git a/tests/yaml-test-suite/8QBE/in.json b/tests/yaml-test-suite/8QBE/in.json new file mode 100644 index 0000000..53a2601 --- /dev/null +++ b/tests/yaml-test-suite/8QBE/in.json @@ -0,0 +1,6 @@ +{ + "key": [ + "item1", + "item2" + ] +} diff --git a/tests/yaml-test-suite/8QBE/in.yaml b/tests/yaml-test-suite/8QBE/in.yaml new file mode 100644 index 0000000..6b937f8 --- /dev/null +++ b/tests/yaml-test-suite/8QBE/in.yaml @@ -0,0 +1,3 @@ +key: + - item1 + - item2 diff --git a/tests/yaml-test-suite/8QBE/out.yaml b/tests/yaml-test-suite/8QBE/out.yaml new file mode 100644 index 0000000..3cd4578 --- /dev/null +++ b/tests/yaml-test-suite/8QBE/out.yaml @@ -0,0 +1,3 @@ +key: +- item1 +- item2 diff --git a/tests/yaml-test-suite/8QBE/test.event b/tests/yaml-test-suite/8QBE/test.event new file mode 100644 index 0000000..18deb3b --- /dev/null +++ b/tests/yaml-test-suite/8QBE/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++MAP +=VAL :key ++SEQ +=VAL :item1 +=VAL :item2 +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/8UDB.yaml b/tests/yaml-test-suite/8UDB.yaml deleted file mode 100644 index a8612d3..0000000 --- a/tests/yaml-test-suite/8UDB.yaml +++ /dev/null @@ -1,48 +0,0 @@ ---- -- name: Spec Example 7.14. Flow Sequence Entries - from: http://www.yaml.org/spec/1.2/spec.html#id2790726 - tags: spec flow sequence - yaml: | - [ - "double - quoted", 'single - quoted', - plain - text, [ nested ], - single: pair, - ] - tree: | - +STR - +DOC - +SEQ [] - =VAL "double quoted - =VAL 'single quoted - =VAL :plain text - +SEQ [] - =VAL :nested - -SEQ - +MAP {} - =VAL :single - =VAL :pair - -MAP - -SEQ - -DOC - -STR - json: | - [ - "double quoted", - "single quoted", - "plain text", - [ - "nested" - ], - { - "single": "pair" - } - ] - dump: | - - "double quoted" - - 'single quoted' - - plain text - - - nested - - single: pair diff --git a/tests/yaml-test-suite/8UDB/=== b/tests/yaml-test-suite/8UDB/=== new file mode 100644 index 0000000..b2d68a6 --- /dev/null +++ b/tests/yaml-test-suite/8UDB/=== @@ -0,0 +1 @@ +Spec Example 7.14. Flow Sequence Entries diff --git a/tests/yaml-test-suite/8UDB/in.json b/tests/yaml-test-suite/8UDB/in.json new file mode 100644 index 0000000..763236f --- /dev/null +++ b/tests/yaml-test-suite/8UDB/in.json @@ -0,0 +1,11 @@ +[ + "double quoted", + "single quoted", + "plain text", + [ + "nested" + ], + { + "single": "pair" + } +] diff --git a/tests/yaml-test-suite/8UDB/in.yaml b/tests/yaml-test-suite/8UDB/in.yaml new file mode 100644 index 0000000..6327116 --- /dev/null +++ b/tests/yaml-test-suite/8UDB/in.yaml @@ -0,0 +1,8 @@ +[ +"double + quoted", 'single + quoted', +plain + text, [ nested ], +single: pair, +] diff --git a/tests/yaml-test-suite/8UDB/out.yaml b/tests/yaml-test-suite/8UDB/out.yaml new file mode 100644 index 0000000..ca502e8 --- /dev/null +++ b/tests/yaml-test-suite/8UDB/out.yaml @@ -0,0 +1,5 @@ +- "double quoted" +- 'single quoted' +- plain text +- - nested +- single: pair diff --git a/tests/yaml-test-suite/8UDB/test.event b/tests/yaml-test-suite/8UDB/test.event new file mode 100644 index 0000000..7378045 --- /dev/null +++ b/tests/yaml-test-suite/8UDB/test.event @@ -0,0 +1,16 @@ ++STR ++DOC ++SEQ [] +=VAL "double quoted +=VAL 'single quoted +=VAL :plain text ++SEQ [] +=VAL :nested +-SEQ ++MAP {} +=VAL :single +=VAL :pair +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/8XDJ.yaml b/tests/yaml-test-suite/8XDJ.yaml deleted file mode 100644 index bdba6f1..0000000 --- a/tests/yaml-test-suite/8XDJ.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Comment in plain multiline value - from: https://gist.github.com/anonymous/deeb1ace28d5bf21fb56d80c13e2dc69 via @ingydotnet - tags: error comment scalar - fail: true - yaml: | - key: word1 - # xxx - word2 - tree: | - +STR - +DOC - +MAP - =VAL :key - =VAL :word1 diff --git a/tests/yaml-test-suite/8XDJ/=== b/tests/yaml-test-suite/8XDJ/=== new file mode 100644 index 0000000..756ecec --- /dev/null +++ b/tests/yaml-test-suite/8XDJ/=== @@ -0,0 +1 @@ +Comment in plain multiline value diff --git a/tests/yaml-test-suite/8XDJ/error b/tests/yaml-test-suite/8XDJ/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/8XDJ/in.yaml b/tests/yaml-test-suite/8XDJ/in.yaml new file mode 100644 index 0000000..5045e77 --- /dev/null +++ b/tests/yaml-test-suite/8XDJ/in.yaml @@ -0,0 +1,3 @@ +key: word1 +# xxx + word2 diff --git a/tests/yaml-test-suite/8XDJ/test.event b/tests/yaml-test-suite/8XDJ/test.event new file mode 100644 index 0000000..74316c2 --- /dev/null +++ b/tests/yaml-test-suite/8XDJ/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL :key +=VAL :word1 diff --git a/tests/yaml-test-suite/8XYN.yaml b/tests/yaml-test-suite/8XYN.yaml deleted file mode 100644 index bdd99a9..0000000 --- a/tests/yaml-test-suite/8XYN.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Anchor with unicode character - from: https://github.com/yaml/pyyaml/issues/94 - tags: anchor - yaml: | - --- - - &😁 unicode anchor - tree: | - +STR - +DOC --- - +SEQ - =VAL &😁 :unicode anchor - -SEQ - -DOC - -STR - json: | - [ - "unicode anchor" - ] - dump: | - --- - - &😁 unicode anchor diff --git a/tests/yaml-test-suite/8XYN/=== b/tests/yaml-test-suite/8XYN/=== new file mode 100644 index 0000000..44692c7 --- /dev/null +++ b/tests/yaml-test-suite/8XYN/=== @@ -0,0 +1 @@ +Anchor with unicode character diff --git a/tests/yaml-test-suite/8XYN/in.json b/tests/yaml-test-suite/8XYN/in.json new file mode 100644 index 0000000..85f4c1a --- /dev/null +++ b/tests/yaml-test-suite/8XYN/in.json @@ -0,0 +1,3 @@ +[ + "unicode anchor" +] diff --git a/tests/yaml-test-suite/8XYN/in.yaml b/tests/yaml-test-suite/8XYN/in.yaml new file mode 100644 index 0000000..72c1c37 --- /dev/null +++ b/tests/yaml-test-suite/8XYN/in.yaml @@ -0,0 +1,2 @@ +--- +- &😁 unicode anchor diff --git a/tests/yaml-test-suite/8XYN/out.yaml b/tests/yaml-test-suite/8XYN/out.yaml new file mode 100644 index 0000000..72c1c37 --- /dev/null +++ b/tests/yaml-test-suite/8XYN/out.yaml @@ -0,0 +1,2 @@ +--- +- &😁 unicode anchor diff --git a/tests/yaml-test-suite/8XYN/test.event b/tests/yaml-test-suite/8XYN/test.event new file mode 100644 index 0000000..eeeb858 --- /dev/null +++ b/tests/yaml-test-suite/8XYN/test.event @@ -0,0 +1,7 @@ ++STR ++DOC --- ++SEQ +=VAL &😁 :unicode anchor +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/93JH.yaml b/tests/yaml-test-suite/93JH.yaml deleted file mode 100644 index 1a9d434..0000000 --- a/tests/yaml-test-suite/93JH.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- name: Block Mappings in Block Sequence - from: NimYAML tests - tags: mapping sequence - yaml: |2 - - key: value - key2: value2 - - - key3: value3 - tree: | - +STR - +DOC - +SEQ - +MAP - =VAL :key - =VAL :value - =VAL :key2 - =VAL :value2 - -MAP - +MAP - =VAL :key3 - =VAL :value3 - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "key": "value", - "key2": "value2" - }, - { - "key3": "value3" - } - ] - dump: | - - key: value - key2: value2 - - key3: value3 diff --git a/tests/yaml-test-suite/93JH/=== b/tests/yaml-test-suite/93JH/=== new file mode 100644 index 0000000..7f86ace --- /dev/null +++ b/tests/yaml-test-suite/93JH/=== @@ -0,0 +1 @@ +Block Mappings in Block Sequence diff --git a/tests/yaml-test-suite/93JH/in.json b/tests/yaml-test-suite/93JH/in.json new file mode 100644 index 0000000..ab22c39 --- /dev/null +++ b/tests/yaml-test-suite/93JH/in.json @@ -0,0 +1,9 @@ +[ + { + "key": "value", + "key2": "value2" + }, + { + "key3": "value3" + } +] diff --git a/tests/yaml-test-suite/93JH/in.yaml b/tests/yaml-test-suite/93JH/in.yaml new file mode 100644 index 0000000..30c49a3 --- /dev/null +++ b/tests/yaml-test-suite/93JH/in.yaml @@ -0,0 +1,4 @@ + - key: value + key2: value2 + - + key3: value3 diff --git a/tests/yaml-test-suite/93JH/out.yaml b/tests/yaml-test-suite/93JH/out.yaml new file mode 100644 index 0000000..62789bc --- /dev/null +++ b/tests/yaml-test-suite/93JH/out.yaml @@ -0,0 +1,3 @@ +- key: value + key2: value2 +- key3: value3 diff --git a/tests/yaml-test-suite/93JH/test.event b/tests/yaml-test-suite/93JH/test.event new file mode 100644 index 0000000..d036a62 --- /dev/null +++ b/tests/yaml-test-suite/93JH/test.event @@ -0,0 +1,16 @@ ++STR ++DOC ++SEQ ++MAP +=VAL :key +=VAL :value +=VAL :key2 +=VAL :value2 +-MAP ++MAP +=VAL :key3 +=VAL :value3 +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/93WF.yaml b/tests/yaml-test-suite/93WF.yaml deleted file mode 100644 index 49b82f1..0000000 --- a/tests/yaml-test-suite/93WF.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Spec Example 6.6. Line Folding [1.3] - from: K527, modified for YAML 1.3 - tags: folded spec whitespace scalar 1.3-mod - yaml: | - --- >- - trimmed - ␣␣ - ␣ - - as - space - tree: | - +STR - +DOC --- - =VAL >trimmed\n\n\nas space - -DOC - -STR - json: | - "trimmed\n\n\nas space" - dump: | - --- >- - trimmed - - - - as space diff --git a/tests/yaml-test-suite/93WF/=== b/tests/yaml-test-suite/93WF/=== new file mode 100644 index 0000000..6d4ed93 --- /dev/null +++ b/tests/yaml-test-suite/93WF/=== @@ -0,0 +1 @@ +Spec Example 6.6. Line Folding [1.3] diff --git a/tests/yaml-test-suite/93WF/in.json b/tests/yaml-test-suite/93WF/in.json new file mode 100644 index 0000000..9c6ce92 --- /dev/null +++ b/tests/yaml-test-suite/93WF/in.json @@ -0,0 +1 @@ +"trimmed\n\n\nas space" diff --git a/tests/yaml-test-suite/93WF/in.yaml b/tests/yaml-test-suite/93WF/in.yaml new file mode 100644 index 0000000..938ee98 --- /dev/null +++ b/tests/yaml-test-suite/93WF/in.yaml @@ -0,0 +1,7 @@ +--- >- + trimmed + + + + as + space diff --git a/tests/yaml-test-suite/93WF/out.yaml b/tests/yaml-test-suite/93WF/out.yaml new file mode 100644 index 0000000..e0b2e95 --- /dev/null +++ b/tests/yaml-test-suite/93WF/out.yaml @@ -0,0 +1,6 @@ +--- >- + trimmed + + + + as space diff --git a/tests/yaml-test-suite/93WF/test.event b/tests/yaml-test-suite/93WF/test.event new file mode 100644 index 0000000..7d16ac3 --- /dev/null +++ b/tests/yaml-test-suite/93WF/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL >trimmed\n\n\nas space +-DOC +-STR diff --git a/tests/yaml-test-suite/96L6.yaml b/tests/yaml-test-suite/96L6.yaml deleted file mode 100644 index 53a2cdc..0000000 --- a/tests/yaml-test-suite/96L6.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Spec Example 2.14. In the folded scalars, newlines become spaces - from: http://www.yaml.org/spec/1.2/spec.html#id2761032 - tags: spec folded scalar - yaml: | - --- > - Mark McGwire's - year was crippled - by a knee injury. - tree: | - +STR - +DOC --- - =VAL >Mark McGwire's year was crippled by a knee injury.\n - -DOC - -STR - json: | - "Mark McGwire's year was crippled by a knee injury.\n" - dump: | - --- > - Mark McGwire's year was crippled by a knee injury. diff --git a/tests/yaml-test-suite/96L6/=== b/tests/yaml-test-suite/96L6/=== new file mode 100644 index 0000000..75c7477 --- /dev/null +++ b/tests/yaml-test-suite/96L6/=== @@ -0,0 +1 @@ +Spec Example 2.14. In the folded scalars, newlines become spaces diff --git a/tests/yaml-test-suite/96L6/in.json b/tests/yaml-test-suite/96L6/in.json new file mode 100644 index 0000000..f427bc2 --- /dev/null +++ b/tests/yaml-test-suite/96L6/in.json @@ -0,0 +1 @@ +"Mark McGwire's year was crippled by a knee injury.\n" diff --git a/tests/yaml-test-suite/96L6/in.yaml b/tests/yaml-test-suite/96L6/in.yaml new file mode 100644 index 0000000..fb4ed4a --- /dev/null +++ b/tests/yaml-test-suite/96L6/in.yaml @@ -0,0 +1,4 @@ +--- > + Mark McGwire's + year was crippled + by a knee injury. diff --git a/tests/yaml-test-suite/96L6/out.yaml b/tests/yaml-test-suite/96L6/out.yaml new file mode 100644 index 0000000..0d5be77 --- /dev/null +++ b/tests/yaml-test-suite/96L6/out.yaml @@ -0,0 +1,2 @@ +--- > + Mark McGwire's year was crippled by a knee injury. diff --git a/tests/yaml-test-suite/96L6/test.event b/tests/yaml-test-suite/96L6/test.event new file mode 100644 index 0000000..debe8c0 --- /dev/null +++ b/tests/yaml-test-suite/96L6/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL >Mark McGwire's year was crippled by a knee injury.\n +-DOC +-STR diff --git a/tests/yaml-test-suite/96NN.yaml b/tests/yaml-test-suite/96NN.yaml deleted file mode 100644 index 3f75b37..0000000 --- a/tests/yaml-test-suite/96NN.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Leading tab content in literals - from: '@ingydotnet' - tags: indent literal whitespace - yaml: | - foo: |- - ——»bar - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL |\tbar - -MAP - -DOC - -STR - json: | - {"foo":"\tbar"} - dump: | - foo: |- - ——»bar - -- yaml: | - foo: |- - ——»bar∎ diff --git a/tests/yaml-test-suite/96NN/00/=== b/tests/yaml-test-suite/96NN/00/=== new file mode 100644 index 0000000..dd2559c --- /dev/null +++ b/tests/yaml-test-suite/96NN/00/=== @@ -0,0 +1 @@ +Leading tab content in literals diff --git a/tests/yaml-test-suite/96NN/00/in.json b/tests/yaml-test-suite/96NN/00/in.json new file mode 100644 index 0000000..0adc1e5 --- /dev/null +++ b/tests/yaml-test-suite/96NN/00/in.json @@ -0,0 +1 @@ +{"foo":"\tbar"} diff --git a/tests/yaml-test-suite/96NN/00/in.yaml b/tests/yaml-test-suite/96NN/00/in.yaml new file mode 100644 index 0000000..de7acab --- /dev/null +++ b/tests/yaml-test-suite/96NN/00/in.yaml @@ -0,0 +1,2 @@ +foo: |- + bar diff --git a/tests/yaml-test-suite/96NN/00/out.yaml b/tests/yaml-test-suite/96NN/00/out.yaml new file mode 100644 index 0000000..ee7535d --- /dev/null +++ b/tests/yaml-test-suite/96NN/00/out.yaml @@ -0,0 +1,2 @@ +foo: |- + bar diff --git a/tests/yaml-test-suite/96NN/00/test.event b/tests/yaml-test-suite/96NN/00/test.event new file mode 100644 index 0000000..0d18bd9 --- /dev/null +++ b/tests/yaml-test-suite/96NN/00/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL |\tbar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/96NN/01/=== b/tests/yaml-test-suite/96NN/01/=== new file mode 100644 index 0000000..dd2559c --- /dev/null +++ b/tests/yaml-test-suite/96NN/01/=== @@ -0,0 +1 @@ +Leading tab content in literals diff --git a/tests/yaml-test-suite/96NN/01/in.json b/tests/yaml-test-suite/96NN/01/in.json new file mode 100644 index 0000000..0adc1e5 --- /dev/null +++ b/tests/yaml-test-suite/96NN/01/in.json @@ -0,0 +1 @@ +{"foo":"\tbar"} diff --git a/tests/yaml-test-suite/96NN/01/in.yaml b/tests/yaml-test-suite/96NN/01/in.yaml new file mode 100644 index 0000000..28703ea --- /dev/null +++ b/tests/yaml-test-suite/96NN/01/in.yaml @@ -0,0 +1,2 @@ +foo: |- + bar \ No newline at end of file diff --git a/tests/yaml-test-suite/96NN/01/out.yaml b/tests/yaml-test-suite/96NN/01/out.yaml new file mode 100644 index 0000000..ee7535d --- /dev/null +++ b/tests/yaml-test-suite/96NN/01/out.yaml @@ -0,0 +1,2 @@ +foo: |- + bar diff --git a/tests/yaml-test-suite/96NN/01/test.event b/tests/yaml-test-suite/96NN/01/test.event new file mode 100644 index 0000000..0d18bd9 --- /dev/null +++ b/tests/yaml-test-suite/96NN/01/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL |\tbar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/98YD.yaml b/tests/yaml-test-suite/98YD.yaml deleted file mode 100644 index 9faa967..0000000 --- a/tests/yaml-test-suite/98YD.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Spec Example 5.5. Comment Indicator - from: http://www.yaml.org/spec/1.2/spec.html#id2773032 - tags: spec comment empty - yaml: | - # Comment only. - tree: | - +STR - -STR - json: '' - dump: '' diff --git a/tests/yaml-test-suite/98YD/=== b/tests/yaml-test-suite/98YD/=== new file mode 100644 index 0000000..26054a9 --- /dev/null +++ b/tests/yaml-test-suite/98YD/=== @@ -0,0 +1 @@ +Spec Example 5.5. Comment Indicator diff --git a/tests/yaml-test-suite/98YD/in.json b/tests/yaml-test-suite/98YD/in.json new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/98YD/in.yaml b/tests/yaml-test-suite/98YD/in.yaml new file mode 100644 index 0000000..62524c0 --- /dev/null +++ b/tests/yaml-test-suite/98YD/in.yaml @@ -0,0 +1 @@ +# Comment only. diff --git a/tests/yaml-test-suite/98YD/out.yaml b/tests/yaml-test-suite/98YD/out.yaml new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/98YD/test.event b/tests/yaml-test-suite/98YD/test.event new file mode 100644 index 0000000..a8c0574 --- /dev/null +++ b/tests/yaml-test-suite/98YD/test.event @@ -0,0 +1,2 @@ ++STR +-STR diff --git a/tests/yaml-test-suite/9BXH.yaml b/tests/yaml-test-suite/9BXH.yaml deleted file mode 100644 index 506e9b4..0000000 --- a/tests/yaml-test-suite/9BXH.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -- name: Multiline doublequoted flow mapping key without value - from: '@perlpunk' - tags: double flow mapping - yaml: | - --- - - { "single line", a: b} - - { "multi - line", a: b} - tree: | - +STR - +DOC --- - +SEQ - +MAP {} - =VAL "single line - =VAL : - =VAL :a - =VAL :b - -MAP - +MAP {} - =VAL "multi line - =VAL : - =VAL :a - =VAL :b - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "single line": null, - "a": "b" - }, - { - "multi line": null, - "a": "b" - } - ] - dump: | - --- - - "single line": - a: b - - "multi line": - a: b diff --git a/tests/yaml-test-suite/9BXH/=== b/tests/yaml-test-suite/9BXH/=== new file mode 100644 index 0000000..1aca587 --- /dev/null +++ b/tests/yaml-test-suite/9BXH/=== @@ -0,0 +1 @@ +Multiline doublequoted flow mapping key without value diff --git a/tests/yaml-test-suite/9BXH/in.json b/tests/yaml-test-suite/9BXH/in.json new file mode 100644 index 0000000..2716276 --- /dev/null +++ b/tests/yaml-test-suite/9BXH/in.json @@ -0,0 +1,10 @@ +[ + { + "single line": null, + "a": "b" + }, + { + "multi line": null, + "a": "b" + } +] diff --git a/tests/yaml-test-suite/9BXH/in.yaml b/tests/yaml-test-suite/9BXH/in.yaml new file mode 100644 index 0000000..c007827 --- /dev/null +++ b/tests/yaml-test-suite/9BXH/in.yaml @@ -0,0 +1,4 @@ +--- +- { "single line", a: b} +- { "multi + line", a: b} diff --git a/tests/yaml-test-suite/9BXH/out.yaml b/tests/yaml-test-suite/9BXH/out.yaml new file mode 100644 index 0000000..07c3f72 --- /dev/null +++ b/tests/yaml-test-suite/9BXH/out.yaml @@ -0,0 +1,5 @@ +--- +- "single line": + a: b +- "multi line": + a: b diff --git a/tests/yaml-test-suite/9BXH/test.event b/tests/yaml-test-suite/9BXH/test.event new file mode 100644 index 0000000..b61149c --- /dev/null +++ b/tests/yaml-test-suite/9BXH/test.event @@ -0,0 +1,18 @@ ++STR ++DOC --- ++SEQ ++MAP {} +=VAL "single line +=VAL : +=VAL :a +=VAL :b +-MAP ++MAP {} +=VAL "multi line +=VAL : +=VAL :a +=VAL :b +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/9C9N.yaml b/tests/yaml-test-suite/9C9N.yaml deleted file mode 100644 index 6c82ee6..0000000 --- a/tests/yaml-test-suite/9C9N.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Wrong indented flow sequence - from: '@perlpunk' - tags: error flow indent sequence - fail: true - yaml: | - --- - flow: [a, - b, - c] - tree: | - +STR - +DOC --- - +MAP - =VAL :flow - +SEQ [] - =VAL :a diff --git a/tests/yaml-test-suite/9C9N/=== b/tests/yaml-test-suite/9C9N/=== new file mode 100644 index 0000000..e5c283d --- /dev/null +++ b/tests/yaml-test-suite/9C9N/=== @@ -0,0 +1 @@ +Wrong indented flow sequence diff --git a/tests/yaml-test-suite/9C9N/error b/tests/yaml-test-suite/9C9N/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/9C9N/in.yaml b/tests/yaml-test-suite/9C9N/in.yaml new file mode 100644 index 0000000..6378c08 --- /dev/null +++ b/tests/yaml-test-suite/9C9N/in.yaml @@ -0,0 +1,4 @@ +--- +flow: [a, +b, +c] diff --git a/tests/yaml-test-suite/9C9N/test.event b/tests/yaml-test-suite/9C9N/test.event new file mode 100644 index 0000000..2a63d35 --- /dev/null +++ b/tests/yaml-test-suite/9C9N/test.event @@ -0,0 +1,6 @@ ++STR ++DOC --- ++MAP +=VAL :flow ++SEQ [] +=VAL :a diff --git a/tests/yaml-test-suite/9CWY.yaml b/tests/yaml-test-suite/9CWY.yaml deleted file mode 100644 index 7fa2584..0000000 --- a/tests/yaml-test-suite/9CWY.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: Invalid scalar at the end of mapping - from: '@perlpunk' - tags: error mapping sequence - fail: true - yaml: | - key: - - item1 - - item2 - invalid - tree: | - +STR - +DOC - +MAP - =VAL :key - +SEQ - =VAL :item1 - =VAL :item2 - -SEQ diff --git a/tests/yaml-test-suite/9CWY/=== b/tests/yaml-test-suite/9CWY/=== new file mode 100644 index 0000000..2fb1dd2 --- /dev/null +++ b/tests/yaml-test-suite/9CWY/=== @@ -0,0 +1 @@ +Invalid scalar at the end of mapping diff --git a/tests/yaml-test-suite/9CWY/error b/tests/yaml-test-suite/9CWY/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/9CWY/in.yaml b/tests/yaml-test-suite/9CWY/in.yaml new file mode 100644 index 0000000..b84657b --- /dev/null +++ b/tests/yaml-test-suite/9CWY/in.yaml @@ -0,0 +1,4 @@ +key: + - item1 + - item2 +invalid diff --git a/tests/yaml-test-suite/9CWY/test.event b/tests/yaml-test-suite/9CWY/test.event new file mode 100644 index 0000000..152fcfd --- /dev/null +++ b/tests/yaml-test-suite/9CWY/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :key ++SEQ +=VAL :item1 +=VAL :item2 +-SEQ diff --git a/tests/yaml-test-suite/9DXL.yaml b/tests/yaml-test-suite/9DXL.yaml deleted file mode 100644 index 59e47f8..0000000 --- a/tests/yaml-test-suite/9DXL.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -- name: Spec Example 9.6. Stream [1.3] - from: 6ZKB, modified for YAML 1.3 - tags: spec header 1.3-mod - yaml: | - Mapping: Document - --- - # Empty - ... - %YAML 1.2 - --- - matches %: 20 - tree: | - +STR - +DOC - +MAP - =VAL :Mapping - =VAL :Document - -MAP - -DOC - +DOC --- - =VAL : - -DOC ... - +DOC --- - +MAP - =VAL :matches % - =VAL :20 - -MAP - -DOC - -STR - json: | - { - "Mapping": "Document" - } - null - { - "matches %": 20 - } - emit: | - Mapping: Document - --- - ... - %YAML 1.2 - --- - matches %: 20 diff --git a/tests/yaml-test-suite/9DXL/=== b/tests/yaml-test-suite/9DXL/=== new file mode 100644 index 0000000..8c68a03 --- /dev/null +++ b/tests/yaml-test-suite/9DXL/=== @@ -0,0 +1 @@ +Spec Example 9.6. Stream [1.3] diff --git a/tests/yaml-test-suite/9DXL/emit.yaml b/tests/yaml-test-suite/9DXL/emit.yaml new file mode 100644 index 0000000..73f1726 --- /dev/null +++ b/tests/yaml-test-suite/9DXL/emit.yaml @@ -0,0 +1,6 @@ +Mapping: Document +--- +... +%YAML 1.2 +--- +matches %: 20 diff --git a/tests/yaml-test-suite/9DXL/in.json b/tests/yaml-test-suite/9DXL/in.json new file mode 100644 index 0000000..e211160 --- /dev/null +++ b/tests/yaml-test-suite/9DXL/in.json @@ -0,0 +1,7 @@ +{ + "Mapping": "Document" +} +null +{ + "matches %": 20 +} diff --git a/tests/yaml-test-suite/9DXL/in.yaml b/tests/yaml-test-suite/9DXL/in.yaml new file mode 100644 index 0000000..7ec08e8 --- /dev/null +++ b/tests/yaml-test-suite/9DXL/in.yaml @@ -0,0 +1,7 @@ +Mapping: Document +--- +# Empty +... +%YAML 1.2 +--- +matches %: 20 diff --git a/tests/yaml-test-suite/9DXL/test.event b/tests/yaml-test-suite/9DXL/test.event new file mode 100644 index 0000000..b472f9b --- /dev/null +++ b/tests/yaml-test-suite/9DXL/test.event @@ -0,0 +1,17 @@ ++STR ++DOC ++MAP +=VAL :Mapping +=VAL :Document +-MAP +-DOC ++DOC --- +=VAL : +-DOC ... ++DOC --- ++MAP +=VAL :matches % +=VAL :20 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/9FMG.yaml b/tests/yaml-test-suite/9FMG.yaml deleted file mode 100644 index f5433d5..0000000 --- a/tests/yaml-test-suite/9FMG.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -- name: Multi-level Mapping Indent - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/indent.tml - tags: mapping indent - yaml: | - a: - b: - c: d - e: - f: g - h: i - tree: | - +STR - +DOC - +MAP - =VAL :a - +MAP - =VAL :b - +MAP - =VAL :c - =VAL :d - -MAP - =VAL :e - +MAP - =VAL :f - =VAL :g - -MAP - -MAP - =VAL :h - =VAL :i - -MAP - -DOC - -STR - json: | - { - "a": { - "b": { - "c": "d" - }, - "e": { - "f": "g" - } - }, - "h": "i" - } diff --git a/tests/yaml-test-suite/9FMG/=== b/tests/yaml-test-suite/9FMG/=== new file mode 100644 index 0000000..5c2d5ec --- /dev/null +++ b/tests/yaml-test-suite/9FMG/=== @@ -0,0 +1 @@ +Multi-level Mapping Indent diff --git a/tests/yaml-test-suite/9FMG/in.json b/tests/yaml-test-suite/9FMG/in.json new file mode 100644 index 0000000..b521c7f --- /dev/null +++ b/tests/yaml-test-suite/9FMG/in.json @@ -0,0 +1,11 @@ +{ + "a": { + "b": { + "c": "d" + }, + "e": { + "f": "g" + } + }, + "h": "i" +} diff --git a/tests/yaml-test-suite/9FMG/in.yaml b/tests/yaml-test-suite/9FMG/in.yaml new file mode 100644 index 0000000..25f0447 --- /dev/null +++ b/tests/yaml-test-suite/9FMG/in.yaml @@ -0,0 +1,6 @@ +a: + b: + c: d + e: + f: g +h: i diff --git a/tests/yaml-test-suite/9FMG/test.event b/tests/yaml-test-suite/9FMG/test.event new file mode 100644 index 0000000..0302e1a --- /dev/null +++ b/tests/yaml-test-suite/9FMG/test.event @@ -0,0 +1,21 @@ ++STR ++DOC ++MAP +=VAL :a ++MAP +=VAL :b ++MAP +=VAL :c +=VAL :d +-MAP +=VAL :e ++MAP +=VAL :f +=VAL :g +-MAP +-MAP +=VAL :h +=VAL :i +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/9HCY.yaml b/tests/yaml-test-suite/9HCY.yaml deleted file mode 100644 index 86fb3a9..0000000 --- a/tests/yaml-test-suite/9HCY.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Need document footer before directives - from: '@ingydotnet' - tags: directive error footer tag unknown-tag - fail: true - yaml: | - !foo "bar" - %TAG ! tag:example.com,2000:app/ - --- - !foo "bar" - tree: | - +STR - +DOC - =VAL "bar diff --git a/tests/yaml-test-suite/9HCY/=== b/tests/yaml-test-suite/9HCY/=== new file mode 100644 index 0000000..56bac67 --- /dev/null +++ b/tests/yaml-test-suite/9HCY/=== @@ -0,0 +1 @@ +Need document footer before directives diff --git a/tests/yaml-test-suite/9HCY/error b/tests/yaml-test-suite/9HCY/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/9HCY/in.yaml b/tests/yaml-test-suite/9HCY/in.yaml new file mode 100644 index 0000000..dc49d9c --- /dev/null +++ b/tests/yaml-test-suite/9HCY/in.yaml @@ -0,0 +1,4 @@ +!foo "bar" +%TAG ! tag:example.com,2000:app/ +--- +!foo "bar" diff --git a/tests/yaml-test-suite/9HCY/test.event b/tests/yaml-test-suite/9HCY/test.event new file mode 100644 index 0000000..83ddec4 --- /dev/null +++ b/tests/yaml-test-suite/9HCY/test.event @@ -0,0 +1,3 @@ ++STR ++DOC +=VAL "bar diff --git a/tests/yaml-test-suite/9J7A.yaml b/tests/yaml-test-suite/9J7A.yaml deleted file mode 100644 index dfe0925..0000000 --- a/tests/yaml-test-suite/9J7A.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Simple Mapping Indent - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/indent.tml - tags: simple mapping indent - yaml: | - foo: - bar: baz - tree: | - +STR - +DOC - +MAP - =VAL :foo - +MAP - =VAL :bar - =VAL :baz - -MAP - -MAP - -DOC - -STR - json: | - { - "foo": { - "bar": "baz" - } - } diff --git a/tests/yaml-test-suite/9J7A/=== b/tests/yaml-test-suite/9J7A/=== new file mode 100644 index 0000000..3028356 --- /dev/null +++ b/tests/yaml-test-suite/9J7A/=== @@ -0,0 +1 @@ +Simple Mapping Indent diff --git a/tests/yaml-test-suite/9J7A/in.json b/tests/yaml-test-suite/9J7A/in.json new file mode 100644 index 0000000..faa9156 --- /dev/null +++ b/tests/yaml-test-suite/9J7A/in.json @@ -0,0 +1,5 @@ +{ + "foo": { + "bar": "baz" + } +} diff --git a/tests/yaml-test-suite/9J7A/in.yaml b/tests/yaml-test-suite/9J7A/in.yaml new file mode 100644 index 0000000..4ee8d9d --- /dev/null +++ b/tests/yaml-test-suite/9J7A/in.yaml @@ -0,0 +1,2 @@ +foo: + bar: baz diff --git a/tests/yaml-test-suite/9J7A/test.event b/tests/yaml-test-suite/9J7A/test.event new file mode 100644 index 0000000..2e55ea9 --- /dev/null +++ b/tests/yaml-test-suite/9J7A/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++MAP +=VAL :foo ++MAP +=VAL :bar +=VAL :baz +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/9JBA.yaml b/tests/yaml-test-suite/9JBA.yaml deleted file mode 100644 index fba48b2..0000000 --- a/tests/yaml-test-suite/9JBA.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Invalid comment after end of flow sequence - from: '@perlpunk' - tags: comment error flow sequence - fail: true - yaml: | - --- - [ a, b, c, ]#invalid - tree: | - +STR - +DOC --- - +SEQ [] - =VAL :a - =VAL :b - =VAL :c - -SEQ diff --git a/tests/yaml-test-suite/9JBA/=== b/tests/yaml-test-suite/9JBA/=== new file mode 100644 index 0000000..53fe483 --- /dev/null +++ b/tests/yaml-test-suite/9JBA/=== @@ -0,0 +1 @@ +Invalid comment after end of flow sequence diff --git a/tests/yaml-test-suite/9JBA/error b/tests/yaml-test-suite/9JBA/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/9JBA/in.yaml b/tests/yaml-test-suite/9JBA/in.yaml new file mode 100644 index 0000000..0242202 --- /dev/null +++ b/tests/yaml-test-suite/9JBA/in.yaml @@ -0,0 +1,2 @@ +--- +[ a, b, c, ]#invalid diff --git a/tests/yaml-test-suite/9JBA/test.event b/tests/yaml-test-suite/9JBA/test.event new file mode 100644 index 0000000..fcbdae6 --- /dev/null +++ b/tests/yaml-test-suite/9JBA/test.event @@ -0,0 +1,7 @@ ++STR ++DOC --- ++SEQ [] +=VAL :a +=VAL :b +=VAL :c +-SEQ diff --git a/tests/yaml-test-suite/9KAX.yaml b/tests/yaml-test-suite/9KAX.yaml deleted file mode 100644 index 2ef2808..0000000 --- a/tests/yaml-test-suite/9KAX.yaml +++ /dev/null @@ -1,104 +0,0 @@ ---- -- name: Various combinations of tags and anchors - from: '@perlpunk' - tags: anchor mapping 1.3-err tag - yaml: | - --- - &a1 - !!str - scalar1 - --- - !!str - &a2 - scalar2 - --- - &a3 - !!str scalar3 - --- - &a4 !!map - &a5 !!str key5: value4 - --- - a6: 1 - &anchor6 b6: 2 - --- - !!map - &a8 !!str key8: value7 - --- - !!map - !!str &a10 key10: value9 - --- - !!str &a11 - value11 - tree: | - +STR - +DOC --- - =VAL &a1 :scalar1 - -DOC - +DOC --- - =VAL &a2 :scalar2 - -DOC - +DOC --- - =VAL &a3 :scalar3 - -DOC - +DOC --- - +MAP &a4 - =VAL &a5 :key5 - =VAL :value4 - -MAP - -DOC - +DOC --- - +MAP - =VAL :a6 - =VAL :1 - =VAL &anchor6 :b6 - =VAL :2 - -MAP - -DOC - +DOC --- - +MAP - =VAL &a8 :key8 - =VAL :value7 - -MAP - -DOC - +DOC --- - +MAP - =VAL &a10 :key10 - =VAL :value9 - -MAP - -DOC - +DOC --- - =VAL &a11 :value11 - -DOC - -STR - json: | - "scalar1" - "scalar2" - "scalar3" - { - "key5": "value4" - } - { - "a6": 1, - "b6": 2 - } - { - "key8": "value7" - } - { - "key10": "value9" - } - "value11" - dump: | - --- &a1 !!str scalar1 - --- &a2 !!str scalar2 - --- &a3 !!str scalar3 - --- &a4 !!map - &a5 !!str key5: value4 - --- - a6: 1 - &anchor6 b6: 2 - --- !!map - &a8 !!str key8: value7 - --- !!map - &a10 !!str key10: value9 - --- &a11 !!str value11 diff --git a/tests/yaml-test-suite/9KAX/=== b/tests/yaml-test-suite/9KAX/=== new file mode 100644 index 0000000..85798c9 --- /dev/null +++ b/tests/yaml-test-suite/9KAX/=== @@ -0,0 +1 @@ +Various combinations of tags and anchors diff --git a/tests/yaml-test-suite/9KAX/in.json b/tests/yaml-test-suite/9KAX/in.json new file mode 100644 index 0000000..6056492 --- /dev/null +++ b/tests/yaml-test-suite/9KAX/in.json @@ -0,0 +1,17 @@ +"scalar1" +"scalar2" +"scalar3" +{ + "key5": "value4" +} +{ + "a6": 1, + "b6": 2 +} +{ + "key8": "value7" +} +{ + "key10": "value9" +} +"value11" diff --git a/tests/yaml-test-suite/9KAX/in.yaml b/tests/yaml-test-suite/9KAX/in.yaml new file mode 100644 index 0000000..0ade841 --- /dev/null +++ b/tests/yaml-test-suite/9KAX/in.yaml @@ -0,0 +1,26 @@ +--- +&a1 +!!str +scalar1 +--- +!!str +&a2 +scalar2 +--- +&a3 +!!str scalar3 +--- +&a4 !!map +&a5 !!str key5: value4 +--- +a6: 1 +&anchor6 b6: 2 +--- +!!map +&a8 !!str key8: value7 +--- +!!map +!!str &a10 key10: value9 +--- +!!str &a11 +value11 diff --git a/tests/yaml-test-suite/9KAX/out.yaml b/tests/yaml-test-suite/9KAX/out.yaml new file mode 100644 index 0000000..21ace64 --- /dev/null +++ b/tests/yaml-test-suite/9KAX/out.yaml @@ -0,0 +1,13 @@ +--- &a1 !!str scalar1 +--- &a2 !!str scalar2 +--- &a3 !!str scalar3 +--- &a4 !!map +&a5 !!str key5: value4 +--- +a6: 1 +&anchor6 b6: 2 +--- !!map +&a8 !!str key8: value7 +--- !!map +&a10 !!str key10: value9 +--- &a11 !!str value11 diff --git a/tests/yaml-test-suite/9KAX/test.event b/tests/yaml-test-suite/9KAX/test.event new file mode 100644 index 0000000..fe04562 --- /dev/null +++ b/tests/yaml-test-suite/9KAX/test.event @@ -0,0 +1,40 @@ ++STR ++DOC --- +=VAL &a1 :scalar1 +-DOC ++DOC --- +=VAL &a2 :scalar2 +-DOC ++DOC --- +=VAL &a3 :scalar3 +-DOC ++DOC --- ++MAP &a4 +=VAL &a5 :key5 +=VAL :value4 +-MAP +-DOC ++DOC --- ++MAP +=VAL :a6 +=VAL :1 +=VAL &anchor6 :b6 +=VAL :2 +-MAP +-DOC ++DOC --- ++MAP +=VAL &a8 :key8 +=VAL :value7 +-MAP +-DOC ++DOC --- ++MAP +=VAL &a10 :key10 +=VAL :value9 +-MAP +-DOC ++DOC --- +=VAL &a11 :value11 +-DOC +-STR diff --git a/tests/yaml-test-suite/9KBC.yaml b/tests/yaml-test-suite/9KBC.yaml deleted file mode 100644 index 8819e58..0000000 --- a/tests/yaml-test-suite/9KBC.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Mapping starting at --- line - from: https://gist.github.com/anonymous/c728390e92ec93fb371ac77f21435cca via @ingydotnet - tags: error header mapping - fail: true - yaml: | - --- key1: value1 - key2: value2 - tree: | - +STR - +DOC --- diff --git a/tests/yaml-test-suite/9KBC/=== b/tests/yaml-test-suite/9KBC/=== new file mode 100644 index 0000000..e2023e6 --- /dev/null +++ b/tests/yaml-test-suite/9KBC/=== @@ -0,0 +1 @@ +Mapping starting at --- line diff --git a/tests/yaml-test-suite/9KBC/error b/tests/yaml-test-suite/9KBC/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/9KBC/in.yaml b/tests/yaml-test-suite/9KBC/in.yaml new file mode 100644 index 0000000..f2c1654 --- /dev/null +++ b/tests/yaml-test-suite/9KBC/in.yaml @@ -0,0 +1,2 @@ +--- key1: value1 + key2: value2 diff --git a/tests/yaml-test-suite/9KBC/test.event b/tests/yaml-test-suite/9KBC/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/9KBC/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/9MAG.yaml b/tests/yaml-test-suite/9MAG.yaml deleted file mode 100644 index 424083f..0000000 --- a/tests/yaml-test-suite/9MAG.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- name: Flow sequence with invalid comma at the beginning - from: '@perlpunk' - tags: error flow sequence - fail: true - yaml: | - --- - [ , a, b, c ] - tree: | - +STR - +DOC --- - +SEQ [] diff --git a/tests/yaml-test-suite/9MAG/=== b/tests/yaml-test-suite/9MAG/=== new file mode 100644 index 0000000..3c6d6dc --- /dev/null +++ b/tests/yaml-test-suite/9MAG/=== @@ -0,0 +1 @@ +Flow sequence with invalid comma at the beginning diff --git a/tests/yaml-test-suite/9MAG/error b/tests/yaml-test-suite/9MAG/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/9MAG/in.yaml b/tests/yaml-test-suite/9MAG/in.yaml new file mode 100644 index 0000000..868f6c6 --- /dev/null +++ b/tests/yaml-test-suite/9MAG/in.yaml @@ -0,0 +1,2 @@ +--- +[ , a, b, c ] diff --git a/tests/yaml-test-suite/9MAG/test.event b/tests/yaml-test-suite/9MAG/test.event new file mode 100644 index 0000000..dce87f5 --- /dev/null +++ b/tests/yaml-test-suite/9MAG/test.event @@ -0,0 +1,3 @@ ++STR ++DOC --- ++SEQ [] diff --git a/tests/yaml-test-suite/9MMA.yaml b/tests/yaml-test-suite/9MMA.yaml deleted file mode 100644 index 5795696..0000000 --- a/tests/yaml-test-suite/9MMA.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -- name: Directive by itself with no document - from: '@ingydotnet' - tags: error directive - fail: true - yaml: | - %YAML 1.2 - tree: | - +STR diff --git a/tests/yaml-test-suite/9MMA/=== b/tests/yaml-test-suite/9MMA/=== new file mode 100644 index 0000000..7c70570 --- /dev/null +++ b/tests/yaml-test-suite/9MMA/=== @@ -0,0 +1 @@ +Directive by itself with no document diff --git a/tests/yaml-test-suite/9MMA/error b/tests/yaml-test-suite/9MMA/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/9MMA/in.yaml b/tests/yaml-test-suite/9MMA/in.yaml new file mode 100644 index 0000000..6e9a0bd --- /dev/null +++ b/tests/yaml-test-suite/9MMA/in.yaml @@ -0,0 +1 @@ +%YAML 1.2 diff --git a/tests/yaml-test-suite/9MMA/test.event b/tests/yaml-test-suite/9MMA/test.event new file mode 100644 index 0000000..e72d602 --- /dev/null +++ b/tests/yaml-test-suite/9MMA/test.event @@ -0,0 +1 @@ ++STR diff --git a/tests/yaml-test-suite/9MMW.yaml b/tests/yaml-test-suite/9MMW.yaml deleted file mode 100644 index f887d5e..0000000 --- a/tests/yaml-test-suite/9MMW.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -- name: Single Pair Implicit Entries - from: '@perlpunk, Spec Example 7.21' - tags: flow mapping sequence - yaml: | - - [ YAML : separate ] - - [ "JSON like":adjacent ] - - [ {JSON: like}:adjacent ] - tree: | - +STR - +DOC - +SEQ - +SEQ [] - +MAP {} - =VAL :YAML - =VAL :separate - -MAP - -SEQ - +SEQ [] - +MAP {} - =VAL "JSON like - =VAL :adjacent - -MAP - -SEQ - +SEQ [] - +MAP {} - +MAP {} - =VAL :JSON - =VAL :like - -MAP - =VAL :adjacent - -MAP - -SEQ - -SEQ - -DOC - -STR - dump: | - - - YAML: separate - - - "JSON like": adjacent - - - ? JSON: like - : adjacent diff --git a/tests/yaml-test-suite/9MMW/=== b/tests/yaml-test-suite/9MMW/=== new file mode 100644 index 0000000..61b1cfd --- /dev/null +++ b/tests/yaml-test-suite/9MMW/=== @@ -0,0 +1 @@ +Single Pair Implicit Entries diff --git a/tests/yaml-test-suite/9MMW/in.yaml b/tests/yaml-test-suite/9MMW/in.yaml new file mode 100644 index 0000000..b9fe5e1 --- /dev/null +++ b/tests/yaml-test-suite/9MMW/in.yaml @@ -0,0 +1,3 @@ +- [ YAML : separate ] +- [ "JSON like":adjacent ] +- [ {JSON: like}:adjacent ] diff --git a/tests/yaml-test-suite/9MMW/out.yaml b/tests/yaml-test-suite/9MMW/out.yaml new file mode 100644 index 0000000..1c3df8c --- /dev/null +++ b/tests/yaml-test-suite/9MMW/out.yaml @@ -0,0 +1,4 @@ +- - YAML: separate +- - "JSON like": adjacent +- - ? JSON: like + : adjacent diff --git a/tests/yaml-test-suite/9MMW/test.event b/tests/yaml-test-suite/9MMW/test.event new file mode 100644 index 0000000..b43022e --- /dev/null +++ b/tests/yaml-test-suite/9MMW/test.event @@ -0,0 +1,27 @@ ++STR ++DOC ++SEQ ++SEQ [] ++MAP {} +=VAL :YAML +=VAL :separate +-MAP +-SEQ ++SEQ [] ++MAP {} +=VAL "JSON like +=VAL :adjacent +-MAP +-SEQ ++SEQ [] ++MAP {} ++MAP {} +=VAL :JSON +=VAL :like +-MAP +=VAL :adjacent +-MAP +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/9MQT.yaml b/tests/yaml-test-suite/9MQT.yaml deleted file mode 100644 index 3c315cf..0000000 --- a/tests/yaml-test-suite/9MQT.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Scalar doc with '...' in content - from: '@ingydotnet' - tags: double scalar - yaml: | - --- "a - ...x - b" - tree: | - +STR - +DOC --- - =VAL "a ...x b - -DOC - -STR - json: | - "a ...x b" - dump: | - --- a ...x b - emit: | - --- "a ...x b" - -- fail: true - yaml: | - --- "a - ... x - b" - tree: | - +STR - +DOC --- - dump: null - emit: null diff --git a/tests/yaml-test-suite/9MQT/00/=== b/tests/yaml-test-suite/9MQT/00/=== new file mode 100644 index 0000000..6201f6c --- /dev/null +++ b/tests/yaml-test-suite/9MQT/00/=== @@ -0,0 +1 @@ +Scalar doc with '...' in content diff --git a/tests/yaml-test-suite/9MQT/00/emit.yaml b/tests/yaml-test-suite/9MQT/00/emit.yaml new file mode 100644 index 0000000..c42bf2b --- /dev/null +++ b/tests/yaml-test-suite/9MQT/00/emit.yaml @@ -0,0 +1 @@ +--- "a ...x b" diff --git a/tests/yaml-test-suite/9MQT/00/in.json b/tests/yaml-test-suite/9MQT/00/in.json new file mode 100644 index 0000000..ed697c1 --- /dev/null +++ b/tests/yaml-test-suite/9MQT/00/in.json @@ -0,0 +1 @@ +"a ...x b" diff --git a/tests/yaml-test-suite/9MQT/00/in.yaml b/tests/yaml-test-suite/9MQT/00/in.yaml new file mode 100644 index 0000000..8f86a1b --- /dev/null +++ b/tests/yaml-test-suite/9MQT/00/in.yaml @@ -0,0 +1,3 @@ +--- "a +...x +b" diff --git a/tests/yaml-test-suite/9MQT/00/out.yaml b/tests/yaml-test-suite/9MQT/00/out.yaml new file mode 100644 index 0000000..4f5aba8 --- /dev/null +++ b/tests/yaml-test-suite/9MQT/00/out.yaml @@ -0,0 +1 @@ +--- a ...x b diff --git a/tests/yaml-test-suite/9MQT/00/test.event b/tests/yaml-test-suite/9MQT/00/test.event new file mode 100644 index 0000000..6b0acaf --- /dev/null +++ b/tests/yaml-test-suite/9MQT/00/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL "a ...x b +-DOC +-STR diff --git a/tests/yaml-test-suite/9MQT/01/=== b/tests/yaml-test-suite/9MQT/01/=== new file mode 100644 index 0000000..6201f6c --- /dev/null +++ b/tests/yaml-test-suite/9MQT/01/=== @@ -0,0 +1 @@ +Scalar doc with '...' in content diff --git a/tests/yaml-test-suite/9MQT/01/error b/tests/yaml-test-suite/9MQT/01/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/9MQT/01/in.json b/tests/yaml-test-suite/9MQT/01/in.json new file mode 100644 index 0000000..ed697c1 --- /dev/null +++ b/tests/yaml-test-suite/9MQT/01/in.json @@ -0,0 +1 @@ +"a ...x b" diff --git a/tests/yaml-test-suite/9MQT/01/in.yaml b/tests/yaml-test-suite/9MQT/01/in.yaml new file mode 100644 index 0000000..ed9388b --- /dev/null +++ b/tests/yaml-test-suite/9MQT/01/in.yaml @@ -0,0 +1,3 @@ +--- "a +... x +b" diff --git a/tests/yaml-test-suite/9MQT/01/test.event b/tests/yaml-test-suite/9MQT/01/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/9MQT/01/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/9SA2.yaml b/tests/yaml-test-suite/9SA2.yaml deleted file mode 100644 index d0d0f0f..0000000 --- a/tests/yaml-test-suite/9SA2.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Multiline double quoted flow mapping key - from: '@perlpunk' - tags: double flow mapping - yaml: | - --- - - { "single line": value} - - { "multi - line": value} - tree: | - +STR - +DOC --- - +SEQ - +MAP {} - =VAL "single line - =VAL :value - -MAP - +MAP {} - =VAL "multi line - =VAL :value - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "single line": "value" - }, - { - "multi line": "value" - } - ] - dump: | - --- - - "single line": value - - "multi line": value diff --git a/tests/yaml-test-suite/9SA2/=== b/tests/yaml-test-suite/9SA2/=== new file mode 100644 index 0000000..60f68fa --- /dev/null +++ b/tests/yaml-test-suite/9SA2/=== @@ -0,0 +1 @@ +Multiline double quoted flow mapping key diff --git a/tests/yaml-test-suite/9SA2/in.json b/tests/yaml-test-suite/9SA2/in.json new file mode 100644 index 0000000..d214d88 --- /dev/null +++ b/tests/yaml-test-suite/9SA2/in.json @@ -0,0 +1,8 @@ +[ + { + "single line": "value" + }, + { + "multi line": "value" + } +] diff --git a/tests/yaml-test-suite/9SA2/in.yaml b/tests/yaml-test-suite/9SA2/in.yaml new file mode 100644 index 0000000..b79124b --- /dev/null +++ b/tests/yaml-test-suite/9SA2/in.yaml @@ -0,0 +1,4 @@ +--- +- { "single line": value} +- { "multi + line": value} diff --git a/tests/yaml-test-suite/9SA2/out.yaml b/tests/yaml-test-suite/9SA2/out.yaml new file mode 100644 index 0000000..15481f4 --- /dev/null +++ b/tests/yaml-test-suite/9SA2/out.yaml @@ -0,0 +1,3 @@ +--- +- "single line": value +- "multi line": value diff --git a/tests/yaml-test-suite/9SA2/test.event b/tests/yaml-test-suite/9SA2/test.event new file mode 100644 index 0000000..ef14f8d --- /dev/null +++ b/tests/yaml-test-suite/9SA2/test.event @@ -0,0 +1,14 @@ ++STR ++DOC --- ++SEQ ++MAP {} +=VAL "single line +=VAL :value +-MAP ++MAP {} +=VAL "multi line +=VAL :value +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/9SHH.yaml b/tests/yaml-test-suite/9SHH.yaml deleted file mode 100644 index 6f24a68..0000000 --- a/tests/yaml-test-suite/9SHH.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Spec Example 5.8. Quoted Scalar Indicators - from: http://www.yaml.org/spec/1.2/spec.html#id2773890 - tags: spec scalar - yaml: | - single: 'text' - double: "text" - tree: | - +STR - +DOC - +MAP - =VAL :single - =VAL 'text - =VAL :double - =VAL "text - -MAP - -DOC - -STR - json: | - { - "single": "text", - "double": "text" - } diff --git a/tests/yaml-test-suite/9SHH/=== b/tests/yaml-test-suite/9SHH/=== new file mode 100644 index 0000000..c854c86 --- /dev/null +++ b/tests/yaml-test-suite/9SHH/=== @@ -0,0 +1 @@ +Spec Example 5.8. Quoted Scalar Indicators diff --git a/tests/yaml-test-suite/9SHH/in.json b/tests/yaml-test-suite/9SHH/in.json new file mode 100644 index 0000000..4e274b0 --- /dev/null +++ b/tests/yaml-test-suite/9SHH/in.json @@ -0,0 +1,4 @@ +{ + "single": "text", + "double": "text" +} diff --git a/tests/yaml-test-suite/9SHH/in.yaml b/tests/yaml-test-suite/9SHH/in.yaml new file mode 100644 index 0000000..04ebf69 --- /dev/null +++ b/tests/yaml-test-suite/9SHH/in.yaml @@ -0,0 +1,2 @@ +single: 'text' +double: "text" diff --git a/tests/yaml-test-suite/9SHH/test.event b/tests/yaml-test-suite/9SHH/test.event new file mode 100644 index 0000000..0fce5eb --- /dev/null +++ b/tests/yaml-test-suite/9SHH/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :single +=VAL 'text +=VAL :double +=VAL "text +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/9TFX.yaml b/tests/yaml-test-suite/9TFX.yaml deleted file mode 100644 index e9ba6b8..0000000 --- a/tests/yaml-test-suite/9TFX.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Spec Example 7.6. Double Quoted Lines [1.3] - from: 7A4E, modified for YAML 1.3 - tags: double spec scalar whitespace 1.3-mod - yaml: | - --- - " 1st non-empty - - 2nd non-empty␣ - 3rd non-empty " - tree: | - +STR - +DOC --- - =VAL " 1st non-empty\n2nd non-empty 3rd non-empty␣ - -DOC - -STR - json: | - " 1st non-empty\n2nd non-empty 3rd non-empty " - dump: | - " 1st non-empty\n2nd non-empty 3rd non-empty " - emit: | - --- " 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/9TFX/=== b/tests/yaml-test-suite/9TFX/=== new file mode 100644 index 0000000..d4c09e9 --- /dev/null +++ b/tests/yaml-test-suite/9TFX/=== @@ -0,0 +1 @@ +Spec Example 7.6. Double Quoted Lines [1.3] diff --git a/tests/yaml-test-suite/9TFX/emit.yaml b/tests/yaml-test-suite/9TFX/emit.yaml new file mode 100644 index 0000000..9beb842 --- /dev/null +++ b/tests/yaml-test-suite/9TFX/emit.yaml @@ -0,0 +1 @@ +--- " 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/9TFX/in.json b/tests/yaml-test-suite/9TFX/in.json new file mode 100644 index 0000000..2dfab84 --- /dev/null +++ b/tests/yaml-test-suite/9TFX/in.json @@ -0,0 +1 @@ +" 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/9TFX/in.yaml b/tests/yaml-test-suite/9TFX/in.yaml new file mode 100644 index 0000000..5afb3f4 --- /dev/null +++ b/tests/yaml-test-suite/9TFX/in.yaml @@ -0,0 +1,5 @@ +--- +" 1st non-empty + + 2nd non-empty + 3rd non-empty " diff --git a/tests/yaml-test-suite/9TFX/out.yaml b/tests/yaml-test-suite/9TFX/out.yaml new file mode 100644 index 0000000..2dfab84 --- /dev/null +++ b/tests/yaml-test-suite/9TFX/out.yaml @@ -0,0 +1 @@ +" 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/9TFX/test.event b/tests/yaml-test-suite/9TFX/test.event new file mode 100644 index 0000000..5185eb5 --- /dev/null +++ b/tests/yaml-test-suite/9TFX/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL " 1st non-empty\n2nd non-empty 3rd non-empty +-DOC +-STR diff --git a/tests/yaml-test-suite/9U5K.yaml b/tests/yaml-test-suite/9U5K.yaml deleted file mode 100644 index 75af536..0000000 --- a/tests/yaml-test-suite/9U5K.yaml +++ /dev/null @@ -1,61 +0,0 @@ ---- -- name: Spec Example 2.12. Compact Nested Mapping - from: http://www.yaml.org/spec/1.2/spec.html#id2760821 - tags: spec mapping sequence - yaml: | - --- - # Products purchased - - item : Super Hoop - quantity: 1 - - item : Basketball - quantity: 4 - - item : Big Shoes - quantity: 1 - tree: | - +STR - +DOC --- - +SEQ - +MAP - =VAL :item - =VAL :Super Hoop - =VAL :quantity - =VAL :1 - -MAP - +MAP - =VAL :item - =VAL :Basketball - =VAL :quantity - =VAL :4 - -MAP - +MAP - =VAL :item - =VAL :Big Shoes - =VAL :quantity - =VAL :1 - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "item": "Super Hoop", - "quantity": 1 - }, - { - "item": "Basketball", - "quantity": 4 - }, - { - "item": "Big Shoes", - "quantity": 1 - } - ] - dump: | - --- - - item: Super Hoop - quantity: 1 - - item: Basketball - quantity: 4 - - item: Big Shoes - quantity: 1 diff --git a/tests/yaml-test-suite/9U5K/=== b/tests/yaml-test-suite/9U5K/=== new file mode 100644 index 0000000..7ec53ac --- /dev/null +++ b/tests/yaml-test-suite/9U5K/=== @@ -0,0 +1 @@ +Spec Example 2.12. Compact Nested Mapping diff --git a/tests/yaml-test-suite/9U5K/in.json b/tests/yaml-test-suite/9U5K/in.json new file mode 100644 index 0000000..f932159 --- /dev/null +++ b/tests/yaml-test-suite/9U5K/in.json @@ -0,0 +1,14 @@ +[ + { + "item": "Super Hoop", + "quantity": 1 + }, + { + "item": "Basketball", + "quantity": 4 + }, + { + "item": "Big Shoes", + "quantity": 1 + } +] diff --git a/tests/yaml-test-suite/9U5K/in.yaml b/tests/yaml-test-suite/9U5K/in.yaml new file mode 100644 index 0000000..63a8ed7 --- /dev/null +++ b/tests/yaml-test-suite/9U5K/in.yaml @@ -0,0 +1,8 @@ +--- +# Products purchased +- item : Super Hoop + quantity: 1 +- item : Basketball + quantity: 4 +- item : Big Shoes + quantity: 1 diff --git a/tests/yaml-test-suite/9U5K/out.yaml b/tests/yaml-test-suite/9U5K/out.yaml new file mode 100644 index 0000000..c37c096 --- /dev/null +++ b/tests/yaml-test-suite/9U5K/out.yaml @@ -0,0 +1,7 @@ +--- +- item: Super Hoop + quantity: 1 +- item: Basketball + quantity: 4 +- item: Big Shoes + quantity: 1 diff --git a/tests/yaml-test-suite/9U5K/test.event b/tests/yaml-test-suite/9U5K/test.event new file mode 100644 index 0000000..d561515 --- /dev/null +++ b/tests/yaml-test-suite/9U5K/test.event @@ -0,0 +1,24 @@ ++STR ++DOC --- ++SEQ ++MAP +=VAL :item +=VAL :Super Hoop +=VAL :quantity +=VAL :1 +-MAP ++MAP +=VAL :item +=VAL :Basketball +=VAL :quantity +=VAL :4 +-MAP ++MAP +=VAL :item +=VAL :Big Shoes +=VAL :quantity +=VAL :1 +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/9WXW.yaml b/tests/yaml-test-suite/9WXW.yaml deleted file mode 100644 index 5ee5c16..0000000 --- a/tests/yaml-test-suite/9WXW.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Spec Example 6.18. Primary Tag Handle - from: http://www.yaml.org/spec/1.2/spec.html#id2782728 - tags: local-tag spec directive tag unknown-tag 1.3-err - yaml: | - # Private - !foo "bar" - ... - # Global - %TAG ! tag:example.com,2000:app/ - --- - !foo "bar" - tree: | - +STR - +DOC - =VAL "bar - -DOC ... - +DOC --- - =VAL "bar - -DOC - -STR - json: | - "bar" - "bar" - dump: | - !foo "bar" - ... - --- ! "bar" diff --git a/tests/yaml-test-suite/9WXW/=== b/tests/yaml-test-suite/9WXW/=== new file mode 100644 index 0000000..167889f --- /dev/null +++ b/tests/yaml-test-suite/9WXW/=== @@ -0,0 +1 @@ +Spec Example 6.18. Primary Tag Handle diff --git a/tests/yaml-test-suite/9WXW/in.json b/tests/yaml-test-suite/9WXW/in.json new file mode 100644 index 0000000..f95cbd7 --- /dev/null +++ b/tests/yaml-test-suite/9WXW/in.json @@ -0,0 +1,2 @@ +"bar" +"bar" diff --git a/tests/yaml-test-suite/9WXW/in.yaml b/tests/yaml-test-suite/9WXW/in.yaml new file mode 100644 index 0000000..d79f04e --- /dev/null +++ b/tests/yaml-test-suite/9WXW/in.yaml @@ -0,0 +1,7 @@ +# Private +!foo "bar" +... +# Global +%TAG ! tag:example.com,2000:app/ +--- +!foo "bar" diff --git a/tests/yaml-test-suite/9WXW/out.yaml b/tests/yaml-test-suite/9WXW/out.yaml new file mode 100644 index 0000000..dfa5acf --- /dev/null +++ b/tests/yaml-test-suite/9WXW/out.yaml @@ -0,0 +1,3 @@ +!foo "bar" +... +--- ! "bar" diff --git a/tests/yaml-test-suite/9WXW/test.event b/tests/yaml-test-suite/9WXW/test.event new file mode 100644 index 0000000..0854272 --- /dev/null +++ b/tests/yaml-test-suite/9WXW/test.event @@ -0,0 +1,8 @@ ++STR ++DOC +=VAL "bar +-DOC ... ++DOC --- +=VAL "bar +-DOC +-STR diff --git a/tests/yaml-test-suite/9YRD.yaml b/tests/yaml-test-suite/9YRD.yaml deleted file mode 100644 index 8396a94..0000000 --- a/tests/yaml-test-suite/9YRD.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Multiline Scalar at Top Level - from: NimYAML tests - tags: scalar whitespace 1.3-err - yaml: | - a - b␣␣ - c - d - - e - tree: | - +STR - +DOC - =VAL :a b c d\ne - -DOC - -STR - json: | - "a b c d\ne" - dump: | - 'a b c d - - e' diff --git a/tests/yaml-test-suite/9YRD/=== b/tests/yaml-test-suite/9YRD/=== new file mode 100644 index 0000000..02e8249 --- /dev/null +++ b/tests/yaml-test-suite/9YRD/=== @@ -0,0 +1 @@ +Multiline Scalar at Top Level diff --git a/tests/yaml-test-suite/9YRD/in.json b/tests/yaml-test-suite/9YRD/in.json new file mode 100644 index 0000000..a565abc --- /dev/null +++ b/tests/yaml-test-suite/9YRD/in.json @@ -0,0 +1 @@ +"a b c d\ne" diff --git a/tests/yaml-test-suite/9YRD/in.yaml b/tests/yaml-test-suite/9YRD/in.yaml new file mode 100644 index 0000000..8a21b02 --- /dev/null +++ b/tests/yaml-test-suite/9YRD/in.yaml @@ -0,0 +1,6 @@ +a +b + c +d + +e diff --git a/tests/yaml-test-suite/9YRD/out.yaml b/tests/yaml-test-suite/9YRD/out.yaml new file mode 100644 index 0000000..38515a7 --- /dev/null +++ b/tests/yaml-test-suite/9YRD/out.yaml @@ -0,0 +1,3 @@ +'a b c d + + e' diff --git a/tests/yaml-test-suite/9YRD/test.event b/tests/yaml-test-suite/9YRD/test.event new file mode 100644 index 0000000..1d0d238 --- /dev/null +++ b/tests/yaml-test-suite/9YRD/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL :a b c d\ne +-DOC +-STR diff --git a/tests/yaml-test-suite/A2M4.yaml b/tests/yaml-test-suite/A2M4.yaml deleted file mode 100644 index 03954d3..0000000 --- a/tests/yaml-test-suite/A2M4.yaml +++ /dev/null @@ -1,39 +0,0 @@ ---- -- name: Spec Example 6.2. Indentation Indicators - from: http://www.yaml.org/spec/1.2/spec.html#id2778101 - tags: explicit-key spec libyaml-err indent whitespace sequence upto-1.2 - yaml: | - ? a - : -»b - - -—»c - - d - tree: | - +STR - +DOC - +MAP - =VAL :a - +SEQ - =VAL :b - +SEQ - =VAL :c - =VAL :d - -SEQ - -SEQ - -MAP - -DOC - -STR - json: | - { - "a": [ - "b", - [ - "c", - "d" - ] - ] - } - dump: | - a: - - b - - - c - - d diff --git a/tests/yaml-test-suite/A2M4/=== b/tests/yaml-test-suite/A2M4/=== new file mode 100644 index 0000000..7f4f411 --- /dev/null +++ b/tests/yaml-test-suite/A2M4/=== @@ -0,0 +1 @@ +Spec Example 6.2. Indentation Indicators diff --git a/tests/yaml-test-suite/A2M4/in.json b/tests/yaml-test-suite/A2M4/in.json new file mode 100644 index 0000000..848d9f6 --- /dev/null +++ b/tests/yaml-test-suite/A2M4/in.json @@ -0,0 +1,9 @@ +{ + "a": [ + "b", + [ + "c", + "d" + ] + ] +} diff --git a/tests/yaml-test-suite/A2M4/in.yaml b/tests/yaml-test-suite/A2M4/in.yaml new file mode 100644 index 0000000..ac0d970 --- /dev/null +++ b/tests/yaml-test-suite/A2M4/in.yaml @@ -0,0 +1,4 @@ +? a +: - b + - - c + - d diff --git a/tests/yaml-test-suite/A2M4/out.yaml b/tests/yaml-test-suite/A2M4/out.yaml new file mode 100644 index 0000000..7b74af1 --- /dev/null +++ b/tests/yaml-test-suite/A2M4/out.yaml @@ -0,0 +1,4 @@ +a: +- b +- - c + - d diff --git a/tests/yaml-test-suite/A2M4/test.event b/tests/yaml-test-suite/A2M4/test.event new file mode 100644 index 0000000..05a3a06 --- /dev/null +++ b/tests/yaml-test-suite/A2M4/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP +=VAL :a ++SEQ +=VAL :b ++SEQ +=VAL :c +=VAL :d +-SEQ +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/A6F9.yaml b/tests/yaml-test-suite/A6F9.yaml deleted file mode 100644 index 5b11980..0000000 --- a/tests/yaml-test-suite/A6F9.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Spec Example 8.4. Chomping Final Line Break - from: http://www.yaml.org/spec/1.2/spec.html#id2795034 - tags: spec literal scalar - yaml: | - strip: |- - text - clip: | - text - keep: |+ - text - tree: | - +STR - +DOC - +MAP - =VAL :strip - =VAL |text - =VAL :clip - =VAL |text\n - =VAL :keep - =VAL |text\n - -MAP - -DOC - -STR - json: | - { - "strip": "text", - "clip": "text\n", - "keep": "text\n" - } - dump: | - strip: |- - text - clip: | - text - keep: | - text diff --git a/tests/yaml-test-suite/A6F9/=== b/tests/yaml-test-suite/A6F9/=== new file mode 100644 index 0000000..39514fe --- /dev/null +++ b/tests/yaml-test-suite/A6F9/=== @@ -0,0 +1 @@ +Spec Example 8.4. Chomping Final Line Break diff --git a/tests/yaml-test-suite/A6F9/in.json b/tests/yaml-test-suite/A6F9/in.json new file mode 100644 index 0000000..50e1907 --- /dev/null +++ b/tests/yaml-test-suite/A6F9/in.json @@ -0,0 +1,5 @@ +{ + "strip": "text", + "clip": "text\n", + "keep": "text\n" +} diff --git a/tests/yaml-test-suite/A6F9/in.yaml b/tests/yaml-test-suite/A6F9/in.yaml new file mode 100644 index 0000000..fa6190f --- /dev/null +++ b/tests/yaml-test-suite/A6F9/in.yaml @@ -0,0 +1,6 @@ +strip: |- + text +clip: | + text +keep: |+ + text diff --git a/tests/yaml-test-suite/A6F9/out.yaml b/tests/yaml-test-suite/A6F9/out.yaml new file mode 100644 index 0000000..665751c --- /dev/null +++ b/tests/yaml-test-suite/A6F9/out.yaml @@ -0,0 +1,6 @@ +strip: |- + text +clip: | + text +keep: | + text diff --git a/tests/yaml-test-suite/A6F9/test.event b/tests/yaml-test-suite/A6F9/test.event new file mode 100644 index 0000000..71ef2cb --- /dev/null +++ b/tests/yaml-test-suite/A6F9/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :strip +=VAL |text +=VAL :clip +=VAL |text\n +=VAL :keep +=VAL |text\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/A984.yaml b/tests/yaml-test-suite/A984.yaml deleted file mode 100644 index 2ac0454..0000000 --- a/tests/yaml-test-suite/A984.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Multiline Scalar in Mapping - from: NimYAML tests - tags: scalar - yaml: | - a: b - c - d: - e - f - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL :b c - =VAL :d - =VAL :e f - -MAP - -DOC - -STR - json: | - { - "a": "b c", - "d": "e f" - } - dump: | - a: b c - d: e f diff --git a/tests/yaml-test-suite/A984/=== b/tests/yaml-test-suite/A984/=== new file mode 100644 index 0000000..8c71b7a --- /dev/null +++ b/tests/yaml-test-suite/A984/=== @@ -0,0 +1 @@ +Multiline Scalar in Mapping diff --git a/tests/yaml-test-suite/A984/in.json b/tests/yaml-test-suite/A984/in.json new file mode 100644 index 0000000..50ad5bd --- /dev/null +++ b/tests/yaml-test-suite/A984/in.json @@ -0,0 +1,4 @@ +{ + "a": "b c", + "d": "e f" +} diff --git a/tests/yaml-test-suite/A984/in.yaml b/tests/yaml-test-suite/A984/in.yaml new file mode 100644 index 0000000..62fe04a --- /dev/null +++ b/tests/yaml-test-suite/A984/in.yaml @@ -0,0 +1,5 @@ +a: b + c +d: + e + f diff --git a/tests/yaml-test-suite/A984/out.yaml b/tests/yaml-test-suite/A984/out.yaml new file mode 100644 index 0000000..8090021 --- /dev/null +++ b/tests/yaml-test-suite/A984/out.yaml @@ -0,0 +1,2 @@ +a: b c +d: e f diff --git a/tests/yaml-test-suite/A984/test.event b/tests/yaml-test-suite/A984/test.event new file mode 100644 index 0000000..8edb42e --- /dev/null +++ b/tests/yaml-test-suite/A984/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL :b c +=VAL :d +=VAL :e f +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/AB8U.yaml b/tests/yaml-test-suite/AB8U.yaml deleted file mode 100644 index 29cbb31..0000000 --- a/tests/yaml-test-suite/AB8U.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Sequence entry that looks like two with wrong indentation - from: '@perlpunk' - tags: scalar sequence - yaml: | - - single multiline - - sequence entry - tree: | - +STR - +DOC - +SEQ - =VAL :single multiline - sequence entry - -SEQ - -DOC - -STR - json: | - [ - "single multiline - sequence entry" - ] - dump: | - - single multiline - sequence entry diff --git a/tests/yaml-test-suite/AB8U/=== b/tests/yaml-test-suite/AB8U/=== new file mode 100644 index 0000000..99e6ea3 --- /dev/null +++ b/tests/yaml-test-suite/AB8U/=== @@ -0,0 +1 @@ +Sequence entry that looks like two with wrong indentation diff --git a/tests/yaml-test-suite/AB8U/in.json b/tests/yaml-test-suite/AB8U/in.json new file mode 100644 index 0000000..ea0a643 --- /dev/null +++ b/tests/yaml-test-suite/AB8U/in.json @@ -0,0 +1,3 @@ +[ + "single multiline - sequence entry" +] diff --git a/tests/yaml-test-suite/AB8U/in.yaml b/tests/yaml-test-suite/AB8U/in.yaml new file mode 100644 index 0000000..abf6cec --- /dev/null +++ b/tests/yaml-test-suite/AB8U/in.yaml @@ -0,0 +1,2 @@ +- single multiline + - sequence entry diff --git a/tests/yaml-test-suite/AB8U/out.yaml b/tests/yaml-test-suite/AB8U/out.yaml new file mode 100644 index 0000000..ed3a798 --- /dev/null +++ b/tests/yaml-test-suite/AB8U/out.yaml @@ -0,0 +1 @@ +- single multiline - sequence entry diff --git a/tests/yaml-test-suite/AB8U/test.event b/tests/yaml-test-suite/AB8U/test.event new file mode 100644 index 0000000..b5fa8e9 --- /dev/null +++ b/tests/yaml-test-suite/AB8U/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ +=VAL :single multiline - sequence entry +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/AVM7.yaml b/tests/yaml-test-suite/AVM7.yaml deleted file mode 100644 index 7c3ce73..0000000 --- a/tests/yaml-test-suite/AVM7.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: Empty Stream - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/misc.tml - tags: edge - yaml: | - ∎ - tree: | - +STR - -STR - json: '' diff --git a/tests/yaml-test-suite/AVM7/=== b/tests/yaml-test-suite/AVM7/=== new file mode 100644 index 0000000..1f7b485 --- /dev/null +++ b/tests/yaml-test-suite/AVM7/=== @@ -0,0 +1 @@ +Empty Stream diff --git a/tests/yaml-test-suite/AVM7/in.json b/tests/yaml-test-suite/AVM7/in.json new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/AVM7/in.yaml b/tests/yaml-test-suite/AVM7/in.yaml new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/AVM7/test.event b/tests/yaml-test-suite/AVM7/test.event new file mode 100644 index 0000000..a8c0574 --- /dev/null +++ b/tests/yaml-test-suite/AVM7/test.event @@ -0,0 +1,2 @@ ++STR +-STR diff --git a/tests/yaml-test-suite/AZ63.yaml b/tests/yaml-test-suite/AZ63.yaml deleted file mode 100644 index 7cc4ef9..0000000 --- a/tests/yaml-test-suite/AZ63.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Sequence With Same Indentation as Parent Mapping - from: NimYAML tests - tags: indent mapping sequence - yaml: | - one: - - 2 - - 3 - four: 5 - tree: | - +STR - +DOC - +MAP - =VAL :one - +SEQ - =VAL :2 - =VAL :3 - -SEQ - =VAL :four - =VAL :5 - -MAP - -DOC - -STR - json: | - { - "one": [ - 2, - 3 - ], - "four": 5 - } diff --git a/tests/yaml-test-suite/AZ63/=== b/tests/yaml-test-suite/AZ63/=== new file mode 100644 index 0000000..5df1eae --- /dev/null +++ b/tests/yaml-test-suite/AZ63/=== @@ -0,0 +1 @@ +Sequence With Same Indentation as Parent Mapping diff --git a/tests/yaml-test-suite/AZ63/in.json b/tests/yaml-test-suite/AZ63/in.json new file mode 100644 index 0000000..d8d5d7e --- /dev/null +++ b/tests/yaml-test-suite/AZ63/in.json @@ -0,0 +1,7 @@ +{ + "one": [ + 2, + 3 + ], + "four": 5 +} diff --git a/tests/yaml-test-suite/AZ63/in.yaml b/tests/yaml-test-suite/AZ63/in.yaml new file mode 100644 index 0000000..80eda20 --- /dev/null +++ b/tests/yaml-test-suite/AZ63/in.yaml @@ -0,0 +1,4 @@ +one: +- 2 +- 3 +four: 5 diff --git a/tests/yaml-test-suite/AZ63/test.event b/tests/yaml-test-suite/AZ63/test.event new file mode 100644 index 0000000..933e2ae --- /dev/null +++ b/tests/yaml-test-suite/AZ63/test.event @@ -0,0 +1,13 @@ ++STR ++DOC ++MAP +=VAL :one ++SEQ +=VAL :2 +=VAL :3 +-SEQ +=VAL :four +=VAL :5 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/AZW3.yaml b/tests/yaml-test-suite/AZW3.yaml deleted file mode 100644 index 1acb2c4..0000000 --- a/tests/yaml-test-suite/AZW3.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Lookahead test cases - from: NimYAML tests - tags: mapping edge - yaml: | - - bla"keks: foo - - bla]keks: foo - tree: | - +STR - +DOC - +SEQ - +MAP - =VAL :bla"keks - =VAL :foo - -MAP - +MAP - =VAL :bla]keks - =VAL :foo - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "bla\"keks": "foo" - }, - { - "bla]keks": "foo" - } - ] diff --git a/tests/yaml-test-suite/AZW3/=== b/tests/yaml-test-suite/AZW3/=== new file mode 100644 index 0000000..20a8108 --- /dev/null +++ b/tests/yaml-test-suite/AZW3/=== @@ -0,0 +1 @@ +Lookahead test cases diff --git a/tests/yaml-test-suite/AZW3/in.json b/tests/yaml-test-suite/AZW3/in.json new file mode 100644 index 0000000..0e62301 --- /dev/null +++ b/tests/yaml-test-suite/AZW3/in.json @@ -0,0 +1,8 @@ +[ + { + "bla\"keks": "foo" + }, + { + "bla]keks": "foo" + } +] diff --git a/tests/yaml-test-suite/AZW3/in.yaml b/tests/yaml-test-suite/AZW3/in.yaml new file mode 100644 index 0000000..c9219e9 --- /dev/null +++ b/tests/yaml-test-suite/AZW3/in.yaml @@ -0,0 +1,2 @@ +- bla"keks: foo +- bla]keks: foo diff --git a/tests/yaml-test-suite/AZW3/test.event b/tests/yaml-test-suite/AZW3/test.event new file mode 100644 index 0000000..d04ca7a --- /dev/null +++ b/tests/yaml-test-suite/AZW3/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++SEQ ++MAP +=VAL :bla"keks +=VAL :foo +-MAP ++MAP +=VAL :bla]keks +=VAL :foo +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/B3HG.yaml b/tests/yaml-test-suite/B3HG.yaml deleted file mode 100644 index 637c562..0000000 --- a/tests/yaml-test-suite/B3HG.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: Spec Example 8.9. Folded Scalar [1.3] - from: G992, modified for YAML 1.3 - tags: spec folded scalar 1.3-mod - yaml: | - --- > - folded - text - ↵ - ↵ - tree: | - +STR - +DOC --- - =VAL >folded text\n - -DOC - -STR - json: | - "folded text\n" - dump: | - > - folded text - emit: | - --- > - folded text diff --git a/tests/yaml-test-suite/B3HG/=== b/tests/yaml-test-suite/B3HG/=== new file mode 100644 index 0000000..03f346c --- /dev/null +++ b/tests/yaml-test-suite/B3HG/=== @@ -0,0 +1 @@ +Spec Example 8.9. Folded Scalar [1.3] diff --git a/tests/yaml-test-suite/B3HG/emit.yaml b/tests/yaml-test-suite/B3HG/emit.yaml new file mode 100644 index 0000000..85c6e02 --- /dev/null +++ b/tests/yaml-test-suite/B3HG/emit.yaml @@ -0,0 +1,2 @@ +--- > + folded text diff --git a/tests/yaml-test-suite/B3HG/in.json b/tests/yaml-test-suite/B3HG/in.json new file mode 100644 index 0000000..d5cf354 --- /dev/null +++ b/tests/yaml-test-suite/B3HG/in.json @@ -0,0 +1 @@ +"folded text\n" diff --git a/tests/yaml-test-suite/B3HG/in.yaml b/tests/yaml-test-suite/B3HG/in.yaml new file mode 100644 index 0000000..668490c --- /dev/null +++ b/tests/yaml-test-suite/B3HG/in.yaml @@ -0,0 +1,5 @@ +--- > + folded + text + + diff --git a/tests/yaml-test-suite/B3HG/out.yaml b/tests/yaml-test-suite/B3HG/out.yaml new file mode 100644 index 0000000..40f6371 --- /dev/null +++ b/tests/yaml-test-suite/B3HG/out.yaml @@ -0,0 +1,2 @@ +> + folded text diff --git a/tests/yaml-test-suite/B3HG/test.event b/tests/yaml-test-suite/B3HG/test.event new file mode 100644 index 0000000..5e7760d --- /dev/null +++ b/tests/yaml-test-suite/B3HG/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL >folded text\n +-DOC +-STR diff --git a/tests/yaml-test-suite/B63P.yaml b/tests/yaml-test-suite/B63P.yaml deleted file mode 100644 index b89402d..0000000 --- a/tests/yaml-test-suite/B63P.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: Directive without document - from: AdaYaml tests - tags: error directive document - fail: true - yaml: | - %YAML 1.2 - ... - tree: | - +STR diff --git a/tests/yaml-test-suite/B63P/=== b/tests/yaml-test-suite/B63P/=== new file mode 100644 index 0000000..e585ab4 --- /dev/null +++ b/tests/yaml-test-suite/B63P/=== @@ -0,0 +1 @@ +Directive without document diff --git a/tests/yaml-test-suite/B63P/error b/tests/yaml-test-suite/B63P/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/B63P/in.yaml b/tests/yaml-test-suite/B63P/in.yaml new file mode 100644 index 0000000..142134e --- /dev/null +++ b/tests/yaml-test-suite/B63P/in.yaml @@ -0,0 +1,2 @@ +%YAML 1.2 +... diff --git a/tests/yaml-test-suite/B63P/test.event b/tests/yaml-test-suite/B63P/test.event new file mode 100644 index 0000000..e72d602 --- /dev/null +++ b/tests/yaml-test-suite/B63P/test.event @@ -0,0 +1 @@ ++STR diff --git a/tests/yaml-test-suite/BD7L.yaml b/tests/yaml-test-suite/BD7L.yaml deleted file mode 100644 index 9ccbdaf..0000000 --- a/tests/yaml-test-suite/BD7L.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Invalid mapping after sequence - from: '@perlpunk' - tags: error mapping sequence - fail: true - yaml: | - - item1 - - item2 - invalid: x - tree: | - +STR - +DOC - +SEQ - =VAL :item1 - =VAL :item2 diff --git a/tests/yaml-test-suite/BD7L/=== b/tests/yaml-test-suite/BD7L/=== new file mode 100644 index 0000000..2574090 --- /dev/null +++ b/tests/yaml-test-suite/BD7L/=== @@ -0,0 +1 @@ +Invalid mapping after sequence diff --git a/tests/yaml-test-suite/BD7L/error b/tests/yaml-test-suite/BD7L/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/BD7L/in.yaml b/tests/yaml-test-suite/BD7L/in.yaml new file mode 100644 index 0000000..30799d9 --- /dev/null +++ b/tests/yaml-test-suite/BD7L/in.yaml @@ -0,0 +1,3 @@ +- item1 +- item2 +invalid: x diff --git a/tests/yaml-test-suite/BD7L/test.event b/tests/yaml-test-suite/BD7L/test.event new file mode 100644 index 0000000..fc4db33 --- /dev/null +++ b/tests/yaml-test-suite/BD7L/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++SEQ +=VAL :item1 +=VAL :item2 diff --git a/tests/yaml-test-suite/BEC7.yaml b/tests/yaml-test-suite/BEC7.yaml deleted file mode 100644 index 26f0ba6..0000000 --- a/tests/yaml-test-suite/BEC7.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: Spec Example 6.14. “YAML” directive - from: http://www.yaml.org/spec/1.2/spec.html#id2781929 - tags: spec directive - yaml: | - %YAML 1.3 # Attempt parsing - # with a warning - --- - "foo" - tree: | - +STR - +DOC --- - =VAL "foo - -DOC - -STR - json: | - "foo" - dump: | - --- "foo" diff --git a/tests/yaml-test-suite/BEC7/=== b/tests/yaml-test-suite/BEC7/=== new file mode 100644 index 0000000..42ad4fe --- /dev/null +++ b/tests/yaml-test-suite/BEC7/=== @@ -0,0 +1 @@ +Spec Example 6.14. “YAML” directive diff --git a/tests/yaml-test-suite/BEC7/in.json b/tests/yaml-test-suite/BEC7/in.json new file mode 100644 index 0000000..810c96e --- /dev/null +++ b/tests/yaml-test-suite/BEC7/in.json @@ -0,0 +1 @@ +"foo" diff --git a/tests/yaml-test-suite/BEC7/in.yaml b/tests/yaml-test-suite/BEC7/in.yaml new file mode 100644 index 0000000..fb55215 --- /dev/null +++ b/tests/yaml-test-suite/BEC7/in.yaml @@ -0,0 +1,4 @@ +%YAML 1.3 # Attempt parsing + # with a warning +--- +"foo" diff --git a/tests/yaml-test-suite/BEC7/out.yaml b/tests/yaml-test-suite/BEC7/out.yaml new file mode 100644 index 0000000..55a21ab --- /dev/null +++ b/tests/yaml-test-suite/BEC7/out.yaml @@ -0,0 +1 @@ +--- "foo" diff --git a/tests/yaml-test-suite/BEC7/test.event b/tests/yaml-test-suite/BEC7/test.event new file mode 100644 index 0000000..324d096 --- /dev/null +++ b/tests/yaml-test-suite/BEC7/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL "foo +-DOC +-STR diff --git a/tests/yaml-test-suite/BF9H.yaml b/tests/yaml-test-suite/BF9H.yaml deleted file mode 100644 index fbae34a..0000000 --- a/tests/yaml-test-suite/BF9H.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Trailing comment in multiline plain scalar - from: '@perlpunk' - tags: comment error scalar - fail: true - yaml: | - --- - plain: a - b # end of scalar - c - tree: | - +STR - +DOC --- - +MAP - =VAL :plain - =VAL :a b diff --git a/tests/yaml-test-suite/BF9H/=== b/tests/yaml-test-suite/BF9H/=== new file mode 100644 index 0000000..50b64c1 --- /dev/null +++ b/tests/yaml-test-suite/BF9H/=== @@ -0,0 +1 @@ +Trailing comment in multiline plain scalar diff --git a/tests/yaml-test-suite/BF9H/error b/tests/yaml-test-suite/BF9H/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/BF9H/in.yaml b/tests/yaml-test-suite/BF9H/in.yaml new file mode 100644 index 0000000..8afd770 --- /dev/null +++ b/tests/yaml-test-suite/BF9H/in.yaml @@ -0,0 +1,4 @@ +--- +plain: a + b # end of scalar + c diff --git a/tests/yaml-test-suite/BF9H/test.event b/tests/yaml-test-suite/BF9H/test.event new file mode 100644 index 0000000..1f53c3c --- /dev/null +++ b/tests/yaml-test-suite/BF9H/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- ++MAP +=VAL :plain +=VAL :a b diff --git a/tests/yaml-test-suite/BS4K.yaml b/tests/yaml-test-suite/BS4K.yaml deleted file mode 100644 index 519b9f2..0000000 --- a/tests/yaml-test-suite/BS4K.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Comment between plain scalar lines - from: https://gist.github.com/anonymous/269f16d582fdd30a7dcf8c9249c5da7f via @ingydotnet - tags: error scalar - fail: true - yaml: | - word1 # comment - word2 - tree: | - +STR - +DOC - =VAL :word1 - -DOC diff --git a/tests/yaml-test-suite/BS4K/=== b/tests/yaml-test-suite/BS4K/=== new file mode 100644 index 0000000..2749ee6 --- /dev/null +++ b/tests/yaml-test-suite/BS4K/=== @@ -0,0 +1 @@ +Comment between plain scalar lines diff --git a/tests/yaml-test-suite/BS4K/error b/tests/yaml-test-suite/BS4K/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/BS4K/in.yaml b/tests/yaml-test-suite/BS4K/in.yaml new file mode 100644 index 0000000..5ddae76 --- /dev/null +++ b/tests/yaml-test-suite/BS4K/in.yaml @@ -0,0 +1,2 @@ +word1 # comment +word2 diff --git a/tests/yaml-test-suite/BS4K/test.event b/tests/yaml-test-suite/BS4K/test.event new file mode 100644 index 0000000..d7f91c1 --- /dev/null +++ b/tests/yaml-test-suite/BS4K/test.event @@ -0,0 +1,4 @@ ++STR ++DOC +=VAL :word1 +-DOC diff --git a/tests/yaml-test-suite/BU8L.yaml b/tests/yaml-test-suite/BU8L.yaml deleted file mode 100644 index d126897..0000000 --- a/tests/yaml-test-suite/BU8L.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Node Anchor and Tag on Seperate Lines - from: https://gist.github.com/anonymous/f192e7dab6da31831f264dbf1947cb83 via @ingydotnet - tags: anchor indent 1.3-err tag - yaml: | - key: &anchor - !!map - a: b - tree: | - +STR - +DOC - +MAP - =VAL :key - +MAP &anchor - =VAL :a - =VAL :b - -MAP - -MAP - -DOC - -STR - json: | - { - "key": { - "a": "b" - } - } - dump: | - key: &anchor !!map - a: b diff --git a/tests/yaml-test-suite/BU8L/=== b/tests/yaml-test-suite/BU8L/=== new file mode 100644 index 0000000..f37cc7d --- /dev/null +++ b/tests/yaml-test-suite/BU8L/=== @@ -0,0 +1 @@ +Node Anchor and Tag on Seperate Lines diff --git a/tests/yaml-test-suite/BU8L/in.json b/tests/yaml-test-suite/BU8L/in.json new file mode 100644 index 0000000..1609d45 --- /dev/null +++ b/tests/yaml-test-suite/BU8L/in.json @@ -0,0 +1,5 @@ +{ + "key": { + "a": "b" + } +} diff --git a/tests/yaml-test-suite/BU8L/in.yaml b/tests/yaml-test-suite/BU8L/in.yaml new file mode 100644 index 0000000..35d556d --- /dev/null +++ b/tests/yaml-test-suite/BU8L/in.yaml @@ -0,0 +1,3 @@ +key: &anchor + !!map + a: b diff --git a/tests/yaml-test-suite/BU8L/out.yaml b/tests/yaml-test-suite/BU8L/out.yaml new file mode 100644 index 0000000..34ed34f --- /dev/null +++ b/tests/yaml-test-suite/BU8L/out.yaml @@ -0,0 +1,2 @@ +key: &anchor !!map + a: b diff --git a/tests/yaml-test-suite/BU8L/test.event b/tests/yaml-test-suite/BU8L/test.event new file mode 100644 index 0000000..babc4f4 --- /dev/null +++ b/tests/yaml-test-suite/BU8L/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++MAP +=VAL :key ++MAP &anchor +=VAL :a +=VAL :b +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/C2DT.yaml b/tests/yaml-test-suite/C2DT.yaml deleted file mode 100644 index f9950eb..0000000 --- a/tests/yaml-test-suite/C2DT.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 7.18. Flow Mapping Adjacent Values - from: http://www.yaml.org/spec/1.2/spec.html#id2792073 - tags: spec flow mapping - yaml: | - { - "adjacent":value, - "readable": value, - "empty": - } - tree: | - +STR - +DOC - +MAP {} - =VAL "adjacent - =VAL :value - =VAL "readable - =VAL :value - =VAL "empty - =VAL : - -MAP - -DOC - -STR - json: | - { - "adjacent": "value", - "readable": "value", - "empty": null - } - dump: | - "adjacent": value - "readable": value - "empty": diff --git a/tests/yaml-test-suite/C2DT/=== b/tests/yaml-test-suite/C2DT/=== new file mode 100644 index 0000000..34b293f --- /dev/null +++ b/tests/yaml-test-suite/C2DT/=== @@ -0,0 +1 @@ +Spec Example 7.18. Flow Mapping Adjacent Values diff --git a/tests/yaml-test-suite/C2DT/in.json b/tests/yaml-test-suite/C2DT/in.json new file mode 100644 index 0000000..e522f08 --- /dev/null +++ b/tests/yaml-test-suite/C2DT/in.json @@ -0,0 +1,5 @@ +{ + "adjacent": "value", + "readable": "value", + "empty": null +} diff --git a/tests/yaml-test-suite/C2DT/in.yaml b/tests/yaml-test-suite/C2DT/in.yaml new file mode 100644 index 0000000..7fc069c --- /dev/null +++ b/tests/yaml-test-suite/C2DT/in.yaml @@ -0,0 +1,5 @@ +{ +"adjacent":value, +"readable": value, +"empty": +} diff --git a/tests/yaml-test-suite/C2DT/out.yaml b/tests/yaml-test-suite/C2DT/out.yaml new file mode 100644 index 0000000..b5e74d5 --- /dev/null +++ b/tests/yaml-test-suite/C2DT/out.yaml @@ -0,0 +1,3 @@ +"adjacent": value +"readable": value +"empty": diff --git a/tests/yaml-test-suite/C2DT/test.event b/tests/yaml-test-suite/C2DT/test.event new file mode 100644 index 0000000..446750a --- /dev/null +++ b/tests/yaml-test-suite/C2DT/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP {} +=VAL "adjacent +=VAL :value +=VAL "readable +=VAL :value +=VAL "empty +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/C2SP.yaml b/tests/yaml-test-suite/C2SP.yaml deleted file mode 100644 index 2ad9de9..0000000 --- a/tests/yaml-test-suite/C2SP.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Flow Mapping Key on two lines - from: '@perlpunk' - tags: error flow mapping - fail: true - yaml: | - [23 - ]: 42 - tree: | - +STR - +DOC - +SEQ [] - =VAL :23 diff --git a/tests/yaml-test-suite/C2SP/=== b/tests/yaml-test-suite/C2SP/=== new file mode 100644 index 0000000..22c4de4 --- /dev/null +++ b/tests/yaml-test-suite/C2SP/=== @@ -0,0 +1 @@ +Flow Mapping Key on two lines diff --git a/tests/yaml-test-suite/C2SP/error b/tests/yaml-test-suite/C2SP/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/C2SP/in.yaml b/tests/yaml-test-suite/C2SP/in.yaml new file mode 100644 index 0000000..bb88dde --- /dev/null +++ b/tests/yaml-test-suite/C2SP/in.yaml @@ -0,0 +1,2 @@ +[23 +]: 42 diff --git a/tests/yaml-test-suite/C2SP/test.event b/tests/yaml-test-suite/C2SP/test.event new file mode 100644 index 0000000..af9cc7d --- /dev/null +++ b/tests/yaml-test-suite/C2SP/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ [] +=VAL :23 diff --git a/tests/yaml-test-suite/C4HZ.yaml b/tests/yaml-test-suite/C4HZ.yaml deleted file mode 100644 index 765040e..0000000 --- a/tests/yaml-test-suite/C4HZ.yaml +++ /dev/null @@ -1,100 +0,0 @@ ---- -- name: Spec Example 2.24. Global Tags - from: http://www.yaml.org/spec/1.2/spec.html#id2761719 - tags: spec tag alias directive local-tag - yaml: | - %TAG ! tag:clarkevans.com,2002: - --- !shape - # Use the ! handle for presenting - # tag:clarkevans.com,2002:circle - - !circle - center: &ORIGIN {x: 73, y: 129} - radius: 7 - - !line - start: *ORIGIN - finish: { x: 89, y: 102 } - - !label - start: *ORIGIN - color: 0xFFEEBB - text: Pretty vector drawing. - tree: | - +STR - +DOC --- - +SEQ - +MAP - =VAL :center - +MAP {} &ORIGIN - =VAL :x - =VAL :73 - =VAL :y - =VAL :129 - -MAP - =VAL :radius - =VAL :7 - -MAP - +MAP - =VAL :start - =ALI *ORIGIN - =VAL :finish - +MAP {} - =VAL :x - =VAL :89 - =VAL :y - =VAL :102 - -MAP - -MAP - +MAP - =VAL :start - =ALI *ORIGIN - =VAL :color - =VAL :0xFFEEBB - =VAL :text - =VAL :Pretty vector drawing. - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "center": { - "x": 73, - "y": 129 - }, - "radius": 7 - }, - { - "start": { - "x": 73, - "y": 129 - }, - "finish": { - "x": 89, - "y": 102 - } - }, - { - "start": { - "x": 73, - "y": 129 - }, - "color": 16772795, - "text": "Pretty vector drawing." - } - ] - dump: | - --- ! - - ! - center: &ORIGIN - x: 73 - y: 129 - radius: 7 - - ! - start: *ORIGIN - finish: - x: 89 - y: 102 - - ! - start: *ORIGIN - color: 0xFFEEBB - text: Pretty vector drawing. diff --git a/tests/yaml-test-suite/C4HZ/=== b/tests/yaml-test-suite/C4HZ/=== new file mode 100644 index 0000000..14aa7e1 --- /dev/null +++ b/tests/yaml-test-suite/C4HZ/=== @@ -0,0 +1 @@ +Spec Example 2.24. Global Tags diff --git a/tests/yaml-test-suite/C4HZ/in.json b/tests/yaml-test-suite/C4HZ/in.json new file mode 100644 index 0000000..de484e0 --- /dev/null +++ b/tests/yaml-test-suite/C4HZ/in.json @@ -0,0 +1,27 @@ +[ + { + "center": { + "x": 73, + "y": 129 + }, + "radius": 7 + }, + { + "start": { + "x": 73, + "y": 129 + }, + "finish": { + "x": 89, + "y": 102 + } + }, + { + "start": { + "x": 73, + "y": 129 + }, + "color": 16772795, + "text": "Pretty vector drawing." + } +] diff --git a/tests/yaml-test-suite/C4HZ/in.yaml b/tests/yaml-test-suite/C4HZ/in.yaml new file mode 100644 index 0000000..1180757 --- /dev/null +++ b/tests/yaml-test-suite/C4HZ/in.yaml @@ -0,0 +1,14 @@ +%TAG ! tag:clarkevans.com,2002: +--- !shape + # Use the ! handle for presenting + # tag:clarkevans.com,2002:circle +- !circle + center: &ORIGIN {x: 73, y: 129} + radius: 7 +- !line + start: *ORIGIN + finish: { x: 89, y: 102 } +- !label + start: *ORIGIN + color: 0xFFEEBB + text: Pretty vector drawing. diff --git a/tests/yaml-test-suite/C4HZ/out.yaml b/tests/yaml-test-suite/C4HZ/out.yaml new file mode 100644 index 0000000..5d964b7 --- /dev/null +++ b/tests/yaml-test-suite/C4HZ/out.yaml @@ -0,0 +1,15 @@ +--- ! +- ! + center: &ORIGIN + x: 73 + y: 129 + radius: 7 +- ! + start: *ORIGIN + finish: + x: 89 + y: 102 +- ! + start: *ORIGIN + color: 0xFFEEBB + text: Pretty vector drawing. diff --git a/tests/yaml-test-suite/C4HZ/test.event b/tests/yaml-test-suite/C4HZ/test.event new file mode 100644 index 0000000..dc77e1a --- /dev/null +++ b/tests/yaml-test-suite/C4HZ/test.event @@ -0,0 +1,36 @@ ++STR ++DOC --- ++SEQ ++MAP +=VAL :center ++MAP {} &ORIGIN +=VAL :x +=VAL :73 +=VAL :y +=VAL :129 +-MAP +=VAL :radius +=VAL :7 +-MAP ++MAP +=VAL :start +=ALI *ORIGIN +=VAL :finish ++MAP {} +=VAL :x +=VAL :89 +=VAL :y +=VAL :102 +-MAP +-MAP ++MAP +=VAL :start +=ALI *ORIGIN +=VAL :color +=VAL :0xFFEEBB +=VAL :text +=VAL :Pretty vector drawing. +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/CC74.yaml b/tests/yaml-test-suite/CC74.yaml deleted file mode 100644 index b5bfc0a..0000000 --- a/tests/yaml-test-suite/CC74.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Spec Example 6.20. Tag Handles - from: http://www.yaml.org/spec/1.2/spec.html#id2783195 - tags: spec directive tag unknown-tag - yaml: | - %TAG !e! tag:example.com,2000:app/ - --- - !e!foo "bar" - tree: | - +STR - +DOC --- - =VAL "bar - -DOC - -STR - json: | - "bar" - dump: | - --- ! "bar" diff --git a/tests/yaml-test-suite/CC74/=== b/tests/yaml-test-suite/CC74/=== new file mode 100644 index 0000000..1a28b08 --- /dev/null +++ b/tests/yaml-test-suite/CC74/=== @@ -0,0 +1 @@ +Spec Example 6.20. Tag Handles diff --git a/tests/yaml-test-suite/CC74/in.json b/tests/yaml-test-suite/CC74/in.json new file mode 100644 index 0000000..196e587 --- /dev/null +++ b/tests/yaml-test-suite/CC74/in.json @@ -0,0 +1 @@ +"bar" diff --git a/tests/yaml-test-suite/CC74/in.yaml b/tests/yaml-test-suite/CC74/in.yaml new file mode 100644 index 0000000..690f138 --- /dev/null +++ b/tests/yaml-test-suite/CC74/in.yaml @@ -0,0 +1,3 @@ +%TAG !e! tag:example.com,2000:app/ +--- +!e!foo "bar" diff --git a/tests/yaml-test-suite/CC74/out.yaml b/tests/yaml-test-suite/CC74/out.yaml new file mode 100644 index 0000000..1bce55c --- /dev/null +++ b/tests/yaml-test-suite/CC74/out.yaml @@ -0,0 +1 @@ +--- ! "bar" diff --git a/tests/yaml-test-suite/CC74/test.event b/tests/yaml-test-suite/CC74/test.event new file mode 100644 index 0000000..7c0ff3a --- /dev/null +++ b/tests/yaml-test-suite/CC74/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL "bar +-DOC +-STR diff --git a/tests/yaml-test-suite/CFD4.yaml b/tests/yaml-test-suite/CFD4.yaml deleted file mode 100644 index 5a6e7d6..0000000 --- a/tests/yaml-test-suite/CFD4.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Empty implicit key in single pair flow sequences - from: '@perlpunk' - tags: empty-key flow sequence - yaml: | - - [ : empty key ] - - [: another empty key] - tree: | - +STR - +DOC - +SEQ - +SEQ [] - +MAP {} - =VAL : - =VAL :empty key - -MAP - -SEQ - +SEQ [] - +MAP {} - =VAL : - =VAL :another empty key - -MAP - -SEQ - -SEQ - -DOC - -STR - dump: | - - - : empty key - - - : another empty key diff --git a/tests/yaml-test-suite/CFD4/=== b/tests/yaml-test-suite/CFD4/=== new file mode 100644 index 0000000..4a44b42 --- /dev/null +++ b/tests/yaml-test-suite/CFD4/=== @@ -0,0 +1 @@ +Empty implicit key in single pair flow sequences diff --git a/tests/yaml-test-suite/CFD4/in.yaml b/tests/yaml-test-suite/CFD4/in.yaml new file mode 100644 index 0000000..503d73a --- /dev/null +++ b/tests/yaml-test-suite/CFD4/in.yaml @@ -0,0 +1,2 @@ +- [ : empty key ] +- [: another empty key] diff --git a/tests/yaml-test-suite/CFD4/out.yaml b/tests/yaml-test-suite/CFD4/out.yaml new file mode 100644 index 0000000..b89a018 --- /dev/null +++ b/tests/yaml-test-suite/CFD4/out.yaml @@ -0,0 +1,2 @@ +- - : empty key +- - : another empty key diff --git a/tests/yaml-test-suite/CFD4/test.event b/tests/yaml-test-suite/CFD4/test.event new file mode 100644 index 0000000..9258b61 --- /dev/null +++ b/tests/yaml-test-suite/CFD4/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++SEQ ++SEQ [] ++MAP {} +=VAL : +=VAL :empty key +-MAP +-SEQ ++SEQ [] ++MAP {} +=VAL : +=VAL :another empty key +-MAP +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/CML9.yaml b/tests/yaml-test-suite/CML9.yaml deleted file mode 100644 index 20ad32a..0000000 --- a/tests/yaml-test-suite/CML9.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Missing comma in flow - from: ihttps://gist.github.com/anonymous/4ba3365607cc14b4f656e391b45bf4f4 via @ingydotnet - tags: error flow comment - fail: true - yaml: | - key: [ word1 - # xxx - word2 ] - tree: | - +STR - +DOC - +MAP - =VAL :key - +SEQ [] - =VAL :word1 diff --git a/tests/yaml-test-suite/CML9/=== b/tests/yaml-test-suite/CML9/=== new file mode 100644 index 0000000..2817ad4 --- /dev/null +++ b/tests/yaml-test-suite/CML9/=== @@ -0,0 +1 @@ +Missing comma in flow diff --git a/tests/yaml-test-suite/CML9/error b/tests/yaml-test-suite/CML9/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/CML9/in.yaml b/tests/yaml-test-suite/CML9/in.yaml new file mode 100644 index 0000000..b2c39a5 --- /dev/null +++ b/tests/yaml-test-suite/CML9/in.yaml @@ -0,0 +1,3 @@ +key: [ word1 +# xxx + word2 ] diff --git a/tests/yaml-test-suite/CML9/test.event b/tests/yaml-test-suite/CML9/test.event new file mode 100644 index 0000000..5f669e2 --- /dev/null +++ b/tests/yaml-test-suite/CML9/test.event @@ -0,0 +1,6 @@ ++STR ++DOC ++MAP +=VAL :key ++SEQ [] +=VAL :word1 diff --git a/tests/yaml-test-suite/CN3R.yaml b/tests/yaml-test-suite/CN3R.yaml deleted file mode 100644 index 38e6db7..0000000 --- a/tests/yaml-test-suite/CN3R.yaml +++ /dev/null @@ -1,56 +0,0 @@ ---- -- name: Various location of anchors in flow sequence - from: '@perlpunk' - tags: anchor flow mapping sequence - yaml: | - &flowseq [ - a: b, - &c c: d, - { &e e: f }, - &g { g: h } - ] - tree: | - +STR - +DOC - +SEQ [] &flowseq - +MAP {} - =VAL :a - =VAL :b - -MAP - +MAP {} - =VAL &c :c - =VAL :d - -MAP - +MAP {} - =VAL &e :e - =VAL :f - -MAP - +MAP {} &g - =VAL :g - =VAL :h - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "a": "b" - }, - { - "c": "d" - }, - { - "e": "f" - }, - { - "g": "h" - } - ] - dump: | - &flowseq - - a: b - - &c c: d - - &e e: f - - &g - g: h diff --git a/tests/yaml-test-suite/CN3R/=== b/tests/yaml-test-suite/CN3R/=== new file mode 100644 index 0000000..13a2361 --- /dev/null +++ b/tests/yaml-test-suite/CN3R/=== @@ -0,0 +1 @@ +Various location of anchors in flow sequence diff --git a/tests/yaml-test-suite/CN3R/in.json b/tests/yaml-test-suite/CN3R/in.json new file mode 100644 index 0000000..28eb29e --- /dev/null +++ b/tests/yaml-test-suite/CN3R/in.json @@ -0,0 +1,14 @@ +[ + { + "a": "b" + }, + { + "c": "d" + }, + { + "e": "f" + }, + { + "g": "h" + } +] diff --git a/tests/yaml-test-suite/CN3R/in.yaml b/tests/yaml-test-suite/CN3R/in.yaml new file mode 100644 index 0000000..8345dfc --- /dev/null +++ b/tests/yaml-test-suite/CN3R/in.yaml @@ -0,0 +1,6 @@ +&flowseq [ + a: b, + &c c: d, + { &e e: f }, + &g { g: h } +] diff --git a/tests/yaml-test-suite/CN3R/out.yaml b/tests/yaml-test-suite/CN3R/out.yaml new file mode 100644 index 0000000..2e5a647 --- /dev/null +++ b/tests/yaml-test-suite/CN3R/out.yaml @@ -0,0 +1,6 @@ +&flowseq +- a: b +- &c c: d +- &e e: f +- &g + g: h diff --git a/tests/yaml-test-suite/CN3R/test.event b/tests/yaml-test-suite/CN3R/test.event new file mode 100644 index 0000000..db80b1a --- /dev/null +++ b/tests/yaml-test-suite/CN3R/test.event @@ -0,0 +1,22 @@ ++STR ++DOC ++SEQ [] &flowseq ++MAP {} +=VAL :a +=VAL :b +-MAP ++MAP {} +=VAL &c :c +=VAL :d +-MAP ++MAP {} +=VAL &e :e +=VAL :f +-MAP ++MAP {} &g +=VAL :g +=VAL :h +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/CPZ3.yaml b/tests/yaml-test-suite/CPZ3.yaml deleted file mode 100644 index a0ea0a5..0000000 --- a/tests/yaml-test-suite/CPZ3.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Doublequoted scalar starting with a tab - from: '@perlpunk' - tags: double scalar - yaml: | - --- - tab: "\tstring" - tree: | - +STR - +DOC --- - +MAP - =VAL :tab - =VAL "\tstring - -MAP - -DOC - -STR - json: | - { - "tab": "\tstring" - } - dump: | - --- - tab: "\tstring" diff --git a/tests/yaml-test-suite/CPZ3/=== b/tests/yaml-test-suite/CPZ3/=== new file mode 100644 index 0000000..f3af6ed --- /dev/null +++ b/tests/yaml-test-suite/CPZ3/=== @@ -0,0 +1 @@ +Doublequoted scalar starting with a tab diff --git a/tests/yaml-test-suite/CPZ3/in.json b/tests/yaml-test-suite/CPZ3/in.json new file mode 100644 index 0000000..977fceb --- /dev/null +++ b/tests/yaml-test-suite/CPZ3/in.json @@ -0,0 +1,3 @@ +{ + "tab": "\tstring" +} diff --git a/tests/yaml-test-suite/CPZ3/in.yaml b/tests/yaml-test-suite/CPZ3/in.yaml new file mode 100644 index 0000000..082400b --- /dev/null +++ b/tests/yaml-test-suite/CPZ3/in.yaml @@ -0,0 +1,2 @@ +--- +tab: "\tstring" diff --git a/tests/yaml-test-suite/CPZ3/out.yaml b/tests/yaml-test-suite/CPZ3/out.yaml new file mode 100644 index 0000000..082400b --- /dev/null +++ b/tests/yaml-test-suite/CPZ3/out.yaml @@ -0,0 +1,2 @@ +--- +tab: "\tstring" diff --git a/tests/yaml-test-suite/CPZ3/test.event b/tests/yaml-test-suite/CPZ3/test.event new file mode 100644 index 0000000..e83079e --- /dev/null +++ b/tests/yaml-test-suite/CPZ3/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP +=VAL :tab +=VAL "\tstring +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/CQ3W.yaml b/tests/yaml-test-suite/CQ3W.yaml deleted file mode 100644 index a1e614f..0000000 --- a/tests/yaml-test-suite/CQ3W.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Double quoted string without closing quote - from: '@perlpunk' - tags: error double - fail: true - yaml: | - --- - key: "missing closing quote - tree: | - +STR - +DOC --- - +MAP - =VAL :key diff --git a/tests/yaml-test-suite/CQ3W/=== b/tests/yaml-test-suite/CQ3W/=== new file mode 100644 index 0000000..9b3c218 --- /dev/null +++ b/tests/yaml-test-suite/CQ3W/=== @@ -0,0 +1 @@ +Double quoted string without closing quote diff --git a/tests/yaml-test-suite/CQ3W/error b/tests/yaml-test-suite/CQ3W/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/CQ3W/in.yaml b/tests/yaml-test-suite/CQ3W/in.yaml new file mode 100644 index 0000000..c8d7e45 --- /dev/null +++ b/tests/yaml-test-suite/CQ3W/in.yaml @@ -0,0 +1,2 @@ +--- +key: "missing closing quote diff --git a/tests/yaml-test-suite/CQ3W/test.event b/tests/yaml-test-suite/CQ3W/test.event new file mode 100644 index 0000000..a15029a --- /dev/null +++ b/tests/yaml-test-suite/CQ3W/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++MAP +=VAL :key diff --git a/tests/yaml-test-suite/CT4Q.yaml b/tests/yaml-test-suite/CT4Q.yaml deleted file mode 100644 index de1285f..0000000 --- a/tests/yaml-test-suite/CT4Q.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Spec Example 7.20. Single Pair Explicit Entry - from: http://www.yaml.org/spec/1.2/spec.html#id2792424 - tags: explicit-key spec flow mapping - yaml: | - [ - ? foo - bar : baz - ] - tree: | - +STR - +DOC - +SEQ [] - +MAP {} - =VAL :foo bar - =VAL :baz - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "foo bar": "baz" - } - ] - dump: | - - foo bar: baz diff --git a/tests/yaml-test-suite/CT4Q/=== b/tests/yaml-test-suite/CT4Q/=== new file mode 100644 index 0000000..5e5eece --- /dev/null +++ b/tests/yaml-test-suite/CT4Q/=== @@ -0,0 +1 @@ +Spec Example 7.20. Single Pair Explicit Entry diff --git a/tests/yaml-test-suite/CT4Q/in.json b/tests/yaml-test-suite/CT4Q/in.json new file mode 100644 index 0000000..6342cb2 --- /dev/null +++ b/tests/yaml-test-suite/CT4Q/in.json @@ -0,0 +1,5 @@ +[ + { + "foo bar": "baz" + } +] diff --git a/tests/yaml-test-suite/CT4Q/in.yaml b/tests/yaml-test-suite/CT4Q/in.yaml new file mode 100644 index 0000000..19dc4f5 --- /dev/null +++ b/tests/yaml-test-suite/CT4Q/in.yaml @@ -0,0 +1,4 @@ +[ +? foo + bar : baz +] diff --git a/tests/yaml-test-suite/CT4Q/out.yaml b/tests/yaml-test-suite/CT4Q/out.yaml new file mode 100644 index 0000000..16dd26e --- /dev/null +++ b/tests/yaml-test-suite/CT4Q/out.yaml @@ -0,0 +1 @@ +- foo bar: baz diff --git a/tests/yaml-test-suite/CT4Q/test.event b/tests/yaml-test-suite/CT4Q/test.event new file mode 100644 index 0000000..94fcfe0 --- /dev/null +++ b/tests/yaml-test-suite/CT4Q/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ [] ++MAP {} +=VAL :foo bar +=VAL :baz +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/CTN5.yaml b/tests/yaml-test-suite/CTN5.yaml deleted file mode 100644 index 84b0be5..0000000 --- a/tests/yaml-test-suite/CTN5.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Flow sequence with invalid extra comma - from: '@perlpunk' - tags: error flow sequence - fail: true - yaml: | - --- - [ a, b, c, , ] - tree: | - +STR - +DOC --- - +SEQ [] - =VAL :a - =VAL :b - =VAL :c diff --git a/tests/yaml-test-suite/CTN5/=== b/tests/yaml-test-suite/CTN5/=== new file mode 100644 index 0000000..4e73e81 --- /dev/null +++ b/tests/yaml-test-suite/CTN5/=== @@ -0,0 +1 @@ +Flow sequence with invalid extra comma diff --git a/tests/yaml-test-suite/CTN5/error b/tests/yaml-test-suite/CTN5/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/CTN5/in.yaml b/tests/yaml-test-suite/CTN5/in.yaml new file mode 100644 index 0000000..001f836 --- /dev/null +++ b/tests/yaml-test-suite/CTN5/in.yaml @@ -0,0 +1,2 @@ +--- +[ a, b, c, , ] diff --git a/tests/yaml-test-suite/CTN5/test.event b/tests/yaml-test-suite/CTN5/test.event new file mode 100644 index 0000000..0f4c5e1 --- /dev/null +++ b/tests/yaml-test-suite/CTN5/test.event @@ -0,0 +1,6 @@ ++STR ++DOC --- ++SEQ [] +=VAL :a +=VAL :b +=VAL :c diff --git a/tests/yaml-test-suite/CUP7.yaml b/tests/yaml-test-suite/CUP7.yaml deleted file mode 100644 index 10a4f88..0000000 --- a/tests/yaml-test-suite/CUP7.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Spec Example 5.6. Node Property Indicators - from: http://www.yaml.org/spec/1.2/spec.html#id2773402 - tags: local-tag spec tag alias - yaml: | - anchored: !local &anchor value - alias: *anchor - tree: | - +STR - +DOC - +MAP - =VAL :anchored - =VAL &anchor :value - =VAL :alias - =ALI *anchor - -MAP - -DOC - -STR - json: | - { - "anchored": "value", - "alias": "value" - } - dump: | - anchored: &anchor !local value - alias: *anchor diff --git a/tests/yaml-test-suite/CUP7/=== b/tests/yaml-test-suite/CUP7/=== new file mode 100644 index 0000000..64e5bf5 --- /dev/null +++ b/tests/yaml-test-suite/CUP7/=== @@ -0,0 +1 @@ +Spec Example 5.6. Node Property Indicators diff --git a/tests/yaml-test-suite/CUP7/in.json b/tests/yaml-test-suite/CUP7/in.json new file mode 100644 index 0000000..55f1478 --- /dev/null +++ b/tests/yaml-test-suite/CUP7/in.json @@ -0,0 +1,4 @@ +{ + "anchored": "value", + "alias": "value" +} diff --git a/tests/yaml-test-suite/CUP7/in.yaml b/tests/yaml-test-suite/CUP7/in.yaml new file mode 100644 index 0000000..7a1f9b3 --- /dev/null +++ b/tests/yaml-test-suite/CUP7/in.yaml @@ -0,0 +1,2 @@ +anchored: !local &anchor value +alias: *anchor diff --git a/tests/yaml-test-suite/CUP7/out.yaml b/tests/yaml-test-suite/CUP7/out.yaml new file mode 100644 index 0000000..8864c5c --- /dev/null +++ b/tests/yaml-test-suite/CUP7/out.yaml @@ -0,0 +1,2 @@ +anchored: &anchor !local value +alias: *anchor diff --git a/tests/yaml-test-suite/CUP7/test.event b/tests/yaml-test-suite/CUP7/test.event new file mode 100644 index 0000000..9575f21 --- /dev/null +++ b/tests/yaml-test-suite/CUP7/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :anchored +=VAL &anchor :value +=VAL :alias +=ALI *anchor +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/CVW2.yaml b/tests/yaml-test-suite/CVW2.yaml deleted file mode 100644 index 786ba11..0000000 --- a/tests/yaml-test-suite/CVW2.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Invalid comment after comma - from: '@perlpunk' - tags: comment error flow sequence - fail: true - yaml: | - --- - [ a, b, c,#invalid - ] - tree: | - +STR - +DOC --- - +SEQ [] - =VAL :a - =VAL :b - =VAL :c diff --git a/tests/yaml-test-suite/CVW2/=== b/tests/yaml-test-suite/CVW2/=== new file mode 100644 index 0000000..4da90cc --- /dev/null +++ b/tests/yaml-test-suite/CVW2/=== @@ -0,0 +1 @@ +Invalid comment after comma diff --git a/tests/yaml-test-suite/CVW2/error b/tests/yaml-test-suite/CVW2/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/CVW2/in.yaml b/tests/yaml-test-suite/CVW2/in.yaml new file mode 100644 index 0000000..0f185f0 --- /dev/null +++ b/tests/yaml-test-suite/CVW2/in.yaml @@ -0,0 +1,3 @@ +--- +[ a, b, c,#invalid +] diff --git a/tests/yaml-test-suite/CVW2/test.event b/tests/yaml-test-suite/CVW2/test.event new file mode 100644 index 0000000..0f4c5e1 --- /dev/null +++ b/tests/yaml-test-suite/CVW2/test.event @@ -0,0 +1,6 @@ ++STR ++DOC --- ++SEQ [] +=VAL :a +=VAL :b +=VAL :c diff --git a/tests/yaml-test-suite/CXX2.yaml b/tests/yaml-test-suite/CXX2.yaml deleted file mode 100644 index 31fda0a..0000000 --- a/tests/yaml-test-suite/CXX2.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: Mapping with anchor on document start line - from: '@perlpunk' - tags: anchor error header mapping - fail: true - yaml: | - --- &anchor a: b - tree: | - +STR - +DOC --- diff --git a/tests/yaml-test-suite/CXX2/=== b/tests/yaml-test-suite/CXX2/=== new file mode 100644 index 0000000..1f9eec3 --- /dev/null +++ b/tests/yaml-test-suite/CXX2/=== @@ -0,0 +1 @@ +Mapping with anchor on document start line diff --git a/tests/yaml-test-suite/CXX2/error b/tests/yaml-test-suite/CXX2/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/CXX2/in.yaml b/tests/yaml-test-suite/CXX2/in.yaml new file mode 100644 index 0000000..9c00120 --- /dev/null +++ b/tests/yaml-test-suite/CXX2/in.yaml @@ -0,0 +1 @@ +--- &anchor a: b diff --git a/tests/yaml-test-suite/CXX2/test.event b/tests/yaml-test-suite/CXX2/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/CXX2/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/D49Q.yaml b/tests/yaml-test-suite/D49Q.yaml deleted file mode 100644 index 0c32fd1..0000000 --- a/tests/yaml-test-suite/D49Q.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Multiline single quoted implicit keys - from: '@perlpunk' - tags: error single mapping - fail: true - yaml: | - 'a\nb': 1 - 'c - d': 1 - tree: | - +STR - +DOC - +MAP - =VAL 'a\\nb - =VAL :1 diff --git a/tests/yaml-test-suite/D49Q/=== b/tests/yaml-test-suite/D49Q/=== new file mode 100644 index 0000000..1cd8ef9 --- /dev/null +++ b/tests/yaml-test-suite/D49Q/=== @@ -0,0 +1 @@ +Multiline single quoted implicit keys diff --git a/tests/yaml-test-suite/D49Q/error b/tests/yaml-test-suite/D49Q/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/D49Q/in.yaml b/tests/yaml-test-suite/D49Q/in.yaml new file mode 100644 index 0000000..edd180a --- /dev/null +++ b/tests/yaml-test-suite/D49Q/in.yaml @@ -0,0 +1,3 @@ +'a\nb': 1 +'c + d': 1 diff --git a/tests/yaml-test-suite/D49Q/test.event b/tests/yaml-test-suite/D49Q/test.event new file mode 100644 index 0000000..c38deb4 --- /dev/null +++ b/tests/yaml-test-suite/D49Q/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL 'a\\nb +=VAL :1 diff --git a/tests/yaml-test-suite/D83L.yaml b/tests/yaml-test-suite/D83L.yaml deleted file mode 100644 index be87a1f..0000000 --- a/tests/yaml-test-suite/D83L.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Block scalar indicator order - from: '@perlpunk' - tags: indent literal - yaml: | - - |2- - explicit indent and chomp - - |-2 - chomp and explicit indent - tree: | - +STR - +DOC - +SEQ - =VAL |explicit indent and chomp - =VAL |chomp and explicit indent - -SEQ - -DOC - -STR - json: | - [ - "explicit indent and chomp", - "chomp and explicit indent" - ] - dump: | - - |- - explicit indent and chomp - - |- - chomp and explicit indent diff --git a/tests/yaml-test-suite/D83L/=== b/tests/yaml-test-suite/D83L/=== new file mode 100644 index 0000000..4116e9b --- /dev/null +++ b/tests/yaml-test-suite/D83L/=== @@ -0,0 +1 @@ +Block scalar indicator order diff --git a/tests/yaml-test-suite/D83L/in.json b/tests/yaml-test-suite/D83L/in.json new file mode 100644 index 0000000..179dcbd --- /dev/null +++ b/tests/yaml-test-suite/D83L/in.json @@ -0,0 +1,4 @@ +[ + "explicit indent and chomp", + "chomp and explicit indent" +] diff --git a/tests/yaml-test-suite/D83L/in.yaml b/tests/yaml-test-suite/D83L/in.yaml new file mode 100644 index 0000000..3d603d1 --- /dev/null +++ b/tests/yaml-test-suite/D83L/in.yaml @@ -0,0 +1,4 @@ +- |2- + explicit indent and chomp +- |-2 + chomp and explicit indent diff --git a/tests/yaml-test-suite/D83L/out.yaml b/tests/yaml-test-suite/D83L/out.yaml new file mode 100644 index 0000000..3270084 --- /dev/null +++ b/tests/yaml-test-suite/D83L/out.yaml @@ -0,0 +1,4 @@ +- |- + explicit indent and chomp +- |- + chomp and explicit indent diff --git a/tests/yaml-test-suite/D83L/test.event b/tests/yaml-test-suite/D83L/test.event new file mode 100644 index 0000000..a32aecd --- /dev/null +++ b/tests/yaml-test-suite/D83L/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++SEQ +=VAL |explicit indent and chomp +=VAL |chomp and explicit indent +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/D88J.yaml b/tests/yaml-test-suite/D88J.yaml deleted file mode 100644 index a69a0e2..0000000 --- a/tests/yaml-test-suite/D88J.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Flow Sequence in Block Mapping - from: NimYAML tests - tags: flow sequence mapping - yaml: | - a: [b, c] - tree: | - +STR - +DOC - +MAP - =VAL :a - +SEQ [] - =VAL :b - =VAL :c - -SEQ - -MAP - -DOC - -STR - json: | - { - "a": [ - "b", - "c" - ] - } - dump: | - a: - - b - - c diff --git a/tests/yaml-test-suite/D88J/=== b/tests/yaml-test-suite/D88J/=== new file mode 100644 index 0000000..8a737d3 --- /dev/null +++ b/tests/yaml-test-suite/D88J/=== @@ -0,0 +1 @@ +Flow Sequence in Block Mapping diff --git a/tests/yaml-test-suite/D88J/in.json b/tests/yaml-test-suite/D88J/in.json new file mode 100644 index 0000000..93f2131 --- /dev/null +++ b/tests/yaml-test-suite/D88J/in.json @@ -0,0 +1,6 @@ +{ + "a": [ + "b", + "c" + ] +} diff --git a/tests/yaml-test-suite/D88J/in.yaml b/tests/yaml-test-suite/D88J/in.yaml new file mode 100644 index 0000000..8238fdf --- /dev/null +++ b/tests/yaml-test-suite/D88J/in.yaml @@ -0,0 +1 @@ +a: [b, c] diff --git a/tests/yaml-test-suite/D88J/out.yaml b/tests/yaml-test-suite/D88J/out.yaml new file mode 100644 index 0000000..f1b822c --- /dev/null +++ b/tests/yaml-test-suite/D88J/out.yaml @@ -0,0 +1,3 @@ +a: +- b +- c diff --git a/tests/yaml-test-suite/D88J/test.event b/tests/yaml-test-suite/D88J/test.event new file mode 100644 index 0000000..367b87c --- /dev/null +++ b/tests/yaml-test-suite/D88J/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++MAP +=VAL :a ++SEQ [] +=VAL :b +=VAL :c +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/D9TU.yaml b/tests/yaml-test-suite/D9TU.yaml deleted file mode 100644 index 21fb988..0000000 --- a/tests/yaml-test-suite/D9TU.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: Single Pair Block Mapping - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/mapping.tml - tags: simple mapping - yaml: | - foo: bar - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :bar - -MAP - -DOC - -STR - json: | - { - "foo": "bar" - } diff --git a/tests/yaml-test-suite/D9TU/=== b/tests/yaml-test-suite/D9TU/=== new file mode 100644 index 0000000..f076b0a --- /dev/null +++ b/tests/yaml-test-suite/D9TU/=== @@ -0,0 +1 @@ +Single Pair Block Mapping diff --git a/tests/yaml-test-suite/D9TU/in.json b/tests/yaml-test-suite/D9TU/in.json new file mode 100644 index 0000000..c8c4105 --- /dev/null +++ b/tests/yaml-test-suite/D9TU/in.json @@ -0,0 +1,3 @@ +{ + "foo": "bar" +} diff --git a/tests/yaml-test-suite/D9TU/in.yaml b/tests/yaml-test-suite/D9TU/in.yaml new file mode 100644 index 0000000..20e9ff3 --- /dev/null +++ b/tests/yaml-test-suite/D9TU/in.yaml @@ -0,0 +1 @@ +foo: bar diff --git a/tests/yaml-test-suite/D9TU/test.event b/tests/yaml-test-suite/D9TU/test.event new file mode 100644 index 0000000..bb745c2 --- /dev/null +++ b/tests/yaml-test-suite/D9TU/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DBG4.yaml b/tests/yaml-test-suite/DBG4.yaml deleted file mode 100644 index 304d834..0000000 --- a/tests/yaml-test-suite/DBG4.yaml +++ /dev/null @@ -1,62 +0,0 @@ ---- -- name: Spec Example 7.10. Plain Characters - from: http://www.yaml.org/spec/1.2/spec.html#id2789510 - tags: spec flow sequence scalar - yaml: | - # Outside flow collection: - - ::vector - - ": - ()" - - Up, up, and away! - - -123 - - http://example.com/foo#bar - # Inside flow collection: - - [ ::vector, - ": - ()", - "Up, up and away!", - -123, - http://example.com/foo#bar ] - tree: | - +STR - +DOC - +SEQ - =VAL :::vector - =VAL ": - () - =VAL :Up, up, and away! - =VAL :-123 - =VAL :http://example.com/foo#bar - +SEQ [] - =VAL :::vector - =VAL ": - () - =VAL "Up, up and away! - =VAL :-123 - =VAL :http://example.com/foo#bar - -SEQ - -SEQ - -DOC - -STR - json: | - [ - "::vector", - ": - ()", - "Up, up, and away!", - -123, - "http://example.com/foo#bar", - [ - "::vector", - ": - ()", - "Up, up and away!", - -123, - "http://example.com/foo#bar" - ] - ] - dump: | - - ::vector - - ": - ()" - - Up, up, and away! - - -123 - - http://example.com/foo#bar - - - ::vector - - ": - ()" - - "Up, up and away!" - - -123 - - http://example.com/foo#bar diff --git a/tests/yaml-test-suite/DBG4/=== b/tests/yaml-test-suite/DBG4/=== new file mode 100644 index 0000000..cb5bc43 --- /dev/null +++ b/tests/yaml-test-suite/DBG4/=== @@ -0,0 +1 @@ +Spec Example 7.10. Plain Characters diff --git a/tests/yaml-test-suite/DBG4/in.json b/tests/yaml-test-suite/DBG4/in.json new file mode 100644 index 0000000..a90aeee --- /dev/null +++ b/tests/yaml-test-suite/DBG4/in.json @@ -0,0 +1,14 @@ +[ + "::vector", + ": - ()", + "Up, up, and away!", + -123, + "http://example.com/foo#bar", + [ + "::vector", + ": - ()", + "Up, up and away!", + -123, + "http://example.com/foo#bar" + ] +] diff --git a/tests/yaml-test-suite/DBG4/in.yaml b/tests/yaml-test-suite/DBG4/in.yaml new file mode 100644 index 0000000..7ed369f --- /dev/null +++ b/tests/yaml-test-suite/DBG4/in.yaml @@ -0,0 +1,12 @@ +# Outside flow collection: +- ::vector +- ": - ()" +- Up, up, and away! +- -123 +- http://example.com/foo#bar +# Inside flow collection: +- [ ::vector, + ": - ()", + "Up, up and away!", + -123, + http://example.com/foo#bar ] diff --git a/tests/yaml-test-suite/DBG4/out.yaml b/tests/yaml-test-suite/DBG4/out.yaml new file mode 100644 index 0000000..f287243 --- /dev/null +++ b/tests/yaml-test-suite/DBG4/out.yaml @@ -0,0 +1,10 @@ +- ::vector +- ": - ()" +- Up, up, and away! +- -123 +- http://example.com/foo#bar +- - ::vector + - ": - ()" + - "Up, up and away!" + - -123 + - http://example.com/foo#bar diff --git a/tests/yaml-test-suite/DBG4/test.event b/tests/yaml-test-suite/DBG4/test.event new file mode 100644 index 0000000..d4d36d5 --- /dev/null +++ b/tests/yaml-test-suite/DBG4/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++SEQ +=VAL :::vector +=VAL ": - () +=VAL :Up, up, and away! +=VAL :-123 +=VAL :http://example.com/foo#bar ++SEQ [] +=VAL :::vector +=VAL ": - () +=VAL "Up, up and away! +=VAL :-123 +=VAL :http://example.com/foo#bar +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/DC7X.yaml b/tests/yaml-test-suite/DC7X.yaml deleted file mode 100644 index ada199e..0000000 --- a/tests/yaml-test-suite/DC7X.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Various trailing tabs - from: '@perlpunk' - tags: comment whitespace - yaml: | - a: b———» - seq:———» - - a———» - c: d———»#X - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL :b - =VAL :seq - +SEQ - =VAL :a - -SEQ - =VAL :c - =VAL :d - -MAP - -DOC - -STR - json: | - { - "a": "b", - "seq": [ - "a" - ], - "c": "d" - } - dump: | - a: b - seq: - - a - c: d diff --git a/tests/yaml-test-suite/DC7X/=== b/tests/yaml-test-suite/DC7X/=== new file mode 100644 index 0000000..92980f0 --- /dev/null +++ b/tests/yaml-test-suite/DC7X/=== @@ -0,0 +1 @@ +Various trailing tabs diff --git a/tests/yaml-test-suite/DC7X/in.json b/tests/yaml-test-suite/DC7X/in.json new file mode 100644 index 0000000..f76eb33 --- /dev/null +++ b/tests/yaml-test-suite/DC7X/in.json @@ -0,0 +1,7 @@ +{ + "a": "b", + "seq": [ + "a" + ], + "c": "d" +} diff --git a/tests/yaml-test-suite/DC7X/in.yaml b/tests/yaml-test-suite/DC7X/in.yaml new file mode 100644 index 0000000..42ad1a9 --- /dev/null +++ b/tests/yaml-test-suite/DC7X/in.yaml @@ -0,0 +1,4 @@ +a: b +seq: + - a +c: d #X diff --git a/tests/yaml-test-suite/DC7X/out.yaml b/tests/yaml-test-suite/DC7X/out.yaml new file mode 100644 index 0000000..b0a33bd --- /dev/null +++ b/tests/yaml-test-suite/DC7X/out.yaml @@ -0,0 +1,4 @@ +a: b +seq: +- a +c: d diff --git a/tests/yaml-test-suite/DC7X/test.event b/tests/yaml-test-suite/DC7X/test.event new file mode 100644 index 0000000..8c8a18b --- /dev/null +++ b/tests/yaml-test-suite/DC7X/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL :b +=VAL :seq ++SEQ +=VAL :a +-SEQ +=VAL :c +=VAL :d +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DE56.yaml b/tests/yaml-test-suite/DE56.yaml deleted file mode 100644 index 74f5b52..0000000 --- a/tests/yaml-test-suite/DE56.yaml +++ /dev/null @@ -1,87 +0,0 @@ ---- -- name: Trailing tabs in double quoted - from: '@ingydotnet' - tags: double whitespace - yaml: | - "1 trailing\t - tab" - tree: | - +STR - +DOC - =VAL "1 trailing\t tab - -DOC - -STR - json: | - "1 trailing\t tab" - dump: | - "1 trailing\t tab" - -- yaml: | - "2 trailing\t␣␣ - tab" - tree: | - +STR - +DOC - =VAL "2 trailing\t tab - -DOC - -STR - json: | - "2 trailing\t tab" - dump: | - "2 trailing\t tab" - -- yaml: | - "3 trailing\————» - tab" - tree: | - +STR - +DOC - =VAL "3 trailing\t tab - -DOC - -STR - json: | - "3 trailing\t tab" - dump: | - "3 trailing\t tab" - -- yaml: | - "4 trailing\————»␣␣ - tab" - tree: | - +STR - +DOC - =VAL "4 trailing\t tab - -DOC - -STR - json: | - "4 trailing\t tab" - dump: | - "4 trailing\t tab" - -- yaml: | - "5 trailing—» - tab" - tree: | - +STR - +DOC - =VAL "5 trailing tab - -DOC - -STR - json: | - "5 trailing tab" - dump: | - "5 trailing tab" - -- yaml: | - "6 trailing—»␣␣ - tab" - tree: | - +STR - +DOC - =VAL "6 trailing tab - -DOC - -STR - json: | - "6 trailing tab" - dump: | - "6 trailing tab" diff --git a/tests/yaml-test-suite/DE56/00/=== b/tests/yaml-test-suite/DE56/00/=== new file mode 100644 index 0000000..b0dfeb4 --- /dev/null +++ b/tests/yaml-test-suite/DE56/00/=== @@ -0,0 +1 @@ +Trailing tabs in double quoted diff --git a/tests/yaml-test-suite/DE56/00/in.json b/tests/yaml-test-suite/DE56/00/in.json new file mode 100644 index 0000000..03179cd --- /dev/null +++ b/tests/yaml-test-suite/DE56/00/in.json @@ -0,0 +1 @@ +"1 trailing\t tab" diff --git a/tests/yaml-test-suite/DE56/00/in.yaml b/tests/yaml-test-suite/DE56/00/in.yaml new file mode 100644 index 0000000..a235094 --- /dev/null +++ b/tests/yaml-test-suite/DE56/00/in.yaml @@ -0,0 +1,2 @@ +"1 trailing\t + tab" diff --git a/tests/yaml-test-suite/DE56/00/out.yaml b/tests/yaml-test-suite/DE56/00/out.yaml new file mode 100644 index 0000000..03179cd --- /dev/null +++ b/tests/yaml-test-suite/DE56/00/out.yaml @@ -0,0 +1 @@ +"1 trailing\t tab" diff --git a/tests/yaml-test-suite/DE56/00/test.event b/tests/yaml-test-suite/DE56/00/test.event new file mode 100644 index 0000000..9737ff8 --- /dev/null +++ b/tests/yaml-test-suite/DE56/00/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "1 trailing\t tab +-DOC +-STR diff --git a/tests/yaml-test-suite/DE56/01/=== b/tests/yaml-test-suite/DE56/01/=== new file mode 100644 index 0000000..b0dfeb4 --- /dev/null +++ b/tests/yaml-test-suite/DE56/01/=== @@ -0,0 +1 @@ +Trailing tabs in double quoted diff --git a/tests/yaml-test-suite/DE56/01/in.json b/tests/yaml-test-suite/DE56/01/in.json new file mode 100644 index 0000000..ade6481 --- /dev/null +++ b/tests/yaml-test-suite/DE56/01/in.json @@ -0,0 +1 @@ +"2 trailing\t tab" diff --git a/tests/yaml-test-suite/DE56/01/in.yaml b/tests/yaml-test-suite/DE56/01/in.yaml new file mode 100644 index 0000000..006f12a --- /dev/null +++ b/tests/yaml-test-suite/DE56/01/in.yaml @@ -0,0 +1,2 @@ +"2 trailing\t + tab" diff --git a/tests/yaml-test-suite/DE56/01/out.yaml b/tests/yaml-test-suite/DE56/01/out.yaml new file mode 100644 index 0000000..ade6481 --- /dev/null +++ b/tests/yaml-test-suite/DE56/01/out.yaml @@ -0,0 +1 @@ +"2 trailing\t tab" diff --git a/tests/yaml-test-suite/DE56/01/test.event b/tests/yaml-test-suite/DE56/01/test.event new file mode 100644 index 0000000..c288aea --- /dev/null +++ b/tests/yaml-test-suite/DE56/01/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "2 trailing\t tab +-DOC +-STR diff --git a/tests/yaml-test-suite/DE56/02/=== b/tests/yaml-test-suite/DE56/02/=== new file mode 100644 index 0000000..b0dfeb4 --- /dev/null +++ b/tests/yaml-test-suite/DE56/02/=== @@ -0,0 +1 @@ +Trailing tabs in double quoted diff --git a/tests/yaml-test-suite/DE56/02/in.json b/tests/yaml-test-suite/DE56/02/in.json new file mode 100644 index 0000000..611058e --- /dev/null +++ b/tests/yaml-test-suite/DE56/02/in.json @@ -0,0 +1 @@ +"3 trailing\t tab" diff --git a/tests/yaml-test-suite/DE56/02/in.yaml b/tests/yaml-test-suite/DE56/02/in.yaml new file mode 100644 index 0000000..b06a045 --- /dev/null +++ b/tests/yaml-test-suite/DE56/02/in.yaml @@ -0,0 +1,2 @@ +"3 trailing\ + tab" diff --git a/tests/yaml-test-suite/DE56/02/out.yaml b/tests/yaml-test-suite/DE56/02/out.yaml new file mode 100644 index 0000000..611058e --- /dev/null +++ b/tests/yaml-test-suite/DE56/02/out.yaml @@ -0,0 +1 @@ +"3 trailing\t tab" diff --git a/tests/yaml-test-suite/DE56/02/test.event b/tests/yaml-test-suite/DE56/02/test.event new file mode 100644 index 0000000..3d461f5 --- /dev/null +++ b/tests/yaml-test-suite/DE56/02/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "3 trailing\t tab +-DOC +-STR diff --git a/tests/yaml-test-suite/DE56/03/=== b/tests/yaml-test-suite/DE56/03/=== new file mode 100644 index 0000000..b0dfeb4 --- /dev/null +++ b/tests/yaml-test-suite/DE56/03/=== @@ -0,0 +1 @@ +Trailing tabs in double quoted diff --git a/tests/yaml-test-suite/DE56/03/in.json b/tests/yaml-test-suite/DE56/03/in.json new file mode 100644 index 0000000..388f4e4 --- /dev/null +++ b/tests/yaml-test-suite/DE56/03/in.json @@ -0,0 +1 @@ +"4 trailing\t tab" diff --git a/tests/yaml-test-suite/DE56/03/in.yaml b/tests/yaml-test-suite/DE56/03/in.yaml new file mode 100644 index 0000000..13694b0 --- /dev/null +++ b/tests/yaml-test-suite/DE56/03/in.yaml @@ -0,0 +1,2 @@ +"4 trailing\ + tab" diff --git a/tests/yaml-test-suite/DE56/03/out.yaml b/tests/yaml-test-suite/DE56/03/out.yaml new file mode 100644 index 0000000..388f4e4 --- /dev/null +++ b/tests/yaml-test-suite/DE56/03/out.yaml @@ -0,0 +1 @@ +"4 trailing\t tab" diff --git a/tests/yaml-test-suite/DE56/03/test.event b/tests/yaml-test-suite/DE56/03/test.event new file mode 100644 index 0000000..3ad2c5e --- /dev/null +++ b/tests/yaml-test-suite/DE56/03/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "4 trailing\t tab +-DOC +-STR diff --git a/tests/yaml-test-suite/DE56/04/=== b/tests/yaml-test-suite/DE56/04/=== new file mode 100644 index 0000000..b0dfeb4 --- /dev/null +++ b/tests/yaml-test-suite/DE56/04/=== @@ -0,0 +1 @@ +Trailing tabs in double quoted diff --git a/tests/yaml-test-suite/DE56/04/in.json b/tests/yaml-test-suite/DE56/04/in.json new file mode 100644 index 0000000..c83327d --- /dev/null +++ b/tests/yaml-test-suite/DE56/04/in.json @@ -0,0 +1 @@ +"5 trailing tab" diff --git a/tests/yaml-test-suite/DE56/04/in.yaml b/tests/yaml-test-suite/DE56/04/in.yaml new file mode 100644 index 0000000..5f8ff1c --- /dev/null +++ b/tests/yaml-test-suite/DE56/04/in.yaml @@ -0,0 +1,2 @@ +"5 trailing + tab" diff --git a/tests/yaml-test-suite/DE56/04/out.yaml b/tests/yaml-test-suite/DE56/04/out.yaml new file mode 100644 index 0000000..c83327d --- /dev/null +++ b/tests/yaml-test-suite/DE56/04/out.yaml @@ -0,0 +1 @@ +"5 trailing tab" diff --git a/tests/yaml-test-suite/DE56/04/test.event b/tests/yaml-test-suite/DE56/04/test.event new file mode 100644 index 0000000..59b53ff --- /dev/null +++ b/tests/yaml-test-suite/DE56/04/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "5 trailing tab +-DOC +-STR diff --git a/tests/yaml-test-suite/DE56/05/=== b/tests/yaml-test-suite/DE56/05/=== new file mode 100644 index 0000000..b0dfeb4 --- /dev/null +++ b/tests/yaml-test-suite/DE56/05/=== @@ -0,0 +1 @@ +Trailing tabs in double quoted diff --git a/tests/yaml-test-suite/DE56/05/in.json b/tests/yaml-test-suite/DE56/05/in.json new file mode 100644 index 0000000..56138d1 --- /dev/null +++ b/tests/yaml-test-suite/DE56/05/in.json @@ -0,0 +1 @@ +"6 trailing tab" diff --git a/tests/yaml-test-suite/DE56/05/in.yaml b/tests/yaml-test-suite/DE56/05/in.yaml new file mode 100644 index 0000000..f25a33a --- /dev/null +++ b/tests/yaml-test-suite/DE56/05/in.yaml @@ -0,0 +1,2 @@ +"6 trailing + tab" diff --git a/tests/yaml-test-suite/DE56/05/out.yaml b/tests/yaml-test-suite/DE56/05/out.yaml new file mode 100644 index 0000000..56138d1 --- /dev/null +++ b/tests/yaml-test-suite/DE56/05/out.yaml @@ -0,0 +1 @@ +"6 trailing tab" diff --git a/tests/yaml-test-suite/DE56/05/test.event b/tests/yaml-test-suite/DE56/05/test.event new file mode 100644 index 0000000..80b5588 --- /dev/null +++ b/tests/yaml-test-suite/DE56/05/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "6 trailing tab +-DOC +-STR diff --git a/tests/yaml-test-suite/DFF7.yaml b/tests/yaml-test-suite/DFF7.yaml deleted file mode 100644 index d081f31..0000000 --- a/tests/yaml-test-suite/DFF7.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Spec Example 7.16. Flow Mapping Entries - from: http://www.yaml.org/spec/1.2/spec.html#id2791260 - tags: explicit-key spec flow mapping - yaml: | - { - ? explicit: entry, - implicit: entry, - ? - } - tree: | - +STR - +DOC - +MAP {} - =VAL :explicit - =VAL :entry - =VAL :implicit - =VAL :entry - =VAL : - =VAL : - -MAP - -DOC - -STR - dump: | - explicit: entry - implicit: entry - : diff --git a/tests/yaml-test-suite/DFF7/=== b/tests/yaml-test-suite/DFF7/=== new file mode 100644 index 0000000..147c34b --- /dev/null +++ b/tests/yaml-test-suite/DFF7/=== @@ -0,0 +1 @@ +Spec Example 7.16. Flow Mapping Entries diff --git a/tests/yaml-test-suite/DFF7/in.yaml b/tests/yaml-test-suite/DFF7/in.yaml new file mode 100644 index 0000000..cb84a99 --- /dev/null +++ b/tests/yaml-test-suite/DFF7/in.yaml @@ -0,0 +1,5 @@ +{ +? explicit: entry, +implicit: entry, +? +} diff --git a/tests/yaml-test-suite/DFF7/out.yaml b/tests/yaml-test-suite/DFF7/out.yaml new file mode 100644 index 0000000..1ea594f --- /dev/null +++ b/tests/yaml-test-suite/DFF7/out.yaml @@ -0,0 +1,3 @@ +explicit: entry +implicit: entry +: diff --git a/tests/yaml-test-suite/DFF7/test.event b/tests/yaml-test-suite/DFF7/test.event new file mode 100644 index 0000000..56987cb --- /dev/null +++ b/tests/yaml-test-suite/DFF7/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP {} +=VAL :explicit +=VAL :entry +=VAL :implicit +=VAL :entry +=VAL : +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DHP8.yaml b/tests/yaml-test-suite/DHP8.yaml deleted file mode 100644 index b3c25da..0000000 --- a/tests/yaml-test-suite/DHP8.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Flow Sequence - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/sequence.tml - tags: flow sequence - yaml: | - [foo, bar, 42] - tree: | - +STR - +DOC - +SEQ [] - =VAL :foo - =VAL :bar - =VAL :42 - -SEQ - -DOC - -STR - json: | - [ - "foo", - "bar", - 42 - ] - dump: | - - foo - - bar - - 42 diff --git a/tests/yaml-test-suite/DHP8/=== b/tests/yaml-test-suite/DHP8/=== new file mode 100644 index 0000000..47d439b --- /dev/null +++ b/tests/yaml-test-suite/DHP8/=== @@ -0,0 +1 @@ +Flow Sequence diff --git a/tests/yaml-test-suite/DHP8/in.json b/tests/yaml-test-suite/DHP8/in.json new file mode 100644 index 0000000..1866413 --- /dev/null +++ b/tests/yaml-test-suite/DHP8/in.json @@ -0,0 +1,5 @@ +[ + "foo", + "bar", + 42 +] diff --git a/tests/yaml-test-suite/DHP8/in.yaml b/tests/yaml-test-suite/DHP8/in.yaml new file mode 100644 index 0000000..bf34158 --- /dev/null +++ b/tests/yaml-test-suite/DHP8/in.yaml @@ -0,0 +1 @@ +[foo, bar, 42] diff --git a/tests/yaml-test-suite/DHP8/out.yaml b/tests/yaml-test-suite/DHP8/out.yaml new file mode 100644 index 0000000..5fae9f4 --- /dev/null +++ b/tests/yaml-test-suite/DHP8/out.yaml @@ -0,0 +1,3 @@ +- foo +- bar +- 42 diff --git a/tests/yaml-test-suite/DHP8/test.event b/tests/yaml-test-suite/DHP8/test.event new file mode 100644 index 0000000..29ed61c --- /dev/null +++ b/tests/yaml-test-suite/DHP8/test.event @@ -0,0 +1,9 @@ ++STR ++DOC ++SEQ [] +=VAL :foo +=VAL :bar +=VAL :42 +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/DK3J.yaml b/tests/yaml-test-suite/DK3J.yaml deleted file mode 100644 index fc01be3..0000000 --- a/tests/yaml-test-suite/DK3J.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Zero indented block scalar with line that looks like a comment - from: '@perlpunk' - tags: comment folded scalar - yaml: | - --- > - line1 - # no comment - line3 - tree: | - +STR - +DOC --- - =VAL >line1 # no comment line3\n - -DOC - -STR - json: | - "line1 # no comment line3\n" - dump: | - --- > - line1 # no comment line3 diff --git a/tests/yaml-test-suite/DK3J/=== b/tests/yaml-test-suite/DK3J/=== new file mode 100644 index 0000000..2e8ee56 --- /dev/null +++ b/tests/yaml-test-suite/DK3J/=== @@ -0,0 +1 @@ +Zero indented block scalar with line that looks like a comment diff --git a/tests/yaml-test-suite/DK3J/in.json b/tests/yaml-test-suite/DK3J/in.json new file mode 100644 index 0000000..ce8e836 --- /dev/null +++ b/tests/yaml-test-suite/DK3J/in.json @@ -0,0 +1 @@ +"line1 # no comment line3\n" diff --git a/tests/yaml-test-suite/DK3J/in.yaml b/tests/yaml-test-suite/DK3J/in.yaml new file mode 100644 index 0000000..ffb9aeb --- /dev/null +++ b/tests/yaml-test-suite/DK3J/in.yaml @@ -0,0 +1,4 @@ +--- > +line1 +# no comment +line3 diff --git a/tests/yaml-test-suite/DK3J/out.yaml b/tests/yaml-test-suite/DK3J/out.yaml new file mode 100644 index 0000000..e196aa2 --- /dev/null +++ b/tests/yaml-test-suite/DK3J/out.yaml @@ -0,0 +1,2 @@ +--- > + line1 # no comment line3 diff --git a/tests/yaml-test-suite/DK3J/test.event b/tests/yaml-test-suite/DK3J/test.event new file mode 100644 index 0000000..425f108 --- /dev/null +++ b/tests/yaml-test-suite/DK3J/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL >line1 # no comment line3\n +-DOC +-STR diff --git a/tests/yaml-test-suite/DK4H.yaml b/tests/yaml-test-suite/DK4H.yaml deleted file mode 100644 index 558e468..0000000 --- a/tests/yaml-test-suite/DK4H.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Implicit key followed by newline - from: '@perlpunk' - tags: error flow mapping sequence - fail: true - yaml: | - --- - [ key - : value ] - tree: | - +STR - +DOC --- - +SEQ [] - =VAL :key diff --git a/tests/yaml-test-suite/DK4H/=== b/tests/yaml-test-suite/DK4H/=== new file mode 100644 index 0000000..b9ff2b1 --- /dev/null +++ b/tests/yaml-test-suite/DK4H/=== @@ -0,0 +1 @@ +Implicit key followed by newline diff --git a/tests/yaml-test-suite/DK4H/error b/tests/yaml-test-suite/DK4H/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/DK4H/in.yaml b/tests/yaml-test-suite/DK4H/in.yaml new file mode 100644 index 0000000..c7a31c9 --- /dev/null +++ b/tests/yaml-test-suite/DK4H/in.yaml @@ -0,0 +1,3 @@ +--- +[ key + : value ] diff --git a/tests/yaml-test-suite/DK4H/test.event b/tests/yaml-test-suite/DK4H/test.event new file mode 100644 index 0000000..a0d1e7b --- /dev/null +++ b/tests/yaml-test-suite/DK4H/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++SEQ [] +=VAL :key diff --git a/tests/yaml-test-suite/DK95.yaml b/tests/yaml-test-suite/DK95.yaml deleted file mode 100644 index eb80249..0000000 --- a/tests/yaml-test-suite/DK95.yaml +++ /dev/null @@ -1,172 +0,0 @@ ---- -- name: Tabs that look like indentation - from: '@ingydotnet' - tags: indent whitespace - yaml: | - foo: - ———»bar - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :bar - -MAP - -DOC - -STR - json: | - { - "foo" : "bar" - } - emit: | - --- - foo: bar - -- fail: true - yaml: | - foo: "bar - ————»baz" - tree: | - +STR - +DOC - +MAP - =VAL :foo - -- yaml: | - foo: "bar - ——»baz" - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL "bar baz - -MAP - -DOC - -STR - json: | - { - "foo" : "bar baz" - } - emit: | - --- - foo: "bar baz" - -- yaml: |2 - ———» - foo: 1 - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :1 - -MAP - -DOC - -STR - json: | - { - "foo" : 1 - } - emit: | - --- - foo: 1 - -- yaml: | - foo: 1 - ————» - bar: 2 - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :1 - =VAL :bar - =VAL :2 - -MAP - -DOC - -STR - json: | - { - "foo" : 1, - "bar" : 2 - } - emit: | - --- - foo: 1 - bar: 2 - -- yaml: | - foo: 1 - ———» - bar: 2 - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :1 - =VAL :bar - =VAL :2 - -MAP - -DOC - -STR - json: | - { - "foo" : 1, - "bar" : 2 - } - emit: | - --- - foo: 1 - bar: 2 - -- fail: true - yaml: | - foo: - a: 1 - ——»b: 2 - tree: | - +STR - +DOC - +MAP - =VAL :foo - +MAP - =VAL :a - =VAL :1 - -- yaml: | - %YAML 1.2 - ————» - --- - tree: | - +STR - +DOC --- - =VAL : - -DOC - -STR - json: | - null - emit: | - --- null - -- yaml: | - foo: "bar - ———» ——» baz ——» ——» " - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL "bar baz \t \t␣ - -MAP - -DOC - -STR - json: | - { - "foo" : "bar baz \t \t " - } - emit: | - --- - foo: "bar baz \t \t " diff --git a/tests/yaml-test-suite/DK95/00/=== b/tests/yaml-test-suite/DK95/00/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/00/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/00/emit.yaml b/tests/yaml-test-suite/DK95/00/emit.yaml new file mode 100644 index 0000000..23809fe --- /dev/null +++ b/tests/yaml-test-suite/DK95/00/emit.yaml @@ -0,0 +1,2 @@ +--- +foo: bar diff --git a/tests/yaml-test-suite/DK95/00/in.json b/tests/yaml-test-suite/DK95/00/in.json new file mode 100644 index 0000000..d7b2eeb --- /dev/null +++ b/tests/yaml-test-suite/DK95/00/in.json @@ -0,0 +1,3 @@ +{ + "foo" : "bar" +} diff --git a/tests/yaml-test-suite/DK95/00/in.yaml b/tests/yaml-test-suite/DK95/00/in.yaml new file mode 100644 index 0000000..420d531 --- /dev/null +++ b/tests/yaml-test-suite/DK95/00/in.yaml @@ -0,0 +1,2 @@ +foo: + bar diff --git a/tests/yaml-test-suite/DK95/00/test.event b/tests/yaml-test-suite/DK95/00/test.event new file mode 100644 index 0000000..bb745c2 --- /dev/null +++ b/tests/yaml-test-suite/DK95/00/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DK95/01/=== b/tests/yaml-test-suite/DK95/01/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/01/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/01/emit.yaml b/tests/yaml-test-suite/DK95/01/emit.yaml new file mode 100644 index 0000000..23809fe --- /dev/null +++ b/tests/yaml-test-suite/DK95/01/emit.yaml @@ -0,0 +1,2 @@ +--- +foo: bar diff --git a/tests/yaml-test-suite/DK95/01/error b/tests/yaml-test-suite/DK95/01/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/DK95/01/in.json b/tests/yaml-test-suite/DK95/01/in.json new file mode 100644 index 0000000..d7b2eeb --- /dev/null +++ b/tests/yaml-test-suite/DK95/01/in.json @@ -0,0 +1,3 @@ +{ + "foo" : "bar" +} diff --git a/tests/yaml-test-suite/DK95/01/in.yaml b/tests/yaml-test-suite/DK95/01/in.yaml new file mode 100644 index 0000000..97fa247 --- /dev/null +++ b/tests/yaml-test-suite/DK95/01/in.yaml @@ -0,0 +1,2 @@ +foo: "bar + baz" diff --git a/tests/yaml-test-suite/DK95/01/test.event b/tests/yaml-test-suite/DK95/01/test.event new file mode 100644 index 0000000..a29c31a --- /dev/null +++ b/tests/yaml-test-suite/DK95/01/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :foo diff --git a/tests/yaml-test-suite/DK95/02/=== b/tests/yaml-test-suite/DK95/02/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/02/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/02/emit.yaml b/tests/yaml-test-suite/DK95/02/emit.yaml new file mode 100644 index 0000000..775e1a7 --- /dev/null +++ b/tests/yaml-test-suite/DK95/02/emit.yaml @@ -0,0 +1,2 @@ +--- +foo: "bar baz" diff --git a/tests/yaml-test-suite/DK95/02/in.json b/tests/yaml-test-suite/DK95/02/in.json new file mode 100644 index 0000000..f86c8d6 --- /dev/null +++ b/tests/yaml-test-suite/DK95/02/in.json @@ -0,0 +1,3 @@ +{ + "foo" : "bar baz" +} diff --git a/tests/yaml-test-suite/DK95/02/in.yaml b/tests/yaml-test-suite/DK95/02/in.yaml new file mode 100644 index 0000000..422933c --- /dev/null +++ b/tests/yaml-test-suite/DK95/02/in.yaml @@ -0,0 +1,2 @@ +foo: "bar + baz" diff --git a/tests/yaml-test-suite/DK95/02/test.event b/tests/yaml-test-suite/DK95/02/test.event new file mode 100644 index 0000000..3e3fb78 --- /dev/null +++ b/tests/yaml-test-suite/DK95/02/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL "bar baz +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DK95/03/=== b/tests/yaml-test-suite/DK95/03/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/03/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/03/emit.yaml b/tests/yaml-test-suite/DK95/03/emit.yaml new file mode 100644 index 0000000..402fab7 --- /dev/null +++ b/tests/yaml-test-suite/DK95/03/emit.yaml @@ -0,0 +1,2 @@ +--- +foo: 1 diff --git a/tests/yaml-test-suite/DK95/03/in.json b/tests/yaml-test-suite/DK95/03/in.json new file mode 100644 index 0000000..31ce888 --- /dev/null +++ b/tests/yaml-test-suite/DK95/03/in.json @@ -0,0 +1,3 @@ +{ + "foo" : 1 +} diff --git a/tests/yaml-test-suite/DK95/03/in.yaml b/tests/yaml-test-suite/DK95/03/in.yaml new file mode 100644 index 0000000..87cf24e --- /dev/null +++ b/tests/yaml-test-suite/DK95/03/in.yaml @@ -0,0 +1,2 @@ + +foo: 1 diff --git a/tests/yaml-test-suite/DK95/03/test.event b/tests/yaml-test-suite/DK95/03/test.event new file mode 100644 index 0000000..2ac9cec --- /dev/null +++ b/tests/yaml-test-suite/DK95/03/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :1 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DK95/04/=== b/tests/yaml-test-suite/DK95/04/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/04/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/04/emit.yaml b/tests/yaml-test-suite/DK95/04/emit.yaml new file mode 100644 index 0000000..d41731d --- /dev/null +++ b/tests/yaml-test-suite/DK95/04/emit.yaml @@ -0,0 +1,3 @@ +--- +foo: 1 +bar: 2 diff --git a/tests/yaml-test-suite/DK95/04/in.json b/tests/yaml-test-suite/DK95/04/in.json new file mode 100644 index 0000000..eed797b --- /dev/null +++ b/tests/yaml-test-suite/DK95/04/in.json @@ -0,0 +1,4 @@ +{ + "foo" : 1, + "bar" : 2 +} diff --git a/tests/yaml-test-suite/DK95/04/in.yaml b/tests/yaml-test-suite/DK95/04/in.yaml new file mode 100644 index 0000000..077ba0b --- /dev/null +++ b/tests/yaml-test-suite/DK95/04/in.yaml @@ -0,0 +1,3 @@ +foo: 1 + +bar: 2 diff --git a/tests/yaml-test-suite/DK95/04/test.event b/tests/yaml-test-suite/DK95/04/test.event new file mode 100644 index 0000000..005f07f --- /dev/null +++ b/tests/yaml-test-suite/DK95/04/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :1 +=VAL :bar +=VAL :2 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DK95/05/=== b/tests/yaml-test-suite/DK95/05/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/05/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/05/emit.yaml b/tests/yaml-test-suite/DK95/05/emit.yaml new file mode 100644 index 0000000..d41731d --- /dev/null +++ b/tests/yaml-test-suite/DK95/05/emit.yaml @@ -0,0 +1,3 @@ +--- +foo: 1 +bar: 2 diff --git a/tests/yaml-test-suite/DK95/05/in.json b/tests/yaml-test-suite/DK95/05/in.json new file mode 100644 index 0000000..eed797b --- /dev/null +++ b/tests/yaml-test-suite/DK95/05/in.json @@ -0,0 +1,4 @@ +{ + "foo" : 1, + "bar" : 2 +} diff --git a/tests/yaml-test-suite/DK95/05/in.yaml b/tests/yaml-test-suite/DK95/05/in.yaml new file mode 100644 index 0000000..fea60bc --- /dev/null +++ b/tests/yaml-test-suite/DK95/05/in.yaml @@ -0,0 +1,3 @@ +foo: 1 + +bar: 2 diff --git a/tests/yaml-test-suite/DK95/05/test.event b/tests/yaml-test-suite/DK95/05/test.event new file mode 100644 index 0000000..005f07f --- /dev/null +++ b/tests/yaml-test-suite/DK95/05/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :1 +=VAL :bar +=VAL :2 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DK95/06/=== b/tests/yaml-test-suite/DK95/06/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/06/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/06/emit.yaml b/tests/yaml-test-suite/DK95/06/emit.yaml new file mode 100644 index 0000000..d41731d --- /dev/null +++ b/tests/yaml-test-suite/DK95/06/emit.yaml @@ -0,0 +1,3 @@ +--- +foo: 1 +bar: 2 diff --git a/tests/yaml-test-suite/DK95/06/error b/tests/yaml-test-suite/DK95/06/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/DK95/06/in.json b/tests/yaml-test-suite/DK95/06/in.json new file mode 100644 index 0000000..eed797b --- /dev/null +++ b/tests/yaml-test-suite/DK95/06/in.json @@ -0,0 +1,4 @@ +{ + "foo" : 1, + "bar" : 2 +} diff --git a/tests/yaml-test-suite/DK95/06/in.yaml b/tests/yaml-test-suite/DK95/06/in.yaml new file mode 100644 index 0000000..6bda856 --- /dev/null +++ b/tests/yaml-test-suite/DK95/06/in.yaml @@ -0,0 +1,3 @@ +foo: + a: 1 + b: 2 diff --git a/tests/yaml-test-suite/DK95/06/test.event b/tests/yaml-test-suite/DK95/06/test.event new file mode 100644 index 0000000..5733f5d --- /dev/null +++ b/tests/yaml-test-suite/DK95/06/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++MAP +=VAL :foo ++MAP +=VAL :a +=VAL :1 diff --git a/tests/yaml-test-suite/DK95/07/=== b/tests/yaml-test-suite/DK95/07/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/07/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/07/emit.yaml b/tests/yaml-test-suite/DK95/07/emit.yaml new file mode 100644 index 0000000..5b00448 --- /dev/null +++ b/tests/yaml-test-suite/DK95/07/emit.yaml @@ -0,0 +1 @@ +--- null diff --git a/tests/yaml-test-suite/DK95/07/in.json b/tests/yaml-test-suite/DK95/07/in.json new file mode 100644 index 0000000..19765bd --- /dev/null +++ b/tests/yaml-test-suite/DK95/07/in.json @@ -0,0 +1 @@ +null diff --git a/tests/yaml-test-suite/DK95/07/in.yaml b/tests/yaml-test-suite/DK95/07/in.yaml new file mode 100644 index 0000000..9ad1ed2 --- /dev/null +++ b/tests/yaml-test-suite/DK95/07/in.yaml @@ -0,0 +1,3 @@ +%YAML 1.2 + +--- diff --git a/tests/yaml-test-suite/DK95/07/test.event b/tests/yaml-test-suite/DK95/07/test.event new file mode 100644 index 0000000..e7a400d --- /dev/null +++ b/tests/yaml-test-suite/DK95/07/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/DK95/08/=== b/tests/yaml-test-suite/DK95/08/=== new file mode 100644 index 0000000..9ab734e --- /dev/null +++ b/tests/yaml-test-suite/DK95/08/=== @@ -0,0 +1 @@ +Tabs that look like indentation diff --git a/tests/yaml-test-suite/DK95/08/emit.yaml b/tests/yaml-test-suite/DK95/08/emit.yaml new file mode 100644 index 0000000..cb2c4a2 --- /dev/null +++ b/tests/yaml-test-suite/DK95/08/emit.yaml @@ -0,0 +1,2 @@ +--- +foo: "bar baz \t \t " diff --git a/tests/yaml-test-suite/DK95/08/in.json b/tests/yaml-test-suite/DK95/08/in.json new file mode 100644 index 0000000..0dc83aa --- /dev/null +++ b/tests/yaml-test-suite/DK95/08/in.json @@ -0,0 +1,3 @@ +{ + "foo" : "bar baz \t \t " +} diff --git a/tests/yaml-test-suite/DK95/08/in.yaml b/tests/yaml-test-suite/DK95/08/in.yaml new file mode 100644 index 0000000..1ae7eca --- /dev/null +++ b/tests/yaml-test-suite/DK95/08/in.yaml @@ -0,0 +1,2 @@ +foo: "bar + baz " diff --git a/tests/yaml-test-suite/DK95/08/test.event b/tests/yaml-test-suite/DK95/08/test.event new file mode 100644 index 0000000..1f6f8ed --- /dev/null +++ b/tests/yaml-test-suite/DK95/08/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL "bar baz \t \t +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/DMG6.yaml b/tests/yaml-test-suite/DMG6.yaml deleted file mode 100644 index 8a89d28..0000000 --- a/tests/yaml-test-suite/DMG6.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Wrong indendation in Map - from: '@perlpunk' - tags: error mapping indent - fail: true - yaml: | - key: - ok: 1 - wrong: 2 - tree: | - +STR - +DOC - +MAP - =VAL :key - +MAP - =VAL :ok - =VAL :1 - -MAP diff --git a/tests/yaml-test-suite/DMG6/=== b/tests/yaml-test-suite/DMG6/=== new file mode 100644 index 0000000..1546fe1 --- /dev/null +++ b/tests/yaml-test-suite/DMG6/=== @@ -0,0 +1 @@ +Wrong indendation in Map diff --git a/tests/yaml-test-suite/DMG6/error b/tests/yaml-test-suite/DMG6/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/DMG6/in.yaml b/tests/yaml-test-suite/DMG6/in.yaml new file mode 100644 index 0000000..148a693 --- /dev/null +++ b/tests/yaml-test-suite/DMG6/in.yaml @@ -0,0 +1,3 @@ +key: + ok: 1 + wrong: 2 diff --git a/tests/yaml-test-suite/DMG6/test.event b/tests/yaml-test-suite/DMG6/test.event new file mode 100644 index 0000000..bdca6a4 --- /dev/null +++ b/tests/yaml-test-suite/DMG6/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :key ++MAP +=VAL :ok +=VAL :1 +-MAP diff --git a/tests/yaml-test-suite/DWX9.yaml b/tests/yaml-test-suite/DWX9.yaml deleted file mode 100644 index 672a43e..0000000 --- a/tests/yaml-test-suite/DWX9.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: Spec Example 8.8. Literal Content - from: http://www.yaml.org/spec/1.2/spec.html#id2796118 - tags: spec literal scalar comment whitespace 1.3-err - yaml: | - | - ␣ - ␣␣ - literal - ␣␣␣ - ␣␣ - text - - # Comment - tree: | - +STR - +DOC - =VAL |\n\nliteral\n \n\ntext\n - -DOC - -STR - json: | - "\n\nliteral\n \n\ntext\n" - dump: | - "\n\nliteral\n \n\ntext\n" - emit: | - | - - - literal - ␣␣␣ - - text diff --git a/tests/yaml-test-suite/DWX9/=== b/tests/yaml-test-suite/DWX9/=== new file mode 100644 index 0000000..f6b87e9 --- /dev/null +++ b/tests/yaml-test-suite/DWX9/=== @@ -0,0 +1 @@ +Spec Example 8.8. Literal Content diff --git a/tests/yaml-test-suite/DWX9/emit.yaml b/tests/yaml-test-suite/DWX9/emit.yaml new file mode 100644 index 0000000..7f1513f --- /dev/null +++ b/tests/yaml-test-suite/DWX9/emit.yaml @@ -0,0 +1,7 @@ +| + + + literal + + + text diff --git a/tests/yaml-test-suite/DWX9/in.json b/tests/yaml-test-suite/DWX9/in.json new file mode 100644 index 0000000..6383f8d --- /dev/null +++ b/tests/yaml-test-suite/DWX9/in.json @@ -0,0 +1 @@ +"\n\nliteral\n \n\ntext\n" diff --git a/tests/yaml-test-suite/DWX9/in.yaml b/tests/yaml-test-suite/DWX9/in.yaml new file mode 100644 index 0000000..9d537cb --- /dev/null +++ b/tests/yaml-test-suite/DWX9/in.yaml @@ -0,0 +1,9 @@ +| + + + literal + + + text + + # Comment diff --git a/tests/yaml-test-suite/DWX9/out.yaml b/tests/yaml-test-suite/DWX9/out.yaml new file mode 100644 index 0000000..6383f8d --- /dev/null +++ b/tests/yaml-test-suite/DWX9/out.yaml @@ -0,0 +1 @@ +"\n\nliteral\n \n\ntext\n" diff --git a/tests/yaml-test-suite/DWX9/test.event b/tests/yaml-test-suite/DWX9/test.event new file mode 100644 index 0000000..0281dfe --- /dev/null +++ b/tests/yaml-test-suite/DWX9/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL |\n\nliteral\n \n\ntext\n +-DOC +-STR diff --git a/tests/yaml-test-suite/E76Z.yaml b/tests/yaml-test-suite/E76Z.yaml deleted file mode 100644 index 06f28e3..0000000 --- a/tests/yaml-test-suite/E76Z.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Aliases in Implicit Block Mapping - from: NimYAML tests - tags: mapping alias - yaml: | - &a a: &b b - *b : *a - tree: | - +STR - +DOC - +MAP - =VAL &a :a - =VAL &b :b - =ALI *b - =ALI *a - -MAP - -DOC - -STR - json: | - { - "a": "b", - "b": "a" - } - dump: | - &a a: &b b - *b : *a diff --git a/tests/yaml-test-suite/E76Z/=== b/tests/yaml-test-suite/E76Z/=== new file mode 100644 index 0000000..f9db2fa --- /dev/null +++ b/tests/yaml-test-suite/E76Z/=== @@ -0,0 +1 @@ +Aliases in Implicit Block Mapping diff --git a/tests/yaml-test-suite/E76Z/in.json b/tests/yaml-test-suite/E76Z/in.json new file mode 100644 index 0000000..a9b2dde --- /dev/null +++ b/tests/yaml-test-suite/E76Z/in.json @@ -0,0 +1,4 @@ +{ + "a": "b", + "b": "a" +} diff --git a/tests/yaml-test-suite/E76Z/in.yaml b/tests/yaml-test-suite/E76Z/in.yaml new file mode 100644 index 0000000..756ff71 --- /dev/null +++ b/tests/yaml-test-suite/E76Z/in.yaml @@ -0,0 +1,2 @@ +&a a: &b b +*b : *a diff --git a/tests/yaml-test-suite/E76Z/out.yaml b/tests/yaml-test-suite/E76Z/out.yaml new file mode 100644 index 0000000..756ff71 --- /dev/null +++ b/tests/yaml-test-suite/E76Z/out.yaml @@ -0,0 +1,2 @@ +&a a: &b b +*b : *a diff --git a/tests/yaml-test-suite/E76Z/test.event b/tests/yaml-test-suite/E76Z/test.event new file mode 100644 index 0000000..6cf1b41 --- /dev/null +++ b/tests/yaml-test-suite/E76Z/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL &a :a +=VAL &b :b +=ALI *b +=ALI *a +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/EB22.yaml b/tests/yaml-test-suite/EB22.yaml deleted file mode 100644 index d96d9bb..0000000 --- a/tests/yaml-test-suite/EB22.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Missing document-end marker before directive - from: '@perlpunk' - tags: error directive footer - fail: true - yaml: | - --- - scalar1 # comment - %YAML 1.2 - --- - scalar2 - tree: | - +STR - +DOC --- - =VAL :scalar1 - -DOC diff --git a/tests/yaml-test-suite/EB22/=== b/tests/yaml-test-suite/EB22/=== new file mode 100644 index 0000000..8c3b57b --- /dev/null +++ b/tests/yaml-test-suite/EB22/=== @@ -0,0 +1 @@ +Missing document-end marker before directive diff --git a/tests/yaml-test-suite/EB22/error b/tests/yaml-test-suite/EB22/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/EB22/in.yaml b/tests/yaml-test-suite/EB22/in.yaml new file mode 100644 index 0000000..2c7dd1d --- /dev/null +++ b/tests/yaml-test-suite/EB22/in.yaml @@ -0,0 +1,5 @@ +--- +scalar1 # comment +%YAML 1.2 +--- +scalar2 diff --git a/tests/yaml-test-suite/EB22/test.event b/tests/yaml-test-suite/EB22/test.event new file mode 100644 index 0000000..a1ffd68 --- /dev/null +++ b/tests/yaml-test-suite/EB22/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- +=VAL :scalar1 +-DOC diff --git a/tests/yaml-test-suite/EHF6.yaml b/tests/yaml-test-suite/EHF6.yaml deleted file mode 100644 index b4e22fb..0000000 --- a/tests/yaml-test-suite/EHF6.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Tags for Flow Objects - from: NimYAML tests - tags: tag flow mapping sequence - yaml: | - !!map { - k: !!seq - [ a, !!str b] - } - tree: | - +STR - +DOC - +MAP {} - =VAL :k - +SEQ [] - =VAL :a - =VAL :b - -SEQ - -MAP - -DOC - -STR - json: | - { - "k": [ - "a", - "b" - ] - } - dump: | - !!map - k: !!seq - - a - - !!str b diff --git a/tests/yaml-test-suite/EHF6/=== b/tests/yaml-test-suite/EHF6/=== new file mode 100644 index 0000000..b57de47 --- /dev/null +++ b/tests/yaml-test-suite/EHF6/=== @@ -0,0 +1 @@ +Tags for Flow Objects diff --git a/tests/yaml-test-suite/EHF6/in.json b/tests/yaml-test-suite/EHF6/in.json new file mode 100644 index 0000000..d5d1744 --- /dev/null +++ b/tests/yaml-test-suite/EHF6/in.json @@ -0,0 +1,6 @@ +{ + "k": [ + "a", + "b" + ] +} diff --git a/tests/yaml-test-suite/EHF6/in.yaml b/tests/yaml-test-suite/EHF6/in.yaml new file mode 100644 index 0000000..f69ccde --- /dev/null +++ b/tests/yaml-test-suite/EHF6/in.yaml @@ -0,0 +1,4 @@ +!!map { + k: !!seq + [ a, !!str b] +} diff --git a/tests/yaml-test-suite/EHF6/out.yaml b/tests/yaml-test-suite/EHF6/out.yaml new file mode 100644 index 0000000..83e6639 --- /dev/null +++ b/tests/yaml-test-suite/EHF6/out.yaml @@ -0,0 +1,4 @@ +!!map +k: !!seq +- a +- !!str b diff --git a/tests/yaml-test-suite/EHF6/test.event b/tests/yaml-test-suite/EHF6/test.event new file mode 100644 index 0000000..84530d2 --- /dev/null +++ b/tests/yaml-test-suite/EHF6/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++MAP {} +=VAL :k ++SEQ [] +=VAL :a +=VAL :b +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/EW3V.yaml b/tests/yaml-test-suite/EW3V.yaml deleted file mode 100644 index 0a21a49..0000000 --- a/tests/yaml-test-suite/EW3V.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Wrong indendation in mapping - from: '@perlpunk' - tags: error mapping indent - fail: true - yaml: | - k1: v1 - k2: v2 - tree: | - +STR - +DOC - +MAP - =VAL :k1 diff --git a/tests/yaml-test-suite/EW3V/=== b/tests/yaml-test-suite/EW3V/=== new file mode 100644 index 0000000..6d5cff9 --- /dev/null +++ b/tests/yaml-test-suite/EW3V/=== @@ -0,0 +1 @@ +Wrong indendation in mapping diff --git a/tests/yaml-test-suite/EW3V/error b/tests/yaml-test-suite/EW3V/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/EW3V/in.yaml b/tests/yaml-test-suite/EW3V/in.yaml new file mode 100644 index 0000000..433a5f1 --- /dev/null +++ b/tests/yaml-test-suite/EW3V/in.yaml @@ -0,0 +1,2 @@ +k1: v1 + k2: v2 diff --git a/tests/yaml-test-suite/EW3V/test.event b/tests/yaml-test-suite/EW3V/test.event new file mode 100644 index 0000000..0fa4b30 --- /dev/null +++ b/tests/yaml-test-suite/EW3V/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :k1 diff --git a/tests/yaml-test-suite/EX5H.yaml b/tests/yaml-test-suite/EX5H.yaml deleted file mode 100644 index a27ba11..0000000 --- a/tests/yaml-test-suite/EX5H.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Multiline Scalar at Top Level [1.3] - from: 9YRD, modified for YAML 1.3 - tags: scalar whitespace 1.3-mod - yaml: | - --- - a - b␣␣ - c - d - - e - tree: | - +STR - +DOC --- - =VAL :a b c d\ne - -DOC - -STR - json: | - "a b c d\ne" - dump: | - 'a b c d - - e' - emit: | - --- a b c d - - e diff --git a/tests/yaml-test-suite/EX5H/=== b/tests/yaml-test-suite/EX5H/=== new file mode 100644 index 0000000..1209f34 --- /dev/null +++ b/tests/yaml-test-suite/EX5H/=== @@ -0,0 +1 @@ +Multiline Scalar at Top Level [1.3] diff --git a/tests/yaml-test-suite/EX5H/emit.yaml b/tests/yaml-test-suite/EX5H/emit.yaml new file mode 100644 index 0000000..4af195a --- /dev/null +++ b/tests/yaml-test-suite/EX5H/emit.yaml @@ -0,0 +1,3 @@ +--- a b c d + +e diff --git a/tests/yaml-test-suite/EX5H/in.json b/tests/yaml-test-suite/EX5H/in.json new file mode 100644 index 0000000..a565abc --- /dev/null +++ b/tests/yaml-test-suite/EX5H/in.json @@ -0,0 +1 @@ +"a b c d\ne" diff --git a/tests/yaml-test-suite/EX5H/in.yaml b/tests/yaml-test-suite/EX5H/in.yaml new file mode 100644 index 0000000..0e75a65 --- /dev/null +++ b/tests/yaml-test-suite/EX5H/in.yaml @@ -0,0 +1,7 @@ +--- +a +b + c +d + +e diff --git a/tests/yaml-test-suite/EX5H/out.yaml b/tests/yaml-test-suite/EX5H/out.yaml new file mode 100644 index 0000000..38515a7 --- /dev/null +++ b/tests/yaml-test-suite/EX5H/out.yaml @@ -0,0 +1,3 @@ +'a b c d + + e' diff --git a/tests/yaml-test-suite/EX5H/test.event b/tests/yaml-test-suite/EX5H/test.event new file mode 100644 index 0000000..c92cc06 --- /dev/null +++ b/tests/yaml-test-suite/EX5H/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :a b c d\ne +-DOC +-STR diff --git a/tests/yaml-test-suite/EXG3.yaml b/tests/yaml-test-suite/EXG3.yaml deleted file mode 100644 index 18745e6..0000000 --- a/tests/yaml-test-suite/EXG3.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Three dashes and content without space [1.3] - from: 82AN, modified for YAML 1.3 - tags: scalar 1.3-mod - yaml: | - --- - ---word1 - word2 - tree: | - +STR - +DOC --- - =VAL :---word1 word2 - -DOC - -STR - json: | - "---word1 word2" - dump: | - '---word1 word2' - emit: | - --- '---word1 word2' diff --git a/tests/yaml-test-suite/EXG3/=== b/tests/yaml-test-suite/EXG3/=== new file mode 100644 index 0000000..250ed2d --- /dev/null +++ b/tests/yaml-test-suite/EXG3/=== @@ -0,0 +1 @@ +Three dashes and content without space [1.3] diff --git a/tests/yaml-test-suite/EXG3/emit.yaml b/tests/yaml-test-suite/EXG3/emit.yaml new file mode 100644 index 0000000..455a78c --- /dev/null +++ b/tests/yaml-test-suite/EXG3/emit.yaml @@ -0,0 +1 @@ +--- '---word1 word2' diff --git a/tests/yaml-test-suite/EXG3/in.json b/tests/yaml-test-suite/EXG3/in.json new file mode 100644 index 0000000..62a7caa --- /dev/null +++ b/tests/yaml-test-suite/EXG3/in.json @@ -0,0 +1 @@ +"---word1 word2" diff --git a/tests/yaml-test-suite/EXG3/in.yaml b/tests/yaml-test-suite/EXG3/in.yaml new file mode 100644 index 0000000..8ebd5d2 --- /dev/null +++ b/tests/yaml-test-suite/EXG3/in.yaml @@ -0,0 +1,3 @@ +--- +---word1 +word2 diff --git a/tests/yaml-test-suite/EXG3/out.yaml b/tests/yaml-test-suite/EXG3/out.yaml new file mode 100644 index 0000000..a14c65b --- /dev/null +++ b/tests/yaml-test-suite/EXG3/out.yaml @@ -0,0 +1 @@ +'---word1 word2' diff --git a/tests/yaml-test-suite/EXG3/test.event b/tests/yaml-test-suite/EXG3/test.event new file mode 100644 index 0000000..a7881d0 --- /dev/null +++ b/tests/yaml-test-suite/EXG3/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :---word1 word2 +-DOC +-STR diff --git a/tests/yaml-test-suite/F2C7.yaml b/tests/yaml-test-suite/F2C7.yaml deleted file mode 100644 index 8e46129..0000000 --- a/tests/yaml-test-suite/F2C7.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: Anchors and Tags - from: NimYAML tests - tags: anchor tag - yaml: |2 - - &a !!str a - - !!int 2 - - !!int &c 4 - - &d d - tree: | - +STR - +DOC - +SEQ - =VAL &a :a - =VAL :2 - =VAL &c :4 - =VAL &d :d - -SEQ - -DOC - -STR - json: | - [ - "a", - 2, - 4, - "d" - ] - dump: | - - &a !!str a - - !!int 2 - - &c !!int 4 - - &d d diff --git a/tests/yaml-test-suite/F2C7/=== b/tests/yaml-test-suite/F2C7/=== new file mode 100644 index 0000000..6401c9f --- /dev/null +++ b/tests/yaml-test-suite/F2C7/=== @@ -0,0 +1 @@ +Anchors and Tags diff --git a/tests/yaml-test-suite/F2C7/in.json b/tests/yaml-test-suite/F2C7/in.json new file mode 100644 index 0000000..2c185ac --- /dev/null +++ b/tests/yaml-test-suite/F2C7/in.json @@ -0,0 +1,6 @@ +[ + "a", + 2, + 4, + "d" +] diff --git a/tests/yaml-test-suite/F2C7/in.yaml b/tests/yaml-test-suite/F2C7/in.yaml new file mode 100644 index 0000000..8574f95 --- /dev/null +++ b/tests/yaml-test-suite/F2C7/in.yaml @@ -0,0 +1,4 @@ + - &a !!str a + - !!int 2 + - !!int &c 4 + - &d d diff --git a/tests/yaml-test-suite/F2C7/out.yaml b/tests/yaml-test-suite/F2C7/out.yaml new file mode 100644 index 0000000..c1465d6 --- /dev/null +++ b/tests/yaml-test-suite/F2C7/out.yaml @@ -0,0 +1,4 @@ +- &a !!str a +- !!int 2 +- &c !!int 4 +- &d d diff --git a/tests/yaml-test-suite/F2C7/test.event b/tests/yaml-test-suite/F2C7/test.event new file mode 100644 index 0000000..de11622 --- /dev/null +++ b/tests/yaml-test-suite/F2C7/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ +=VAL &a :a +=VAL :2 +=VAL &c :4 +=VAL &d :d +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/F3CP.yaml b/tests/yaml-test-suite/F3CP.yaml deleted file mode 100644 index 71b0b89..0000000 --- a/tests/yaml-test-suite/F3CP.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -- name: Nested flow collections on one line - from: '@perlpunk' - tags: flow mapping sequence - yaml: | - --- - { a: [b, c, { d: [e, f] } ] } - tree: | - +STR - +DOC --- - +MAP {} - =VAL :a - +SEQ [] - =VAL :b - =VAL :c - +MAP {} - =VAL :d - +SEQ [] - =VAL :e - =VAL :f - -SEQ - -MAP - -SEQ - -MAP - -DOC - -STR - json: | - { - "a": [ - "b", - "c", - { - "d": [ - "e", - "f" - ] - } - ] - } - dump: | - --- - a: - - b - - c - - d: - - e - - f diff --git a/tests/yaml-test-suite/F3CP/=== b/tests/yaml-test-suite/F3CP/=== new file mode 100644 index 0000000..9a283e8 --- /dev/null +++ b/tests/yaml-test-suite/F3CP/=== @@ -0,0 +1 @@ +Nested flow collections on one line diff --git a/tests/yaml-test-suite/F3CP/in.json b/tests/yaml-test-suite/F3CP/in.json new file mode 100644 index 0000000..a134c8f --- /dev/null +++ b/tests/yaml-test-suite/F3CP/in.json @@ -0,0 +1,12 @@ +{ + "a": [ + "b", + "c", + { + "d": [ + "e", + "f" + ] + } + ] +} diff --git a/tests/yaml-test-suite/F3CP/in.yaml b/tests/yaml-test-suite/F3CP/in.yaml new file mode 100644 index 0000000..04e631b --- /dev/null +++ b/tests/yaml-test-suite/F3CP/in.yaml @@ -0,0 +1,2 @@ +--- +{ a: [b, c, { d: [e, f] } ] } diff --git a/tests/yaml-test-suite/F3CP/out.yaml b/tests/yaml-test-suite/F3CP/out.yaml new file mode 100644 index 0000000..3c39642 --- /dev/null +++ b/tests/yaml-test-suite/F3CP/out.yaml @@ -0,0 +1,7 @@ +--- +a: +- b +- c +- d: + - e + - f diff --git a/tests/yaml-test-suite/F3CP/test.event b/tests/yaml-test-suite/F3CP/test.event new file mode 100644 index 0000000..8c78aea --- /dev/null +++ b/tests/yaml-test-suite/F3CP/test.event @@ -0,0 +1,18 @@ ++STR ++DOC --- ++MAP {} +=VAL :a ++SEQ [] +=VAL :b +=VAL :c ++MAP {} +=VAL :d ++SEQ [] +=VAL :e +=VAL :f +-SEQ +-MAP +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/F6MC.yaml b/tests/yaml-test-suite/F6MC.yaml deleted file mode 100644 index e246e85..0000000 --- a/tests/yaml-test-suite/F6MC.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- name: More indented lines at the beginning of folded block scalars - from: '@perlpunk' - tags: folded indent - yaml: | - --- - a: >2 - more indented - regular - b: >2 - - - more indented - regular - tree: | - +STR - +DOC --- - +MAP - =VAL :a - =VAL > more indented\nregular\n - =VAL :b - =VAL >\n\n more indented\nregular\n - -MAP - -DOC - -STR - json: | - { - "a": " more indented\nregular\n", - "b": "\n\n more indented\nregular\n" - } - emit: | - --- - a: >2 - more indented - regular - b: >2 - - - more indented - regular diff --git a/tests/yaml-test-suite/F6MC/=== b/tests/yaml-test-suite/F6MC/=== new file mode 100644 index 0000000..093d592 --- /dev/null +++ b/tests/yaml-test-suite/F6MC/=== @@ -0,0 +1 @@ +More indented lines at the beginning of folded block scalars diff --git a/tests/yaml-test-suite/F6MC/emit.yaml b/tests/yaml-test-suite/F6MC/emit.yaml new file mode 100644 index 0000000..08c530d --- /dev/null +++ b/tests/yaml-test-suite/F6MC/emit.yaml @@ -0,0 +1,9 @@ +--- +a: >2 + more indented + regular +b: >2 + + + more indented + regular diff --git a/tests/yaml-test-suite/F6MC/in.json b/tests/yaml-test-suite/F6MC/in.json new file mode 100644 index 0000000..72be982 --- /dev/null +++ b/tests/yaml-test-suite/F6MC/in.json @@ -0,0 +1,4 @@ +{ + "a": " more indented\nregular\n", + "b": "\n\n more indented\nregular\n" +} diff --git a/tests/yaml-test-suite/F6MC/in.yaml b/tests/yaml-test-suite/F6MC/in.yaml new file mode 100644 index 0000000..08c530d --- /dev/null +++ b/tests/yaml-test-suite/F6MC/in.yaml @@ -0,0 +1,9 @@ +--- +a: >2 + more indented + regular +b: >2 + + + more indented + regular diff --git a/tests/yaml-test-suite/F6MC/test.event b/tests/yaml-test-suite/F6MC/test.event new file mode 100644 index 0000000..d489359 --- /dev/null +++ b/tests/yaml-test-suite/F6MC/test.event @@ -0,0 +1,10 @@ ++STR ++DOC --- ++MAP +=VAL :a +=VAL > more indented\nregular\n +=VAL :b +=VAL >\n\n more indented\nregular\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/F8F9.yaml b/tests/yaml-test-suite/F8F9.yaml deleted file mode 100644 index 8fd5f71..0000000 --- a/tests/yaml-test-suite/F8F9.yaml +++ /dev/null @@ -1,52 +0,0 @@ ---- -- name: Spec Example 8.5. Chomping Trailing Lines - from: http://www.yaml.org/spec/1.2/spec.html#id2795435 - tags: spec literal scalar comment - yaml: |2 - # Strip - # Comments: - strip: |- - # text - ␣␣ - # Clip - # comments: - - clip: | - # text - ␣ - # Keep - # comments: - - keep: |+ - # text - - # Trail - # comments. - tree: | - +STR - +DOC - +MAP - =VAL :strip - =VAL |# text - =VAL :clip - =VAL |# text\n - =VAL :keep - =VAL |# text\n\n - -MAP - -DOC - -STR - json: | - { - "strip": "# text", - "clip": "# text\n", - "keep": "# text\n\n" - } - dump: | - strip: |- - # text - clip: | - # text - keep: |+ - # text - - ... diff --git a/tests/yaml-test-suite/F8F9/=== b/tests/yaml-test-suite/F8F9/=== new file mode 100644 index 0000000..64692bc --- /dev/null +++ b/tests/yaml-test-suite/F8F9/=== @@ -0,0 +1 @@ +Spec Example 8.5. Chomping Trailing Lines diff --git a/tests/yaml-test-suite/F8F9/in.json b/tests/yaml-test-suite/F8F9/in.json new file mode 100644 index 0000000..4dfaa4e --- /dev/null +++ b/tests/yaml-test-suite/F8F9/in.json @@ -0,0 +1,5 @@ +{ + "strip": "# text", + "clip": "# text\n", + "keep": "# text\n\n" +} diff --git a/tests/yaml-test-suite/F8F9/in.yaml b/tests/yaml-test-suite/F8F9/in.yaml new file mode 100644 index 0000000..32fa08f --- /dev/null +++ b/tests/yaml-test-suite/F8F9/in.yaml @@ -0,0 +1,19 @@ + # Strip + # Comments: +strip: |- + # text + + # Clip + # comments: + +clip: | + # text + + # Keep + # comments: + +keep: |+ + # text + + # Trail + # comments. diff --git a/tests/yaml-test-suite/F8F9/out.yaml b/tests/yaml-test-suite/F8F9/out.yaml new file mode 100644 index 0000000..93f7c8c --- /dev/null +++ b/tests/yaml-test-suite/F8F9/out.yaml @@ -0,0 +1,8 @@ +strip: |- + # text +clip: | + # text +keep: |+ + # text + +... diff --git a/tests/yaml-test-suite/F8F9/test.event b/tests/yaml-test-suite/F8F9/test.event new file mode 100644 index 0000000..ac535f3 --- /dev/null +++ b/tests/yaml-test-suite/F8F9/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :strip +=VAL |# text +=VAL :clip +=VAL |# text\n +=VAL :keep +=VAL |# text\n\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/FBC9.yaml b/tests/yaml-test-suite/FBC9.yaml deleted file mode 100644 index 9f69b72..0000000 --- a/tests/yaml-test-suite/FBC9.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Allowed characters in plain scalars - from: '@perlpunk' - tags: scalar - yaml: | - safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ - !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ - safe question mark: ?foo - safe colon: :foo - safe dash: -foo - tree: | - +STR - +DOC - +MAP - =VAL :safe - =VAL :a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ - =VAL :safe question mark - =VAL :?foo - =VAL :safe colon - =VAL ::foo - =VAL :safe dash - =VAL :-foo - -MAP - -DOC - -STR - json: | - { - "safe": "a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~", - "safe question mark": "?foo", - "safe colon": ":foo", - "safe dash": "-foo" - } - dump: | - safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ - safe question mark: ?foo - safe colon: :foo - safe dash: -foo diff --git a/tests/yaml-test-suite/FBC9/=== b/tests/yaml-test-suite/FBC9/=== new file mode 100644 index 0000000..7e5dcaa --- /dev/null +++ b/tests/yaml-test-suite/FBC9/=== @@ -0,0 +1 @@ +Allowed characters in plain scalars diff --git a/tests/yaml-test-suite/FBC9/in.json b/tests/yaml-test-suite/FBC9/in.json new file mode 100644 index 0000000..bb25484 --- /dev/null +++ b/tests/yaml-test-suite/FBC9/in.json @@ -0,0 +1,6 @@ +{ + "safe": "a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~", + "safe question mark": "?foo", + "safe colon": ":foo", + "safe dash": "-foo" +} diff --git a/tests/yaml-test-suite/FBC9/in.yaml b/tests/yaml-test-suite/FBC9/in.yaml new file mode 100644 index 0000000..ed2516d --- /dev/null +++ b/tests/yaml-test-suite/FBC9/in.yaml @@ -0,0 +1,5 @@ +safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ + !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ +safe question mark: ?foo +safe colon: :foo +safe dash: -foo diff --git a/tests/yaml-test-suite/FBC9/out.yaml b/tests/yaml-test-suite/FBC9/out.yaml new file mode 100644 index 0000000..0b2fa41 --- /dev/null +++ b/tests/yaml-test-suite/FBC9/out.yaml @@ -0,0 +1,4 @@ +safe: a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~ +safe question mark: ?foo +safe colon: :foo +safe dash: -foo diff --git a/tests/yaml-test-suite/FBC9/test.event b/tests/yaml-test-suite/FBC9/test.event new file mode 100644 index 0000000..e2d5565 --- /dev/null +++ b/tests/yaml-test-suite/FBC9/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP +=VAL :safe +=VAL :a!"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ !"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~ +=VAL :safe question mark +=VAL :?foo +=VAL :safe colon +=VAL ::foo +=VAL :safe dash +=VAL :-foo +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/FH7J.yaml b/tests/yaml-test-suite/FH7J.yaml deleted file mode 100644 index 04e887b..0000000 --- a/tests/yaml-test-suite/FH7J.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Tags on Empty Scalars - from: NimYAML tests - tags: tag scalar - yaml: | - - !!str - - - !!null : a - b: !!str - - !!str : !!null - tree: | - +STR - +DOC - +SEQ - =VAL : - +MAP - =VAL : - =VAL :a - =VAL :b - =VAL : - -MAP - +MAP - =VAL : - =VAL : - -MAP - -SEQ - -DOC - -STR - dump: | - - !!str - - !!null : a - b: !!str - - !!str : !!null diff --git a/tests/yaml-test-suite/FH7J/=== b/tests/yaml-test-suite/FH7J/=== new file mode 100644 index 0000000..0b5cf4c --- /dev/null +++ b/tests/yaml-test-suite/FH7J/=== @@ -0,0 +1 @@ +Tags on Empty Scalars diff --git a/tests/yaml-test-suite/FH7J/in.yaml b/tests/yaml-test-suite/FH7J/in.yaml new file mode 100644 index 0000000..2b07b28 --- /dev/null +++ b/tests/yaml-test-suite/FH7J/in.yaml @@ -0,0 +1,5 @@ +- !!str +- + !!null : a + b: !!str +- !!str : !!null diff --git a/tests/yaml-test-suite/FH7J/out.yaml b/tests/yaml-test-suite/FH7J/out.yaml new file mode 100644 index 0000000..13199d0 --- /dev/null +++ b/tests/yaml-test-suite/FH7J/out.yaml @@ -0,0 +1,4 @@ +- !!str +- !!null : a + b: !!str +- !!str : !!null diff --git a/tests/yaml-test-suite/FH7J/test.event b/tests/yaml-test-suite/FH7J/test.event new file mode 100644 index 0000000..7cac44d --- /dev/null +++ b/tests/yaml-test-suite/FH7J/test.event @@ -0,0 +1,17 @@ ++STR ++DOC ++SEQ +=VAL : ++MAP +=VAL : +=VAL :a +=VAL :b +=VAL : +-MAP ++MAP +=VAL : +=VAL : +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/FP8R.yaml b/tests/yaml-test-suite/FP8R.yaml deleted file mode 100644 index 9da8017..0000000 --- a/tests/yaml-test-suite/FP8R.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Zero indented block scalar - from: '@perlpunk' - tags: folded indent scalar - yaml: | - --- > - line1 - line2 - line3 - tree: | - +STR - +DOC --- - =VAL >line1 line2 line3\n - -DOC - -STR - json: | - "line1 line2 line3\n" - dump: | - --- > - line1 line2 line3 diff --git a/tests/yaml-test-suite/FP8R/=== b/tests/yaml-test-suite/FP8R/=== new file mode 100644 index 0000000..8ff34d4 --- /dev/null +++ b/tests/yaml-test-suite/FP8R/=== @@ -0,0 +1 @@ +Zero indented block scalar diff --git a/tests/yaml-test-suite/FP8R/in.json b/tests/yaml-test-suite/FP8R/in.json new file mode 100644 index 0000000..15c6a36 --- /dev/null +++ b/tests/yaml-test-suite/FP8R/in.json @@ -0,0 +1 @@ +"line1 line2 line3\n" diff --git a/tests/yaml-test-suite/FP8R/in.yaml b/tests/yaml-test-suite/FP8R/in.yaml new file mode 100644 index 0000000..b4e414d --- /dev/null +++ b/tests/yaml-test-suite/FP8R/in.yaml @@ -0,0 +1,4 @@ +--- > +line1 +line2 +line3 diff --git a/tests/yaml-test-suite/FP8R/out.yaml b/tests/yaml-test-suite/FP8R/out.yaml new file mode 100644 index 0000000..a6670d4 --- /dev/null +++ b/tests/yaml-test-suite/FP8R/out.yaml @@ -0,0 +1,2 @@ +--- > + line1 line2 line3 diff --git a/tests/yaml-test-suite/FP8R/test.event b/tests/yaml-test-suite/FP8R/test.event new file mode 100644 index 0000000..7b00b18 --- /dev/null +++ b/tests/yaml-test-suite/FP8R/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL >line1 line2 line3\n +-DOC +-STR diff --git a/tests/yaml-test-suite/FQ7F.yaml b/tests/yaml-test-suite/FQ7F.yaml deleted file mode 100644 index f0afa4b..0000000 --- a/tests/yaml-test-suite/FQ7F.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 2.1. Sequence of Scalars - from: http://www.yaml.org/spec/1.2/spec.html#id2759963 - tags: spec sequence - yaml: | - - Mark McGwire - - Sammy Sosa - - Ken Griffey - tree: | - +STR - +DOC - +SEQ - =VAL :Mark McGwire - =VAL :Sammy Sosa - =VAL :Ken Griffey - -SEQ - -DOC - -STR - json: | - [ - "Mark McGwire", - "Sammy Sosa", - "Ken Griffey" - ] - toke: | - SEQ-MARK 0 1 1 1 - WS-SPACE 1 1 1 2 - TEXT-VAL 2 12 1 3 :Mark McGwire - WS-NEWLN 14 1 1 15 - SEQ-MARK 15 1 2 1 - WS-SPACE 1 1 1 2 - TEXT-VAL 2 12 1 3 :Sammy Sosa - WS-NEWLN 14 1 1 15 diff --git a/tests/yaml-test-suite/FQ7F/=== b/tests/yaml-test-suite/FQ7F/=== new file mode 100644 index 0000000..0f76f79 --- /dev/null +++ b/tests/yaml-test-suite/FQ7F/=== @@ -0,0 +1 @@ +Spec Example 2.1. Sequence of Scalars diff --git a/tests/yaml-test-suite/FQ7F/in.json b/tests/yaml-test-suite/FQ7F/in.json new file mode 100644 index 0000000..5f8dd7d --- /dev/null +++ b/tests/yaml-test-suite/FQ7F/in.json @@ -0,0 +1,5 @@ +[ + "Mark McGwire", + "Sammy Sosa", + "Ken Griffey" +] diff --git a/tests/yaml-test-suite/FQ7F/in.yaml b/tests/yaml-test-suite/FQ7F/in.yaml new file mode 100644 index 0000000..d12e671 --- /dev/null +++ b/tests/yaml-test-suite/FQ7F/in.yaml @@ -0,0 +1,3 @@ +- Mark McGwire +- Sammy Sosa +- Ken Griffey diff --git a/tests/yaml-test-suite/FQ7F/lex.token b/tests/yaml-test-suite/FQ7F/lex.token new file mode 100644 index 0000000..9049035 --- /dev/null +++ b/tests/yaml-test-suite/FQ7F/lex.token @@ -0,0 +1,8 @@ +SEQ-MARK 0 1 1 1 +WS-SPACE 1 1 1 2 +TEXT-VAL 2 12 1 3 :Mark McGwire +WS-NEWLN 14 1 1 15 +SEQ-MARK 15 1 2 1 +WS-SPACE 1 1 1 2 +TEXT-VAL 2 12 1 3 :Sammy Sosa +WS-NEWLN 14 1 1 15 diff --git a/tests/yaml-test-suite/FQ7F/test.event b/tests/yaml-test-suite/FQ7F/test.event new file mode 100644 index 0000000..006b49d --- /dev/null +++ b/tests/yaml-test-suite/FQ7F/test.event @@ -0,0 +1,9 @@ ++STR ++DOC ++SEQ +=VAL :Mark McGwire +=VAL :Sammy Sosa +=VAL :Ken Griffey +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/FRK4.yaml b/tests/yaml-test-suite/FRK4.yaml deleted file mode 100644 index a8734d0..0000000 --- a/tests/yaml-test-suite/FRK4.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Spec Example 7.3. Completely Empty Flow Nodes - from: http://www.yaml.org/spec/1.2/spec.html#id2786868 - tags: empty-key explicit-key spec flow mapping - yaml: | - { - ? foo :, - : bar, - } - tree: | - +STR - +DOC - +MAP {} - =VAL :foo - =VAL : - =VAL : - =VAL :bar - -MAP - -DOC - -STR diff --git a/tests/yaml-test-suite/FRK4/=== b/tests/yaml-test-suite/FRK4/=== new file mode 100644 index 0000000..0f7138f --- /dev/null +++ b/tests/yaml-test-suite/FRK4/=== @@ -0,0 +1 @@ +Spec Example 7.3. Completely Empty Flow Nodes diff --git a/tests/yaml-test-suite/FRK4/in.yaml b/tests/yaml-test-suite/FRK4/in.yaml new file mode 100644 index 0000000..f46900d --- /dev/null +++ b/tests/yaml-test-suite/FRK4/in.yaml @@ -0,0 +1,4 @@ +{ + ? foo :, + : bar, +} diff --git a/tests/yaml-test-suite/FRK4/test.event b/tests/yaml-test-suite/FRK4/test.event new file mode 100644 index 0000000..870e6c6 --- /dev/null +++ b/tests/yaml-test-suite/FRK4/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP {} +=VAL :foo +=VAL : +=VAL : +=VAL :bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/FTA2.yaml b/tests/yaml-test-suite/FTA2.yaml deleted file mode 100644 index 9e0c2f7..0000000 --- a/tests/yaml-test-suite/FTA2.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Single block sequence with anchor and explicit document start - from: '@perlpunk' - tags: anchor header sequence - yaml: | - --- &sequence - - a - tree: | - +STR - +DOC --- - +SEQ &sequence - =VAL :a - -SEQ - -DOC - -STR - json: | - [ - "a" - ] - dump: | - --- &sequence - - a diff --git a/tests/yaml-test-suite/FTA2/=== b/tests/yaml-test-suite/FTA2/=== new file mode 100644 index 0000000..1124eb8 --- /dev/null +++ b/tests/yaml-test-suite/FTA2/=== @@ -0,0 +1 @@ +Single block sequence with anchor and explicit document start diff --git a/tests/yaml-test-suite/FTA2/in.json b/tests/yaml-test-suite/FTA2/in.json new file mode 100644 index 0000000..0ede90f --- /dev/null +++ b/tests/yaml-test-suite/FTA2/in.json @@ -0,0 +1,3 @@ +[ + "a" +] diff --git a/tests/yaml-test-suite/FTA2/in.yaml b/tests/yaml-test-suite/FTA2/in.yaml new file mode 100644 index 0000000..e90e1c7 --- /dev/null +++ b/tests/yaml-test-suite/FTA2/in.yaml @@ -0,0 +1,2 @@ +--- &sequence +- a diff --git a/tests/yaml-test-suite/FTA2/out.yaml b/tests/yaml-test-suite/FTA2/out.yaml new file mode 100644 index 0000000..e90e1c7 --- /dev/null +++ b/tests/yaml-test-suite/FTA2/out.yaml @@ -0,0 +1,2 @@ +--- &sequence +- a diff --git a/tests/yaml-test-suite/FTA2/test.event b/tests/yaml-test-suite/FTA2/test.event new file mode 100644 index 0000000..8d95a4c --- /dev/null +++ b/tests/yaml-test-suite/FTA2/test.event @@ -0,0 +1,7 @@ ++STR ++DOC --- ++SEQ &sequence +=VAL :a +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/FUP4.yaml b/tests/yaml-test-suite/FUP4.yaml deleted file mode 100644 index 8d84b4d..0000000 --- a/tests/yaml-test-suite/FUP4.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Flow Sequence in Flow Sequence - from: NimYAML tests - tags: sequence flow - yaml: | - [a, [b, c]] - tree: | - +STR - +DOC - +SEQ [] - =VAL :a - +SEQ [] - =VAL :b - =VAL :c - -SEQ - -SEQ - -DOC - -STR - json: | - [ - "a", - [ - "b", - "c" - ] - ] - dump: | - - a - - - b - - c diff --git a/tests/yaml-test-suite/FUP4/=== b/tests/yaml-test-suite/FUP4/=== new file mode 100644 index 0000000..a90f4b4 --- /dev/null +++ b/tests/yaml-test-suite/FUP4/=== @@ -0,0 +1 @@ +Flow Sequence in Flow Sequence diff --git a/tests/yaml-test-suite/FUP4/in.json b/tests/yaml-test-suite/FUP4/in.json new file mode 100644 index 0000000..8b0e4ac --- /dev/null +++ b/tests/yaml-test-suite/FUP4/in.json @@ -0,0 +1,7 @@ +[ + "a", + [ + "b", + "c" + ] +] diff --git a/tests/yaml-test-suite/FUP4/in.yaml b/tests/yaml-test-suite/FUP4/in.yaml new file mode 100644 index 0000000..5f76a2e --- /dev/null +++ b/tests/yaml-test-suite/FUP4/in.yaml @@ -0,0 +1 @@ +[a, [b, c]] diff --git a/tests/yaml-test-suite/FUP4/out.yaml b/tests/yaml-test-suite/FUP4/out.yaml new file mode 100644 index 0000000..3e0f621 --- /dev/null +++ b/tests/yaml-test-suite/FUP4/out.yaml @@ -0,0 +1,3 @@ +- a +- - b + - c diff --git a/tests/yaml-test-suite/FUP4/test.event b/tests/yaml-test-suite/FUP4/test.event new file mode 100644 index 0000000..b25bde4 --- /dev/null +++ b/tests/yaml-test-suite/FUP4/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++SEQ [] +=VAL :a ++SEQ [] +=VAL :b +=VAL :c +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/G4RS.yaml b/tests/yaml-test-suite/G4RS.yaml deleted file mode 100644 index c468cd5..0000000 --- a/tests/yaml-test-suite/G4RS.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -- name: Spec Example 2.17. Quoted Scalars - from: http://www.yaml.org/spec/1.2/spec.html#id2761245 - tags: spec scalar - yaml: | - unicode: "Sosa did fine.\u263A" - control: "\b1998\t1999\t2000\n" - hex esc: "\x0d\x0a is \r\n" - - single: '"Howdy!" he cried.' - quoted: ' # Not a ''comment''.' - tie-fighter: '|\-*-/|' - tree: | - +STR - +DOC - +MAP - =VAL :unicode - =VAL "Sosa did fine.☺ - =VAL :control - =VAL "\b1998\t1999\t2000\n - =VAL :hex esc - =VAL "\r\n is \r\n - =VAL :single - =VAL '"Howdy!" he cried. - =VAL :quoted - =VAL ' # Not a 'comment'. - =VAL :tie-fighter - =VAL '|\\-*-/| - -MAP - -DOC - -STR - json: | - { - "unicode": "Sosa did fine.☺", - "control": "\b1998\t1999\t2000\n", - "hex esc": "\r\n is \r\n", - "single": "\"Howdy!\" he cried.", - "quoted": " # Not a 'comment'.", - "tie-fighter": "|\\-*-/|" - } - dump: | - unicode: "Sosa did fine.\u263A" - control: "\b1998\t1999\t2000\n" - hex esc: "\r\n is \r\n" - single: '"Howdy!" he cried.' - quoted: ' # Not a ''comment''.' - tie-fighter: '|\-*-/|' diff --git a/tests/yaml-test-suite/G4RS/=== b/tests/yaml-test-suite/G4RS/=== new file mode 100644 index 0000000..4b3cf91 --- /dev/null +++ b/tests/yaml-test-suite/G4RS/=== @@ -0,0 +1 @@ +Spec Example 2.17. Quoted Scalars diff --git a/tests/yaml-test-suite/G4RS/in.json b/tests/yaml-test-suite/G4RS/in.json new file mode 100644 index 0000000..9b2b73a --- /dev/null +++ b/tests/yaml-test-suite/G4RS/in.json @@ -0,0 +1,8 @@ +{ + "unicode": "Sosa did fine.☺", + "control": "\b1998\t1999\t2000\n", + "hex esc": "\r\n is \r\n", + "single": "\"Howdy!\" he cried.", + "quoted": " # Not a 'comment'.", + "tie-fighter": "|\\-*-/|" +} diff --git a/tests/yaml-test-suite/G4RS/in.yaml b/tests/yaml-test-suite/G4RS/in.yaml new file mode 100644 index 0000000..c5c2a18 --- /dev/null +++ b/tests/yaml-test-suite/G4RS/in.yaml @@ -0,0 +1,7 @@ +unicode: "Sosa did fine.\u263A" +control: "\b1998\t1999\t2000\n" +hex esc: "\x0d\x0a is \r\n" + +single: '"Howdy!" he cried.' +quoted: ' # Not a ''comment''.' +tie-fighter: '|\-*-/|' diff --git a/tests/yaml-test-suite/G4RS/out.yaml b/tests/yaml-test-suite/G4RS/out.yaml new file mode 100644 index 0000000..1948383 --- /dev/null +++ b/tests/yaml-test-suite/G4RS/out.yaml @@ -0,0 +1,6 @@ +unicode: "Sosa did fine.\u263A" +control: "\b1998\t1999\t2000\n" +hex esc: "\r\n is \r\n" +single: '"Howdy!" he cried.' +quoted: ' # Not a ''comment''.' +tie-fighter: '|\-*-/|' diff --git a/tests/yaml-test-suite/G4RS/test.event b/tests/yaml-test-suite/G4RS/test.event new file mode 100644 index 0000000..6a8a87a --- /dev/null +++ b/tests/yaml-test-suite/G4RS/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++MAP +=VAL :unicode +=VAL "Sosa did fine.☺ +=VAL :control +=VAL "\b1998\t1999\t2000\n +=VAL :hex esc +=VAL "\r\n is \r\n +=VAL :single +=VAL '"Howdy!" he cried. +=VAL :quoted +=VAL ' # Not a 'comment'. +=VAL :tie-fighter +=VAL '|\\-*-/| +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/G5U8.yaml b/tests/yaml-test-suite/G5U8.yaml deleted file mode 100644 index ad8f4b9..0000000 --- a/tests/yaml-test-suite/G5U8.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Plain dashes in flow sequence - from: '@ingydotnet' - tags: flow sequence - fail: true - yaml: | - --- - - [-, -] - tree: | - +STR - +DOC --- - +SEQ - +SEQ [] diff --git a/tests/yaml-test-suite/G5U8/=== b/tests/yaml-test-suite/G5U8/=== new file mode 100644 index 0000000..6153016 --- /dev/null +++ b/tests/yaml-test-suite/G5U8/=== @@ -0,0 +1 @@ +Plain dashes in flow sequence diff --git a/tests/yaml-test-suite/G5U8/error b/tests/yaml-test-suite/G5U8/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/G5U8/in.yaml b/tests/yaml-test-suite/G5U8/in.yaml new file mode 100644 index 0000000..2af57e7 --- /dev/null +++ b/tests/yaml-test-suite/G5U8/in.yaml @@ -0,0 +1,2 @@ +--- +- [-, -] diff --git a/tests/yaml-test-suite/G5U8/test.event b/tests/yaml-test-suite/G5U8/test.event new file mode 100644 index 0000000..a84b729 --- /dev/null +++ b/tests/yaml-test-suite/G5U8/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++SEQ ++SEQ [] diff --git a/tests/yaml-test-suite/G7JE.yaml b/tests/yaml-test-suite/G7JE.yaml deleted file mode 100644 index 6c075a0..0000000 --- a/tests/yaml-test-suite/G7JE.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Multiline implicit keys - from: '@perlpunk' - tags: error mapping - fail: true - yaml: | - a\nb: 1 - c - d: 1 - tree: | - +STR - +DOC - +MAP - =VAL :a\\nb - =VAL :1 diff --git a/tests/yaml-test-suite/G7JE/=== b/tests/yaml-test-suite/G7JE/=== new file mode 100644 index 0000000..a4b5f1a --- /dev/null +++ b/tests/yaml-test-suite/G7JE/=== @@ -0,0 +1 @@ +Multiline implicit keys diff --git a/tests/yaml-test-suite/G7JE/error b/tests/yaml-test-suite/G7JE/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/G7JE/in.yaml b/tests/yaml-test-suite/G7JE/in.yaml new file mode 100644 index 0000000..e0a85bf --- /dev/null +++ b/tests/yaml-test-suite/G7JE/in.yaml @@ -0,0 +1,3 @@ +a\nb: 1 +c + d: 1 diff --git a/tests/yaml-test-suite/G7JE/test.event b/tests/yaml-test-suite/G7JE/test.event new file mode 100644 index 0000000..d264b4c --- /dev/null +++ b/tests/yaml-test-suite/G7JE/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL :a\\nb +=VAL :1 diff --git a/tests/yaml-test-suite/G992.yaml b/tests/yaml-test-suite/G992.yaml deleted file mode 100644 index 8a57df8..0000000 --- a/tests/yaml-test-suite/G992.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Spec Example 8.9. Folded Scalar - from: http://www.yaml.org/spec/1.2/spec.html#id2796371 - tags: spec folded scalar 1.3-err - yaml: | - > - folded - text - ↵ - ↵ - tree: | - +STR - +DOC - =VAL >folded text\n - -DOC - -STR - json: | - "folded text\n" - dump: | - > - folded text diff --git a/tests/yaml-test-suite/G992/=== b/tests/yaml-test-suite/G992/=== new file mode 100644 index 0000000..c8c60c6 --- /dev/null +++ b/tests/yaml-test-suite/G992/=== @@ -0,0 +1 @@ +Spec Example 8.9. Folded Scalar diff --git a/tests/yaml-test-suite/G992/in.json b/tests/yaml-test-suite/G992/in.json new file mode 100644 index 0000000..d5cf354 --- /dev/null +++ b/tests/yaml-test-suite/G992/in.json @@ -0,0 +1 @@ +"folded text\n" diff --git a/tests/yaml-test-suite/G992/in.yaml b/tests/yaml-test-suite/G992/in.yaml new file mode 100644 index 0000000..078fbc8 --- /dev/null +++ b/tests/yaml-test-suite/G992/in.yaml @@ -0,0 +1,5 @@ +> + folded + text + + diff --git a/tests/yaml-test-suite/G992/out.yaml b/tests/yaml-test-suite/G992/out.yaml new file mode 100644 index 0000000..40f6371 --- /dev/null +++ b/tests/yaml-test-suite/G992/out.yaml @@ -0,0 +1,2 @@ +> + folded text diff --git a/tests/yaml-test-suite/G992/test.event b/tests/yaml-test-suite/G992/test.event new file mode 100644 index 0000000..4e566a5 --- /dev/null +++ b/tests/yaml-test-suite/G992/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL >folded text\n +-DOC +-STR diff --git a/tests/yaml-test-suite/G9HC.yaml b/tests/yaml-test-suite/G9HC.yaml deleted file mode 100644 index 227a6ed..0000000 --- a/tests/yaml-test-suite/G9HC.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Invalid anchor in zero indented sequence - from: '@perlpunk' - tags: anchor error sequence - fail: true - yaml: | - --- - seq: - &anchor - - a - - b - tree: | - +STR - +DOC --- - +MAP - =VAL :seq diff --git a/tests/yaml-test-suite/G9HC/=== b/tests/yaml-test-suite/G9HC/=== new file mode 100644 index 0000000..f787d7f --- /dev/null +++ b/tests/yaml-test-suite/G9HC/=== @@ -0,0 +1 @@ +Invalid anchor in zero indented sequence diff --git a/tests/yaml-test-suite/G9HC/error b/tests/yaml-test-suite/G9HC/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/G9HC/in.yaml b/tests/yaml-test-suite/G9HC/in.yaml new file mode 100644 index 0000000..8525992 --- /dev/null +++ b/tests/yaml-test-suite/G9HC/in.yaml @@ -0,0 +1,5 @@ +--- +seq: +&anchor +- a +- b diff --git a/tests/yaml-test-suite/G9HC/test.event b/tests/yaml-test-suite/G9HC/test.event new file mode 100644 index 0000000..d502457 --- /dev/null +++ b/tests/yaml-test-suite/G9HC/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++MAP +=VAL :seq diff --git a/tests/yaml-test-suite/GDY7.yaml b/tests/yaml-test-suite/GDY7.yaml deleted file mode 100644 index 6962ecc..0000000 --- a/tests/yaml-test-suite/GDY7.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Comment that looks like a mapping key - from: '@perlpunk' - tags: comment error mapping - fail: true - yaml: | - key: value - this is #not a: key - tree: | - +STR - +DOC - +MAP - =VAL :key - =VAL :value diff --git a/tests/yaml-test-suite/GDY7/=== b/tests/yaml-test-suite/GDY7/=== new file mode 100644 index 0000000..e83d298 --- /dev/null +++ b/tests/yaml-test-suite/GDY7/=== @@ -0,0 +1 @@ +Comment that looks like a mapping key diff --git a/tests/yaml-test-suite/GDY7/error b/tests/yaml-test-suite/GDY7/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/GDY7/in.yaml b/tests/yaml-test-suite/GDY7/in.yaml new file mode 100644 index 0000000..ac493b7 --- /dev/null +++ b/tests/yaml-test-suite/GDY7/in.yaml @@ -0,0 +1,2 @@ +key: value +this is #not a: key diff --git a/tests/yaml-test-suite/GDY7/test.event b/tests/yaml-test-suite/GDY7/test.event new file mode 100644 index 0000000..3703456 --- /dev/null +++ b/tests/yaml-test-suite/GDY7/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL :key +=VAL :value diff --git a/tests/yaml-test-suite/GH63.yaml b/tests/yaml-test-suite/GH63.yaml deleted file mode 100644 index fda8c77..0000000 --- a/tests/yaml-test-suite/GH63.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Mixed Block Mapping (explicit to implicit) - from: NimYAML tests - tags: explicit-key mapping - yaml: | - ? a - : 1.3 - fifteen: d - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL :1.3 - =VAL :fifteen - =VAL :d - -MAP - -DOC - -STR - json: | - { - "a": 1.3, - "fifteen": "d" - } - dump: | - a: 1.3 - fifteen: d diff --git a/tests/yaml-test-suite/GH63/=== b/tests/yaml-test-suite/GH63/=== new file mode 100644 index 0000000..47bcbf4 --- /dev/null +++ b/tests/yaml-test-suite/GH63/=== @@ -0,0 +1 @@ +Mixed Block Mapping (explicit to implicit) diff --git a/tests/yaml-test-suite/GH63/in.json b/tests/yaml-test-suite/GH63/in.json new file mode 100644 index 0000000..649f5e4 --- /dev/null +++ b/tests/yaml-test-suite/GH63/in.json @@ -0,0 +1,4 @@ +{ + "a": 1.3, + "fifteen": "d" +} diff --git a/tests/yaml-test-suite/GH63/in.yaml b/tests/yaml-test-suite/GH63/in.yaml new file mode 100644 index 0000000..e54cd41 --- /dev/null +++ b/tests/yaml-test-suite/GH63/in.yaml @@ -0,0 +1,3 @@ +? a +: 1.3 +fifteen: d diff --git a/tests/yaml-test-suite/GH63/out.yaml b/tests/yaml-test-suite/GH63/out.yaml new file mode 100644 index 0000000..b46ee8a --- /dev/null +++ b/tests/yaml-test-suite/GH63/out.yaml @@ -0,0 +1,2 @@ +a: 1.3 +fifteen: d diff --git a/tests/yaml-test-suite/GH63/test.event b/tests/yaml-test-suite/GH63/test.event new file mode 100644 index 0000000..b216b47 --- /dev/null +++ b/tests/yaml-test-suite/GH63/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL :1.3 +=VAL :fifteen +=VAL :d +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/GT5M.yaml b/tests/yaml-test-suite/GT5M.yaml deleted file mode 100644 index 9c951af..0000000 --- a/tests/yaml-test-suite/GT5M.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Node anchor in sequence - from: '@perlpunk' - tags: anchor error sequence - fail: true - yaml: | - - item1 - &node - - item2 - tree: | - +STR - +DOC - +SEQ - =VAL :item1 diff --git a/tests/yaml-test-suite/GT5M/=== b/tests/yaml-test-suite/GT5M/=== new file mode 100644 index 0000000..2783c44 --- /dev/null +++ b/tests/yaml-test-suite/GT5M/=== @@ -0,0 +1 @@ +Node anchor in sequence diff --git a/tests/yaml-test-suite/GT5M/error b/tests/yaml-test-suite/GT5M/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/GT5M/in.yaml b/tests/yaml-test-suite/GT5M/in.yaml new file mode 100644 index 0000000..d641a43 --- /dev/null +++ b/tests/yaml-test-suite/GT5M/in.yaml @@ -0,0 +1,3 @@ +- item1 +&node +- item2 diff --git a/tests/yaml-test-suite/GT5M/test.event b/tests/yaml-test-suite/GT5M/test.event new file mode 100644 index 0000000..d30c32d --- /dev/null +++ b/tests/yaml-test-suite/GT5M/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ +=VAL :item1 diff --git a/tests/yaml-test-suite/H2RW.yaml b/tests/yaml-test-suite/H2RW.yaml deleted file mode 100644 index 1a65a14..0000000 --- a/tests/yaml-test-suite/H2RW.yaml +++ /dev/null @@ -1,51 +0,0 @@ ---- -- name: Blank lines - from: IRC discussion with leont - tags: comment literal scalar whitespace - yaml: | - foo: 1 - - bar: 2 - ␣␣␣␣ - text: | - a - ␣␣␣␣ - b - - c - ␣ - d - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :1 - =VAL :bar - =VAL :2 - =VAL :text - =VAL |a\n \nb\n\nc\n\nd\n - -MAP - -DOC - -STR - json: | - { - "foo": 1, - "bar": 2, - "text": "a\n \nb\n\nc\n\nd\n" - } - dump: | - foo: 1 - bar: 2 - text: "a\n \nb\n\nc\n\nd\n" - emit: | - foo: 1 - bar: 2 - text: | - a - ␣␣␣␣ - b - - c - - d diff --git a/tests/yaml-test-suite/H2RW/=== b/tests/yaml-test-suite/H2RW/=== new file mode 100644 index 0000000..5a8c25f --- /dev/null +++ b/tests/yaml-test-suite/H2RW/=== @@ -0,0 +1 @@ +Blank lines diff --git a/tests/yaml-test-suite/H2RW/emit.yaml b/tests/yaml-test-suite/H2RW/emit.yaml new file mode 100644 index 0000000..15eff1d --- /dev/null +++ b/tests/yaml-test-suite/H2RW/emit.yaml @@ -0,0 +1,10 @@ +foo: 1 +bar: 2 +text: | + a + + b + + c + + d diff --git a/tests/yaml-test-suite/H2RW/in.json b/tests/yaml-test-suite/H2RW/in.json new file mode 100644 index 0000000..6a308c5 --- /dev/null +++ b/tests/yaml-test-suite/H2RW/in.json @@ -0,0 +1,5 @@ +{ + "foo": 1, + "bar": 2, + "text": "a\n \nb\n\nc\n\nd\n" +} diff --git a/tests/yaml-test-suite/H2RW/in.yaml b/tests/yaml-test-suite/H2RW/in.yaml new file mode 100644 index 0000000..4987de2 --- /dev/null +++ b/tests/yaml-test-suite/H2RW/in.yaml @@ -0,0 +1,12 @@ +foo: 1 + +bar: 2 + +text: | + a + + b + + c + + d diff --git a/tests/yaml-test-suite/H2RW/out.yaml b/tests/yaml-test-suite/H2RW/out.yaml new file mode 100644 index 0000000..a006414 --- /dev/null +++ b/tests/yaml-test-suite/H2RW/out.yaml @@ -0,0 +1,3 @@ +foo: 1 +bar: 2 +text: "a\n \nb\n\nc\n\nd\n" diff --git a/tests/yaml-test-suite/H2RW/test.event b/tests/yaml-test-suite/H2RW/test.event new file mode 100644 index 0000000..836ca98 --- /dev/null +++ b/tests/yaml-test-suite/H2RW/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :1 +=VAL :bar +=VAL :2 +=VAL :text +=VAL |a\n \nb\n\nc\n\nd\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/H3Z8.yaml b/tests/yaml-test-suite/H3Z8.yaml deleted file mode 100644 index ff988d2..0000000 --- a/tests/yaml-test-suite/H3Z8.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Literal unicode - from: '@perlpunk' - tags: scalar - yaml: | - --- - wanted: love ♥ and peace ☮ - tree: | - +STR - +DOC --- - +MAP - =VAL :wanted - =VAL :love ♥ and peace ☮ - -MAP - -DOC - -STR - json: | - { - "wanted": "love ♥ and peace ☮" - } - dump: | - --- - wanted: "love \u2665 and peace \u262E" diff --git a/tests/yaml-test-suite/H3Z8/=== b/tests/yaml-test-suite/H3Z8/=== new file mode 100644 index 0000000..7caa484 --- /dev/null +++ b/tests/yaml-test-suite/H3Z8/=== @@ -0,0 +1 @@ +Literal unicode diff --git a/tests/yaml-test-suite/H3Z8/in.json b/tests/yaml-test-suite/H3Z8/in.json new file mode 100644 index 0000000..52e666b --- /dev/null +++ b/tests/yaml-test-suite/H3Z8/in.json @@ -0,0 +1,3 @@ +{ + "wanted": "love ♥ and peace ☮" +} diff --git a/tests/yaml-test-suite/H3Z8/in.yaml b/tests/yaml-test-suite/H3Z8/in.yaml new file mode 100644 index 0000000..3cf0d46 --- /dev/null +++ b/tests/yaml-test-suite/H3Z8/in.yaml @@ -0,0 +1,2 @@ +--- +wanted: love ♥ and peace ☮ diff --git a/tests/yaml-test-suite/H3Z8/out.yaml b/tests/yaml-test-suite/H3Z8/out.yaml new file mode 100644 index 0000000..6d1d887 --- /dev/null +++ b/tests/yaml-test-suite/H3Z8/out.yaml @@ -0,0 +1,2 @@ +--- +wanted: "love \u2665 and peace \u262E" diff --git a/tests/yaml-test-suite/H3Z8/test.event b/tests/yaml-test-suite/H3Z8/test.event new file mode 100644 index 0000000..817ac52 --- /dev/null +++ b/tests/yaml-test-suite/H3Z8/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP +=VAL :wanted +=VAL :love ♥ and peace ☮ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/H7J7.yaml b/tests/yaml-test-suite/H7J7.yaml deleted file mode 100644 index 009d9e3..0000000 --- a/tests/yaml-test-suite/H7J7.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Node anchor not indented - from: https://gist.github.com/anonymous/f192e7dab6da31831f264dbf1947cb83 via @ingydotnet - tags: anchor error indent tag - fail: true - yaml: | - key: &x - !!map - a: b - tree: | - +STR - +DOC - +MAP - =VAL :key - =VAL &x : diff --git a/tests/yaml-test-suite/H7J7/=== b/tests/yaml-test-suite/H7J7/=== new file mode 100644 index 0000000..d452569 --- /dev/null +++ b/tests/yaml-test-suite/H7J7/=== @@ -0,0 +1 @@ +Node anchor not indented diff --git a/tests/yaml-test-suite/H7J7/error b/tests/yaml-test-suite/H7J7/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/H7J7/in.yaml b/tests/yaml-test-suite/H7J7/in.yaml new file mode 100644 index 0000000..2670fee --- /dev/null +++ b/tests/yaml-test-suite/H7J7/in.yaml @@ -0,0 +1,3 @@ +key: &x +!!map + a: b diff --git a/tests/yaml-test-suite/H7J7/test.event b/tests/yaml-test-suite/H7J7/test.event new file mode 100644 index 0000000..5727622 --- /dev/null +++ b/tests/yaml-test-suite/H7J7/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL :key +=VAL &x : diff --git a/tests/yaml-test-suite/H7TQ.yaml b/tests/yaml-test-suite/H7TQ.yaml deleted file mode 100644 index c8d4065..0000000 --- a/tests/yaml-test-suite/H7TQ.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: Extra words on %YAML directive - from: '@ingydotnet' - tags: directive - fail: true - yaml: | - %YAML 1.2 foo - --- - tree: | - +STR diff --git a/tests/yaml-test-suite/H7TQ/=== b/tests/yaml-test-suite/H7TQ/=== new file mode 100644 index 0000000..aaef728 --- /dev/null +++ b/tests/yaml-test-suite/H7TQ/=== @@ -0,0 +1 @@ +Extra words on %YAML directive diff --git a/tests/yaml-test-suite/H7TQ/error b/tests/yaml-test-suite/H7TQ/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/H7TQ/in.yaml b/tests/yaml-test-suite/H7TQ/in.yaml new file mode 100644 index 0000000..79aadcd --- /dev/null +++ b/tests/yaml-test-suite/H7TQ/in.yaml @@ -0,0 +1,2 @@ +%YAML 1.2 foo +--- diff --git a/tests/yaml-test-suite/H7TQ/test.event b/tests/yaml-test-suite/H7TQ/test.event new file mode 100644 index 0000000..e72d602 --- /dev/null +++ b/tests/yaml-test-suite/H7TQ/test.event @@ -0,0 +1 @@ ++STR diff --git a/tests/yaml-test-suite/HM87.yaml b/tests/yaml-test-suite/HM87.yaml deleted file mode 100644 index 7b54f49..0000000 --- a/tests/yaml-test-suite/HM87.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Scalars in flow start with syntax char - from: '@ingydotnet' - tags: flow scalar - yaml: | - [:x] - tree: | - +STR - +DOC - +SEQ [] - =VAL ::x - -SEQ - -DOC - -STR - json: | - [ - ":x" - ] - dump: | - - :x - -- yaml: | - [?x] - tree: | - +STR - +DOC - +SEQ [] - =VAL :?x - -SEQ - -DOC - -STR - json: | - [ - "?x" - ] - dump: | - - ?x diff --git a/tests/yaml-test-suite/HM87/00/=== b/tests/yaml-test-suite/HM87/00/=== new file mode 100644 index 0000000..f22eb4f --- /dev/null +++ b/tests/yaml-test-suite/HM87/00/=== @@ -0,0 +1 @@ +Scalars in flow start with syntax char diff --git a/tests/yaml-test-suite/HM87/00/in.json b/tests/yaml-test-suite/HM87/00/in.json new file mode 100644 index 0000000..9959ccb --- /dev/null +++ b/tests/yaml-test-suite/HM87/00/in.json @@ -0,0 +1,3 @@ +[ + ":x" +] diff --git a/tests/yaml-test-suite/HM87/00/in.yaml b/tests/yaml-test-suite/HM87/00/in.yaml new file mode 100644 index 0000000..7b8d05b --- /dev/null +++ b/tests/yaml-test-suite/HM87/00/in.yaml @@ -0,0 +1 @@ +[:x] diff --git a/tests/yaml-test-suite/HM87/00/out.yaml b/tests/yaml-test-suite/HM87/00/out.yaml new file mode 100644 index 0000000..e0d67df --- /dev/null +++ b/tests/yaml-test-suite/HM87/00/out.yaml @@ -0,0 +1 @@ +- :x diff --git a/tests/yaml-test-suite/HM87/00/test.event b/tests/yaml-test-suite/HM87/00/test.event new file mode 100644 index 0000000..2a9c4cd --- /dev/null +++ b/tests/yaml-test-suite/HM87/00/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ [] +=VAL ::x +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/HM87/01/=== b/tests/yaml-test-suite/HM87/01/=== new file mode 100644 index 0000000..f22eb4f --- /dev/null +++ b/tests/yaml-test-suite/HM87/01/=== @@ -0,0 +1 @@ +Scalars in flow start with syntax char diff --git a/tests/yaml-test-suite/HM87/01/in.json b/tests/yaml-test-suite/HM87/01/in.json new file mode 100644 index 0000000..8150f2c --- /dev/null +++ b/tests/yaml-test-suite/HM87/01/in.json @@ -0,0 +1,3 @@ +[ + "?x" +] diff --git a/tests/yaml-test-suite/HM87/01/in.yaml b/tests/yaml-test-suite/HM87/01/in.yaml new file mode 100644 index 0000000..d52c931 --- /dev/null +++ b/tests/yaml-test-suite/HM87/01/in.yaml @@ -0,0 +1 @@ +[?x] diff --git a/tests/yaml-test-suite/HM87/01/out.yaml b/tests/yaml-test-suite/HM87/01/out.yaml new file mode 100644 index 0000000..d41b73c --- /dev/null +++ b/tests/yaml-test-suite/HM87/01/out.yaml @@ -0,0 +1 @@ +- ?x diff --git a/tests/yaml-test-suite/HM87/01/test.event b/tests/yaml-test-suite/HM87/01/test.event new file mode 100644 index 0000000..14bab5f --- /dev/null +++ b/tests/yaml-test-suite/HM87/01/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ [] +=VAL :?x +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/HMK4.yaml b/tests/yaml-test-suite/HMK4.yaml deleted file mode 100644 index c4c248b..0000000 --- a/tests/yaml-test-suite/HMK4.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- name: Spec Example 2.16. Indentation determines scope - from: http://www.yaml.org/spec/1.2/spec.html#id2761083 - tags: spec folded literal - yaml: | - name: Mark McGwire - accomplishment: > - Mark set a major league - home run record in 1998. - stats: | - 65 Home Runs - 0.278 Batting Average - tree: | - +STR - +DOC - +MAP - =VAL :name - =VAL :Mark McGwire - =VAL :accomplishment - =VAL >Mark set a major league home run record in 1998.\n - =VAL :stats - =VAL |65 Home Runs\n0.278 Batting Average\n - -MAP - -DOC - -STR - json: | - { - "name": "Mark McGwire", - "accomplishment": "Mark set a major league home run record in 1998.\n", - "stats": "65 Home Runs\n0.278 Batting Average\n" - } - dump: | - name: Mark McGwire - accomplishment: > - Mark set a major league home run record in 1998. - stats: | - 65 Home Runs - 0.278 Batting Average diff --git a/tests/yaml-test-suite/HMK4/=== b/tests/yaml-test-suite/HMK4/=== new file mode 100644 index 0000000..bec31dd --- /dev/null +++ b/tests/yaml-test-suite/HMK4/=== @@ -0,0 +1 @@ +Spec Example 2.16. Indentation determines scope diff --git a/tests/yaml-test-suite/HMK4/in.json b/tests/yaml-test-suite/HMK4/in.json new file mode 100644 index 0000000..e1887b5 --- /dev/null +++ b/tests/yaml-test-suite/HMK4/in.json @@ -0,0 +1,5 @@ +{ + "name": "Mark McGwire", + "accomplishment": "Mark set a major league home run record in 1998.\n", + "stats": "65 Home Runs\n0.278 Batting Average\n" +} diff --git a/tests/yaml-test-suite/HMK4/in.yaml b/tests/yaml-test-suite/HMK4/in.yaml new file mode 100644 index 0000000..9f66d88 --- /dev/null +++ b/tests/yaml-test-suite/HMK4/in.yaml @@ -0,0 +1,7 @@ +name: Mark McGwire +accomplishment: > + Mark set a major league + home run record in 1998. +stats: | + 65 Home Runs + 0.278 Batting Average diff --git a/tests/yaml-test-suite/HMK4/out.yaml b/tests/yaml-test-suite/HMK4/out.yaml new file mode 100644 index 0000000..796d3bd --- /dev/null +++ b/tests/yaml-test-suite/HMK4/out.yaml @@ -0,0 +1,6 @@ +name: Mark McGwire +accomplishment: > + Mark set a major league home run record in 1998. +stats: | + 65 Home Runs + 0.278 Batting Average diff --git a/tests/yaml-test-suite/HMK4/test.event b/tests/yaml-test-suite/HMK4/test.event new file mode 100644 index 0000000..c3ae8c2 --- /dev/null +++ b/tests/yaml-test-suite/HMK4/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :name +=VAL :Mark McGwire +=VAL :accomplishment +=VAL >Mark set a major league home run record in 1998.\n +=VAL :stats +=VAL |65 Home Runs\n0.278 Batting Average\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/HMQ5.yaml b/tests/yaml-test-suite/HMQ5.yaml deleted file mode 100644 index a645764..0000000 --- a/tests/yaml-test-suite/HMQ5.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Spec Example 6.23. Node Properties - from: http://www.yaml.org/spec/1.2/spec.html#id2783940 - tags: spec tag alias - yaml: | - !!str &a1 "foo": - !!str bar - &a2 baz : *a1 - tree: | - +STR - +DOC - +MAP - =VAL &a1 "foo - =VAL :bar - =VAL &a2 :baz - =ALI *a1 - -MAP - -DOC - -STR - json: | - { - "foo": "bar", - "baz": "foo" - } - dump: | - &a1 !!str "foo": !!str bar - &a2 baz: *a1 diff --git a/tests/yaml-test-suite/HMQ5/=== b/tests/yaml-test-suite/HMQ5/=== new file mode 100644 index 0000000..0cd5070 --- /dev/null +++ b/tests/yaml-test-suite/HMQ5/=== @@ -0,0 +1 @@ +Spec Example 6.23. Node Properties diff --git a/tests/yaml-test-suite/HMQ5/in.json b/tests/yaml-test-suite/HMQ5/in.json new file mode 100644 index 0000000..510c6a7 --- /dev/null +++ b/tests/yaml-test-suite/HMQ5/in.json @@ -0,0 +1,4 @@ +{ + "foo": "bar", + "baz": "foo" +} diff --git a/tests/yaml-test-suite/HMQ5/in.yaml b/tests/yaml-test-suite/HMQ5/in.yaml new file mode 100644 index 0000000..66d75f3 --- /dev/null +++ b/tests/yaml-test-suite/HMQ5/in.yaml @@ -0,0 +1,3 @@ +!!str &a1 "foo": + !!str bar +&a2 baz : *a1 diff --git a/tests/yaml-test-suite/HMQ5/out.yaml b/tests/yaml-test-suite/HMQ5/out.yaml new file mode 100644 index 0000000..22c8650 --- /dev/null +++ b/tests/yaml-test-suite/HMQ5/out.yaml @@ -0,0 +1,2 @@ +&a1 !!str "foo": !!str bar +&a2 baz: *a1 diff --git a/tests/yaml-test-suite/HMQ5/test.event b/tests/yaml-test-suite/HMQ5/test.event new file mode 100644 index 0000000..da6211d --- /dev/null +++ b/tests/yaml-test-suite/HMQ5/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL &a1 "foo +=VAL :bar +=VAL &a2 :baz +=ALI *a1 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/HRE5.yaml b/tests/yaml-test-suite/HRE5.yaml deleted file mode 100644 index f4d4236..0000000 --- a/tests/yaml-test-suite/HRE5.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Double quoted scalar with escaped single quote - from: https://github.com/yaml/libyaml/issues/68 - tags: double error single - fail: true - yaml: | - --- - double: "quoted \' scalar" - tree: | - +STR - +DOC --- - +MAP - =VAL :double diff --git a/tests/yaml-test-suite/HRE5/=== b/tests/yaml-test-suite/HRE5/=== new file mode 100644 index 0000000..f7f9b92 --- /dev/null +++ b/tests/yaml-test-suite/HRE5/=== @@ -0,0 +1 @@ +Double quoted scalar with escaped single quote diff --git a/tests/yaml-test-suite/HRE5/error b/tests/yaml-test-suite/HRE5/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/HRE5/in.yaml b/tests/yaml-test-suite/HRE5/in.yaml new file mode 100644 index 0000000..bee64c1 --- /dev/null +++ b/tests/yaml-test-suite/HRE5/in.yaml @@ -0,0 +1,2 @@ +--- +double: "quoted \' scalar" diff --git a/tests/yaml-test-suite/HRE5/test.event b/tests/yaml-test-suite/HRE5/test.event new file mode 100644 index 0000000..22055aa --- /dev/null +++ b/tests/yaml-test-suite/HRE5/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++MAP +=VAL :double diff --git a/tests/yaml-test-suite/HS5T.yaml b/tests/yaml-test-suite/HS5T.yaml deleted file mode 100644 index 9a24d17..0000000 --- a/tests/yaml-test-suite/HS5T.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Spec Example 7.12. Plain Lines - from: http://www.yaml.org/spec/1.2/spec.html#id2789986 - tags: spec scalar whitespace upto-1.2 - yaml: | - 1st non-empty - - 2nd non-empty␣ - ———»3rd non-empty - tree: | - +STR - +DOC - =VAL :1st non-empty\n2nd non-empty 3rd non-empty - -DOC - -STR - json: | - "1st non-empty\n2nd non-empty 3rd non-empty" - dump: | - '1st non-empty - - 2nd non-empty 3rd non-empty' diff --git a/tests/yaml-test-suite/HS5T/=== b/tests/yaml-test-suite/HS5T/=== new file mode 100644 index 0000000..97927aa --- /dev/null +++ b/tests/yaml-test-suite/HS5T/=== @@ -0,0 +1 @@ +Spec Example 7.12. Plain Lines diff --git a/tests/yaml-test-suite/HS5T/in.json b/tests/yaml-test-suite/HS5T/in.json new file mode 100644 index 0000000..2dc1d4e --- /dev/null +++ b/tests/yaml-test-suite/HS5T/in.json @@ -0,0 +1 @@ +"1st non-empty\n2nd non-empty 3rd non-empty" diff --git a/tests/yaml-test-suite/HS5T/in.yaml b/tests/yaml-test-suite/HS5T/in.yaml new file mode 100644 index 0000000..0499250 --- /dev/null +++ b/tests/yaml-test-suite/HS5T/in.yaml @@ -0,0 +1,4 @@ +1st non-empty + + 2nd non-empty + 3rd non-empty diff --git a/tests/yaml-test-suite/HS5T/out.yaml b/tests/yaml-test-suite/HS5T/out.yaml new file mode 100644 index 0000000..6d2491b --- /dev/null +++ b/tests/yaml-test-suite/HS5T/out.yaml @@ -0,0 +1,3 @@ +'1st non-empty + + 2nd non-empty 3rd non-empty' diff --git a/tests/yaml-test-suite/HS5T/test.event b/tests/yaml-test-suite/HS5T/test.event new file mode 100644 index 0000000..505bd4c --- /dev/null +++ b/tests/yaml-test-suite/HS5T/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL :1st non-empty\n2nd non-empty 3rd non-empty +-DOC +-STR diff --git a/tests/yaml-test-suite/HU3P.yaml b/tests/yaml-test-suite/HU3P.yaml deleted file mode 100644 index 537d97a..0000000 --- a/tests/yaml-test-suite/HU3P.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Invalid Mapping in plain scalar - from: https://gist.github.com/anonymous/d305fd8e54cfe7a484088c91a8a2e533 via @ingydotnet - tags: error mapping scalar - fail: true - yaml: | - key: - word1 word2 - no: key - tree: | - +STR - +DOC - +MAP - =VAL :key diff --git a/tests/yaml-test-suite/HU3P/=== b/tests/yaml-test-suite/HU3P/=== new file mode 100644 index 0000000..cffcf89 --- /dev/null +++ b/tests/yaml-test-suite/HU3P/=== @@ -0,0 +1 @@ +Invalid Mapping in plain scalar diff --git a/tests/yaml-test-suite/HU3P/error b/tests/yaml-test-suite/HU3P/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/HU3P/in.yaml b/tests/yaml-test-suite/HU3P/in.yaml new file mode 100644 index 0000000..d512120 --- /dev/null +++ b/tests/yaml-test-suite/HU3P/in.yaml @@ -0,0 +1,3 @@ +key: + word1 word2 + no: key diff --git a/tests/yaml-test-suite/HU3P/test.event b/tests/yaml-test-suite/HU3P/test.event new file mode 100644 index 0000000..174e371 --- /dev/null +++ b/tests/yaml-test-suite/HU3P/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :key diff --git a/tests/yaml-test-suite/HWV9.yaml b/tests/yaml-test-suite/HWV9.yaml deleted file mode 100644 index 1e8264d..0000000 --- a/tests/yaml-test-suite/HWV9.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Document-end marker - from: '@perlpunk' - tags: footer - yaml: | - ... - tree: | - +STR - -STR - json: '' - dump: '' diff --git a/tests/yaml-test-suite/HWV9/=== b/tests/yaml-test-suite/HWV9/=== new file mode 100644 index 0000000..8c6728d --- /dev/null +++ b/tests/yaml-test-suite/HWV9/=== @@ -0,0 +1 @@ +Document-end marker diff --git a/tests/yaml-test-suite/HWV9/in.json b/tests/yaml-test-suite/HWV9/in.json new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/HWV9/in.yaml b/tests/yaml-test-suite/HWV9/in.yaml new file mode 100644 index 0000000..eb1ae45 --- /dev/null +++ b/tests/yaml-test-suite/HWV9/in.yaml @@ -0,0 +1 @@ +... diff --git a/tests/yaml-test-suite/HWV9/out.yaml b/tests/yaml-test-suite/HWV9/out.yaml new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/HWV9/test.event b/tests/yaml-test-suite/HWV9/test.event new file mode 100644 index 0000000..a8c0574 --- /dev/null +++ b/tests/yaml-test-suite/HWV9/test.event @@ -0,0 +1,2 @@ ++STR +-STR diff --git a/tests/yaml-test-suite/J3BT.yaml b/tests/yaml-test-suite/J3BT.yaml deleted file mode 100644 index f7d766d..0000000 --- a/tests/yaml-test-suite/J3BT.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 5.12. Tabs and Spaces - from: http://www.yaml.org/spec/1.2/spec.html#id2775350 - tags: spec whitespace upto-1.2 - yaml: | - # Tabs and spaces - quoted: "Quoted ———»" - block:—»| - void main() { - —»printf("Hello, world!\n"); - } - tree: | - +STR - +DOC - +MAP - =VAL :quoted - =VAL "Quoted \t - =VAL :block - =VAL |void main() {\n\tprintf("Hello, world!\\n");\n}\n - -MAP - -DOC - -STR - json: | - { - "quoted": "Quoted \t", - "block": "void main() {\n\tprintf(\"Hello, world!\\n\");\n}\n" - } - dump: | - quoted: "Quoted \t" - block: | - void main() { - —»printf("Hello, world!\n"); - } diff --git a/tests/yaml-test-suite/J3BT/=== b/tests/yaml-test-suite/J3BT/=== new file mode 100644 index 0000000..5b51a80 --- /dev/null +++ b/tests/yaml-test-suite/J3BT/=== @@ -0,0 +1 @@ +Spec Example 5.12. Tabs and Spaces diff --git a/tests/yaml-test-suite/J3BT/in.json b/tests/yaml-test-suite/J3BT/in.json new file mode 100644 index 0000000..5072b48 --- /dev/null +++ b/tests/yaml-test-suite/J3BT/in.json @@ -0,0 +1,4 @@ +{ + "quoted": "Quoted \t", + "block": "void main() {\n\tprintf(\"Hello, world!\\n\");\n}\n" +} diff --git a/tests/yaml-test-suite/J3BT/in.yaml b/tests/yaml-test-suite/J3BT/in.yaml new file mode 100644 index 0000000..af9a321 --- /dev/null +++ b/tests/yaml-test-suite/J3BT/in.yaml @@ -0,0 +1,6 @@ +# Tabs and spaces +quoted: "Quoted " +block: | + void main() { + printf("Hello, world!\n"); + } diff --git a/tests/yaml-test-suite/J3BT/out.yaml b/tests/yaml-test-suite/J3BT/out.yaml new file mode 100644 index 0000000..f93e9ee --- /dev/null +++ b/tests/yaml-test-suite/J3BT/out.yaml @@ -0,0 +1,5 @@ +quoted: "Quoted \t" +block: | + void main() { + printf("Hello, world!\n"); + } diff --git a/tests/yaml-test-suite/J3BT/test.event b/tests/yaml-test-suite/J3BT/test.event new file mode 100644 index 0000000..d2a82f5 --- /dev/null +++ b/tests/yaml-test-suite/J3BT/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :quoted +=VAL "Quoted \t +=VAL :block +=VAL |void main() {\n\tprintf("Hello, world!\\n");\n}\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/J5UC.yaml b/tests/yaml-test-suite/J5UC.yaml deleted file mode 100644 index 6690568..0000000 --- a/tests/yaml-test-suite/J5UC.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Multiple Pair Block Mapping - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/mapping.tml - tags: mapping - yaml: | - foo: blue - bar: arrr - baz: jazz - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL :blue - =VAL :bar - =VAL :arrr - =VAL :baz - =VAL :jazz - -MAP - -DOC - -STR - json: | - { - "foo": "blue", - "bar": "arrr", - "baz": "jazz" - } diff --git a/tests/yaml-test-suite/J5UC/=== b/tests/yaml-test-suite/J5UC/=== new file mode 100644 index 0000000..7bdd7b2 --- /dev/null +++ b/tests/yaml-test-suite/J5UC/=== @@ -0,0 +1 @@ +Multiple Pair Block Mapping diff --git a/tests/yaml-test-suite/J5UC/in.json b/tests/yaml-test-suite/J5UC/in.json new file mode 100644 index 0000000..1d2cefe --- /dev/null +++ b/tests/yaml-test-suite/J5UC/in.json @@ -0,0 +1,5 @@ +{ + "foo": "blue", + "bar": "arrr", + "baz": "jazz" +} diff --git a/tests/yaml-test-suite/J5UC/in.yaml b/tests/yaml-test-suite/J5UC/in.yaml new file mode 100644 index 0000000..a40b18e --- /dev/null +++ b/tests/yaml-test-suite/J5UC/in.yaml @@ -0,0 +1,3 @@ +foo: blue +bar: arrr +baz: jazz diff --git a/tests/yaml-test-suite/J5UC/test.event b/tests/yaml-test-suite/J5UC/test.event new file mode 100644 index 0000000..0c3b96f --- /dev/null +++ b/tests/yaml-test-suite/J5UC/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL :blue +=VAL :bar +=VAL :arrr +=VAL :baz +=VAL :jazz +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/J7PZ.yaml b/tests/yaml-test-suite/J7PZ.yaml deleted file mode 100644 index 9183bae..0000000 --- a/tests/yaml-test-suite/J7PZ.yaml +++ /dev/null @@ -1,52 +0,0 @@ ---- -- name: Spec Example 2.26. Ordered Mappings - from: http://www.yaml.org/spec/1.2/spec.html#id2761780 - tags: spec mapping tag unknown-tag - yaml: | - # The !!omap tag is one of the optional types - # introduced for YAML 1.1. In 1.2, it is not - # part of the standard tags and should not be - # enabled by default. - # Ordered maps are represented as - # A sequence of mappings, with - # each mapping having one key - --- !!omap - - Mark McGwire: 65 - - Sammy Sosa: 63 - - Ken Griffy: 58 - tree: | - +STR - +DOC --- - +SEQ - +MAP - =VAL :Mark McGwire - =VAL :65 - -MAP - +MAP - =VAL :Sammy Sosa - =VAL :63 - -MAP - +MAP - =VAL :Ken Griffy - =VAL :58 - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "Mark McGwire": 65 - }, - { - "Sammy Sosa": 63 - }, - { - "Ken Griffy": 58 - } - ] - dump: | - --- !!omap - - Mark McGwire: 65 - - Sammy Sosa: 63 - - Ken Griffy: 58 diff --git a/tests/yaml-test-suite/J7PZ/=== b/tests/yaml-test-suite/J7PZ/=== new file mode 100644 index 0000000..58c5af1 --- /dev/null +++ b/tests/yaml-test-suite/J7PZ/=== @@ -0,0 +1 @@ +Spec Example 2.26. Ordered Mappings diff --git a/tests/yaml-test-suite/J7PZ/in.json b/tests/yaml-test-suite/J7PZ/in.json new file mode 100644 index 0000000..c5ae8a0 --- /dev/null +++ b/tests/yaml-test-suite/J7PZ/in.json @@ -0,0 +1,11 @@ +[ + { + "Mark McGwire": 65 + }, + { + "Sammy Sosa": 63 + }, + { + "Ken Griffy": 58 + } +] diff --git a/tests/yaml-test-suite/J7PZ/in.yaml b/tests/yaml-test-suite/J7PZ/in.yaml new file mode 100644 index 0000000..25692f4 --- /dev/null +++ b/tests/yaml-test-suite/J7PZ/in.yaml @@ -0,0 +1,11 @@ +# The !!omap tag is one of the optional types +# introduced for YAML 1.1. In 1.2, it is not +# part of the standard tags and should not be +# enabled by default. +# Ordered maps are represented as +# A sequence of mappings, with +# each mapping having one key +--- !!omap +- Mark McGwire: 65 +- Sammy Sosa: 63 +- Ken Griffy: 58 diff --git a/tests/yaml-test-suite/J7PZ/out.yaml b/tests/yaml-test-suite/J7PZ/out.yaml new file mode 100644 index 0000000..f4e881a --- /dev/null +++ b/tests/yaml-test-suite/J7PZ/out.yaml @@ -0,0 +1,4 @@ +--- !!omap +- Mark McGwire: 65 +- Sammy Sosa: 63 +- Ken Griffy: 58 diff --git a/tests/yaml-test-suite/J7PZ/test.event b/tests/yaml-test-suite/J7PZ/test.event new file mode 100644 index 0000000..264d950 --- /dev/null +++ b/tests/yaml-test-suite/J7PZ/test.event @@ -0,0 +1,18 @@ ++STR ++DOC --- ++SEQ ++MAP +=VAL :Mark McGwire +=VAL :65 +-MAP ++MAP +=VAL :Sammy Sosa +=VAL :63 +-MAP ++MAP +=VAL :Ken Griffy +=VAL :58 +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/J7VC.yaml b/tests/yaml-test-suite/J7VC.yaml deleted file mode 100644 index 1676809..0000000 --- a/tests/yaml-test-suite/J7VC.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Empty Lines Between Mapping Elements - from: NimYAML tests - tags: whitespace mapping - yaml: | - one: 2 - - - three: 4 - tree: | - +STR - +DOC - +MAP - =VAL :one - =VAL :2 - =VAL :three - =VAL :4 - -MAP - -DOC - -STR - json: | - { - "one": 2, - "three": 4 - } - dump: | - one: 2 - three: 4 diff --git a/tests/yaml-test-suite/J7VC/=== b/tests/yaml-test-suite/J7VC/=== new file mode 100644 index 0000000..b510a88 --- /dev/null +++ b/tests/yaml-test-suite/J7VC/=== @@ -0,0 +1 @@ +Empty Lines Between Mapping Elements diff --git a/tests/yaml-test-suite/J7VC/in.json b/tests/yaml-test-suite/J7VC/in.json new file mode 100644 index 0000000..d880c33 --- /dev/null +++ b/tests/yaml-test-suite/J7VC/in.json @@ -0,0 +1,4 @@ +{ + "one": 2, + "three": 4 +} diff --git a/tests/yaml-test-suite/J7VC/in.yaml b/tests/yaml-test-suite/J7VC/in.yaml new file mode 100644 index 0000000..47956a8 --- /dev/null +++ b/tests/yaml-test-suite/J7VC/in.yaml @@ -0,0 +1,4 @@ +one: 2 + + +three: 4 diff --git a/tests/yaml-test-suite/J7VC/out.yaml b/tests/yaml-test-suite/J7VC/out.yaml new file mode 100644 index 0000000..5654402 --- /dev/null +++ b/tests/yaml-test-suite/J7VC/out.yaml @@ -0,0 +1,2 @@ +one: 2 +three: 4 diff --git a/tests/yaml-test-suite/J7VC/test.event b/tests/yaml-test-suite/J7VC/test.event new file mode 100644 index 0000000..5a56a0a --- /dev/null +++ b/tests/yaml-test-suite/J7VC/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :one +=VAL :2 +=VAL :three +=VAL :4 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/J9HZ.yaml b/tests/yaml-test-suite/J9HZ.yaml deleted file mode 100644 index 85ddbdf..0000000 --- a/tests/yaml-test-suite/J9HZ.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Spec Example 2.9. Single Document with Two Comments - from: http://www.yaml.org/spec/1.2/spec.html#id2760633 - tags: mapping sequence spec comment - yaml: | - --- - hr: # 1998 hr ranking - - Mark McGwire - - Sammy Sosa - rbi: - # 1998 rbi ranking - - Sammy Sosa - - Ken Griffey - tree: | - +STR - +DOC --- - +MAP - =VAL :hr - +SEQ - =VAL :Mark McGwire - =VAL :Sammy Sosa - -SEQ - =VAL :rbi - +SEQ - =VAL :Sammy Sosa - =VAL :Ken Griffey - -SEQ - -MAP - -DOC - -STR - json: | - { - "hr": [ - "Mark McGwire", - "Sammy Sosa" - ], - "rbi": [ - "Sammy Sosa", - "Ken Griffey" - ] - } - dump: | - --- - hr: - - Mark McGwire - - Sammy Sosa - rbi: - - Sammy Sosa - - Ken Griffey diff --git a/tests/yaml-test-suite/J9HZ/=== b/tests/yaml-test-suite/J9HZ/=== new file mode 100644 index 0000000..3efcd4b --- /dev/null +++ b/tests/yaml-test-suite/J9HZ/=== @@ -0,0 +1 @@ +Spec Example 2.9. Single Document with Two Comments diff --git a/tests/yaml-test-suite/J9HZ/in.json b/tests/yaml-test-suite/J9HZ/in.json new file mode 100644 index 0000000..d32dc2f --- /dev/null +++ b/tests/yaml-test-suite/J9HZ/in.json @@ -0,0 +1,10 @@ +{ + "hr": [ + "Mark McGwire", + "Sammy Sosa" + ], + "rbi": [ + "Sammy Sosa", + "Ken Griffey" + ] +} diff --git a/tests/yaml-test-suite/J9HZ/in.yaml b/tests/yaml-test-suite/J9HZ/in.yaml new file mode 100644 index 0000000..e264180 --- /dev/null +++ b/tests/yaml-test-suite/J9HZ/in.yaml @@ -0,0 +1,8 @@ +--- +hr: # 1998 hr ranking + - Mark McGwire + - Sammy Sosa +rbi: + # 1998 rbi ranking + - Sammy Sosa + - Ken Griffey diff --git a/tests/yaml-test-suite/J9HZ/out.yaml b/tests/yaml-test-suite/J9HZ/out.yaml new file mode 100644 index 0000000..095a9e7 --- /dev/null +++ b/tests/yaml-test-suite/J9HZ/out.yaml @@ -0,0 +1,7 @@ +--- +hr: +- Mark McGwire +- Sammy Sosa +rbi: +- Sammy Sosa +- Ken Griffey diff --git a/tests/yaml-test-suite/J9HZ/test.event b/tests/yaml-test-suite/J9HZ/test.event new file mode 100644 index 0000000..48133de --- /dev/null +++ b/tests/yaml-test-suite/J9HZ/test.event @@ -0,0 +1,16 @@ ++STR ++DOC --- ++MAP +=VAL :hr ++SEQ +=VAL :Mark McGwire +=VAL :Sammy Sosa +-SEQ +=VAL :rbi ++SEQ +=VAL :Sammy Sosa +=VAL :Ken Griffey +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/JEF9.yaml b/tests/yaml-test-suite/JEF9.yaml deleted file mode 100644 index 9dd0d72..0000000 --- a/tests/yaml-test-suite/JEF9.yaml +++ /dev/null @@ -1,53 +0,0 @@ ---- -- name: Trailing whitespace in streams - from: '@ingydotnet' - tags: literal - yaml: | - - |+ - ↵ - ↵ - tree: | - +STR - +DOC - +SEQ - =VAL |\n\n - -SEQ - -DOC - -STR - json: | - [ - "\n\n" - ] - dump: | - - |+ - ↵ - ↵ - ... - -- yaml: | - - |+ - ␣␣␣ - tree: | - +STR - +DOC - +SEQ - =VAL |\n - -SEQ - -DOC - -STR - json: | - [ - "\n" - ] - dump: | - - |+ - - ... - -- yaml: | - - |+ - ␣␣␣∎ - dump: | - - |+ - - ... diff --git a/tests/yaml-test-suite/JEF9/00/=== b/tests/yaml-test-suite/JEF9/00/=== new file mode 100644 index 0000000..9c5dadb --- /dev/null +++ b/tests/yaml-test-suite/JEF9/00/=== @@ -0,0 +1 @@ +Trailing whitespace in streams diff --git a/tests/yaml-test-suite/JEF9/00/in.json b/tests/yaml-test-suite/JEF9/00/in.json new file mode 100644 index 0000000..c1d057c --- /dev/null +++ b/tests/yaml-test-suite/JEF9/00/in.json @@ -0,0 +1,3 @@ +[ + "\n\n" +] diff --git a/tests/yaml-test-suite/JEF9/00/in.yaml b/tests/yaml-test-suite/JEF9/00/in.yaml new file mode 100644 index 0000000..be41666 --- /dev/null +++ b/tests/yaml-test-suite/JEF9/00/in.yaml @@ -0,0 +1,3 @@ +- |+ + + diff --git a/tests/yaml-test-suite/JEF9/00/out.yaml b/tests/yaml-test-suite/JEF9/00/out.yaml new file mode 100644 index 0000000..ca3b581 --- /dev/null +++ b/tests/yaml-test-suite/JEF9/00/out.yaml @@ -0,0 +1,4 @@ +- |+ + + +... diff --git a/tests/yaml-test-suite/JEF9/00/test.event b/tests/yaml-test-suite/JEF9/00/test.event new file mode 100644 index 0000000..857fe3e --- /dev/null +++ b/tests/yaml-test-suite/JEF9/00/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ +=VAL |\n\n +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/JEF9/01/=== b/tests/yaml-test-suite/JEF9/01/=== new file mode 100644 index 0000000..9c5dadb --- /dev/null +++ b/tests/yaml-test-suite/JEF9/01/=== @@ -0,0 +1 @@ +Trailing whitespace in streams diff --git a/tests/yaml-test-suite/JEF9/01/in.json b/tests/yaml-test-suite/JEF9/01/in.json new file mode 100644 index 0000000..a075745 --- /dev/null +++ b/tests/yaml-test-suite/JEF9/01/in.json @@ -0,0 +1,3 @@ +[ + "\n" +] diff --git a/tests/yaml-test-suite/JEF9/01/in.yaml b/tests/yaml-test-suite/JEF9/01/in.yaml new file mode 100644 index 0000000..522e56c --- /dev/null +++ b/tests/yaml-test-suite/JEF9/01/in.yaml @@ -0,0 +1,2 @@ +- |+ + diff --git a/tests/yaml-test-suite/JEF9/01/out.yaml b/tests/yaml-test-suite/JEF9/01/out.yaml new file mode 100644 index 0000000..7e90528 --- /dev/null +++ b/tests/yaml-test-suite/JEF9/01/out.yaml @@ -0,0 +1,3 @@ +- |+ + +... diff --git a/tests/yaml-test-suite/JEF9/01/test.event b/tests/yaml-test-suite/JEF9/01/test.event new file mode 100644 index 0000000..d5b8147 --- /dev/null +++ b/tests/yaml-test-suite/JEF9/01/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ +=VAL |\n +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/JEF9/02/=== b/tests/yaml-test-suite/JEF9/02/=== new file mode 100644 index 0000000..9c5dadb --- /dev/null +++ b/tests/yaml-test-suite/JEF9/02/=== @@ -0,0 +1 @@ +Trailing whitespace in streams diff --git a/tests/yaml-test-suite/JEF9/02/in.json b/tests/yaml-test-suite/JEF9/02/in.json new file mode 100644 index 0000000..a075745 --- /dev/null +++ b/tests/yaml-test-suite/JEF9/02/in.json @@ -0,0 +1,3 @@ +[ + "\n" +] diff --git a/tests/yaml-test-suite/JEF9/02/in.yaml b/tests/yaml-test-suite/JEF9/02/in.yaml new file mode 100644 index 0000000..acfa75d --- /dev/null +++ b/tests/yaml-test-suite/JEF9/02/in.yaml @@ -0,0 +1,2 @@ +- |+ + \ No newline at end of file diff --git a/tests/yaml-test-suite/JEF9/02/out.yaml b/tests/yaml-test-suite/JEF9/02/out.yaml new file mode 100644 index 0000000..7e90528 --- /dev/null +++ b/tests/yaml-test-suite/JEF9/02/out.yaml @@ -0,0 +1,3 @@ +- |+ + +... diff --git a/tests/yaml-test-suite/JEF9/02/test.event b/tests/yaml-test-suite/JEF9/02/test.event new file mode 100644 index 0000000..d5b8147 --- /dev/null +++ b/tests/yaml-test-suite/JEF9/02/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ +=VAL |\n +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/JHB9.yaml b/tests/yaml-test-suite/JHB9.yaml deleted file mode 100644 index c09dee0..0000000 --- a/tests/yaml-test-suite/JHB9.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Spec Example 2.7. Two Documents in a Stream - from: http://www.yaml.org/spec/1.2/spec.html#id2760493 - tags: spec header - yaml: | - # Ranking of 1998 home runs - --- - - Mark McGwire - - Sammy Sosa - - Ken Griffey - - # Team ranking - --- - - Chicago Cubs - - St Louis Cardinals - tree: | - +STR - +DOC --- - +SEQ - =VAL :Mark McGwire - =VAL :Sammy Sosa - =VAL :Ken Griffey - -SEQ - -DOC - +DOC --- - +SEQ - =VAL :Chicago Cubs - =VAL :St Louis Cardinals - -SEQ - -DOC - -STR - json: | - [ - "Mark McGwire", - "Sammy Sosa", - "Ken Griffey" - ] - [ - "Chicago Cubs", - "St Louis Cardinals" - ] - dump: | - --- - - Mark McGwire - - Sammy Sosa - - Ken Griffey - --- - - Chicago Cubs - - St Louis Cardinals diff --git a/tests/yaml-test-suite/JHB9/=== b/tests/yaml-test-suite/JHB9/=== new file mode 100644 index 0000000..ffcca44 --- /dev/null +++ b/tests/yaml-test-suite/JHB9/=== @@ -0,0 +1 @@ +Spec Example 2.7. Two Documents in a Stream diff --git a/tests/yaml-test-suite/JHB9/in.json b/tests/yaml-test-suite/JHB9/in.json new file mode 100644 index 0000000..4a96ef4 --- /dev/null +++ b/tests/yaml-test-suite/JHB9/in.json @@ -0,0 +1,9 @@ +[ + "Mark McGwire", + "Sammy Sosa", + "Ken Griffey" +] +[ + "Chicago Cubs", + "St Louis Cardinals" +] diff --git a/tests/yaml-test-suite/JHB9/in.yaml b/tests/yaml-test-suite/JHB9/in.yaml new file mode 100644 index 0000000..bc711d5 --- /dev/null +++ b/tests/yaml-test-suite/JHB9/in.yaml @@ -0,0 +1,10 @@ +# Ranking of 1998 home runs +--- +- Mark McGwire +- Sammy Sosa +- Ken Griffey + +# Team ranking +--- +- Chicago Cubs +- St Louis Cardinals diff --git a/tests/yaml-test-suite/JHB9/out.yaml b/tests/yaml-test-suite/JHB9/out.yaml new file mode 100644 index 0000000..5d9c3fa --- /dev/null +++ b/tests/yaml-test-suite/JHB9/out.yaml @@ -0,0 +1,7 @@ +--- +- Mark McGwire +- Sammy Sosa +- Ken Griffey +--- +- Chicago Cubs +- St Louis Cardinals diff --git a/tests/yaml-test-suite/JHB9/test.event b/tests/yaml-test-suite/JHB9/test.event new file mode 100644 index 0000000..2530a74 --- /dev/null +++ b/tests/yaml-test-suite/JHB9/test.event @@ -0,0 +1,15 @@ ++STR ++DOC --- ++SEQ +=VAL :Mark McGwire +=VAL :Sammy Sosa +=VAL :Ken Griffey +-SEQ +-DOC ++DOC --- ++SEQ +=VAL :Chicago Cubs +=VAL :St Louis Cardinals +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/JKF3.yaml b/tests/yaml-test-suite/JKF3.yaml deleted file mode 100644 index b387deb..0000000 --- a/tests/yaml-test-suite/JKF3.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Multiline unidented double quoted block key - from: '@ingydotnet' - tags: indent - fail: true - yaml: | - - - "bar - bar": x - tree: | - +STR - +DOC - +SEQ - +SEQ diff --git a/tests/yaml-test-suite/JKF3/=== b/tests/yaml-test-suite/JKF3/=== new file mode 100644 index 0000000..45e8560 --- /dev/null +++ b/tests/yaml-test-suite/JKF3/=== @@ -0,0 +1 @@ +Multiline unidented double quoted block key diff --git a/tests/yaml-test-suite/JKF3/error b/tests/yaml-test-suite/JKF3/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/JKF3/in.yaml b/tests/yaml-test-suite/JKF3/in.yaml new file mode 100644 index 0000000..c2718a1 --- /dev/null +++ b/tests/yaml-test-suite/JKF3/in.yaml @@ -0,0 +1,2 @@ +- - "bar +bar": x diff --git a/tests/yaml-test-suite/JKF3/test.event b/tests/yaml-test-suite/JKF3/test.event new file mode 100644 index 0000000..487fbbe --- /dev/null +++ b/tests/yaml-test-suite/JKF3/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ ++SEQ diff --git a/tests/yaml-test-suite/JQ4R.yaml b/tests/yaml-test-suite/JQ4R.yaml deleted file mode 100644 index f14ed82..0000000 --- a/tests/yaml-test-suite/JQ4R.yaml +++ /dev/null @@ -1,36 +0,0 @@ ---- -- name: Spec Example 8.14. Block Sequence - from: http://www.yaml.org/spec/1.2/spec.html#id2797596 - tags: mapping spec sequence - yaml: | - block sequence: - - one - - two : three - tree: | - +STR - +DOC - +MAP - =VAL :block sequence - +SEQ - =VAL :one - +MAP - =VAL :two - =VAL :three - -MAP - -SEQ - -MAP - -DOC - -STR - json: | - { - "block sequence": [ - "one", - { - "two": "three" - } - ] - } - dump: | - block sequence: - - one - - two: three diff --git a/tests/yaml-test-suite/JQ4R/=== b/tests/yaml-test-suite/JQ4R/=== new file mode 100644 index 0000000..69d2d0c --- /dev/null +++ b/tests/yaml-test-suite/JQ4R/=== @@ -0,0 +1 @@ +Spec Example 8.14. Block Sequence diff --git a/tests/yaml-test-suite/JQ4R/in.json b/tests/yaml-test-suite/JQ4R/in.json new file mode 100644 index 0000000..ad5c054 --- /dev/null +++ b/tests/yaml-test-suite/JQ4R/in.json @@ -0,0 +1,8 @@ +{ + "block sequence": [ + "one", + { + "two": "three" + } + ] +} diff --git a/tests/yaml-test-suite/JQ4R/in.yaml b/tests/yaml-test-suite/JQ4R/in.yaml new file mode 100644 index 0000000..d2f2ccf --- /dev/null +++ b/tests/yaml-test-suite/JQ4R/in.yaml @@ -0,0 +1,3 @@ +block sequence: + - one + - two : three diff --git a/tests/yaml-test-suite/JQ4R/out.yaml b/tests/yaml-test-suite/JQ4R/out.yaml new file mode 100644 index 0000000..503c6a1 --- /dev/null +++ b/tests/yaml-test-suite/JQ4R/out.yaml @@ -0,0 +1,3 @@ +block sequence: +- one +- two: three diff --git a/tests/yaml-test-suite/JQ4R/test.event b/tests/yaml-test-suite/JQ4R/test.event new file mode 100644 index 0000000..513315c --- /dev/null +++ b/tests/yaml-test-suite/JQ4R/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP +=VAL :block sequence ++SEQ +=VAL :one ++MAP +=VAL :two +=VAL :three +-MAP +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/JR7V.yaml b/tests/yaml-test-suite/JR7V.yaml deleted file mode 100644 index 3971f8b..0000000 --- a/tests/yaml-test-suite/JR7V.yaml +++ /dev/null @@ -1,76 +0,0 @@ ---- -- name: Question marks in scalars - from: '@perlpunk' - tags: flow scalar - yaml: | - - a?string - - another ? string - - key: value? - - [a?string] - - [another ? string] - - {key: value? } - - {key: value?} - - {key?: value } - tree: | - +STR - +DOC - +SEQ - =VAL :a?string - =VAL :another ? string - +MAP - =VAL :key - =VAL :value? - -MAP - +SEQ [] - =VAL :a?string - -SEQ - +SEQ [] - =VAL :another ? string - -SEQ - +MAP {} - =VAL :key - =VAL :value? - -MAP - +MAP {} - =VAL :key - =VAL :value? - -MAP - +MAP {} - =VAL :key? - =VAL :value - -MAP - -SEQ - -DOC - -STR - json: | - [ - "a?string", - "another ? string", - { - "key": "value?" - }, - [ - "a?string" - ], - [ - "another ? string" - ], - { - "key": "value?" - }, - { - "key": "value?" - }, - { - "key?": "value" - } - ] - dump: | - - a?string - - another ? string - - key: value? - - - a?string - - - another ? string - - key: value? - - key: value? - - key?: value diff --git a/tests/yaml-test-suite/JR7V/=== b/tests/yaml-test-suite/JR7V/=== new file mode 100644 index 0000000..69164d6 --- /dev/null +++ b/tests/yaml-test-suite/JR7V/=== @@ -0,0 +1 @@ +Question marks in scalars diff --git a/tests/yaml-test-suite/JR7V/in.json b/tests/yaml-test-suite/JR7V/in.json new file mode 100644 index 0000000..eba7f7f --- /dev/null +++ b/tests/yaml-test-suite/JR7V/in.json @@ -0,0 +1,22 @@ +[ + "a?string", + "another ? string", + { + "key": "value?" + }, + [ + "a?string" + ], + [ + "another ? string" + ], + { + "key": "value?" + }, + { + "key": "value?" + }, + { + "key?": "value" + } +] diff --git a/tests/yaml-test-suite/JR7V/in.yaml b/tests/yaml-test-suite/JR7V/in.yaml new file mode 100644 index 0000000..c41e47c --- /dev/null +++ b/tests/yaml-test-suite/JR7V/in.yaml @@ -0,0 +1,8 @@ +- a?string +- another ? string +- key: value? +- [a?string] +- [another ? string] +- {key: value? } +- {key: value?} +- {key?: value } diff --git a/tests/yaml-test-suite/JR7V/out.yaml b/tests/yaml-test-suite/JR7V/out.yaml new file mode 100644 index 0000000..4450bca --- /dev/null +++ b/tests/yaml-test-suite/JR7V/out.yaml @@ -0,0 +1,8 @@ +- a?string +- another ? string +- key: value? +- - a?string +- - another ? string +- key: value? +- key: value? +- key?: value diff --git a/tests/yaml-test-suite/JR7V/test.event b/tests/yaml-test-suite/JR7V/test.event new file mode 100644 index 0000000..e04d9c8 --- /dev/null +++ b/tests/yaml-test-suite/JR7V/test.event @@ -0,0 +1,30 @@ ++STR ++DOC ++SEQ +=VAL :a?string +=VAL :another ? string ++MAP +=VAL :key +=VAL :value? +-MAP ++SEQ [] +=VAL :a?string +-SEQ ++SEQ [] +=VAL :another ? string +-SEQ ++MAP {} +=VAL :key +=VAL :value? +-MAP ++MAP {} +=VAL :key +=VAL :value? +-MAP ++MAP {} +=VAL :key? +=VAL :value +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/JS2J.yaml b/tests/yaml-test-suite/JS2J.yaml deleted file mode 100644 index 3545da3..0000000 --- a/tests/yaml-test-suite/JS2J.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Spec Example 6.29. Node Anchors - from: http://www.yaml.org/spec/1.2/spec.html#id2785977 - tags: spec alias - yaml: | - First occurrence: &anchor Value - Second occurrence: *anchor - tree: | - +STR - +DOC - +MAP - =VAL :First occurrence - =VAL &anchor :Value - =VAL :Second occurrence - =ALI *anchor - -MAP - -DOC - -STR - json: | - { - "First occurrence": "Value", - "Second occurrence": "Value" - } diff --git a/tests/yaml-test-suite/JS2J/=== b/tests/yaml-test-suite/JS2J/=== new file mode 100644 index 0000000..9322465 --- /dev/null +++ b/tests/yaml-test-suite/JS2J/=== @@ -0,0 +1 @@ +Spec Example 6.29. Node Anchors diff --git a/tests/yaml-test-suite/JS2J/in.json b/tests/yaml-test-suite/JS2J/in.json new file mode 100644 index 0000000..4b838cf --- /dev/null +++ b/tests/yaml-test-suite/JS2J/in.json @@ -0,0 +1,4 @@ +{ + "First occurrence": "Value", + "Second occurrence": "Value" +} diff --git a/tests/yaml-test-suite/JS2J/in.yaml b/tests/yaml-test-suite/JS2J/in.yaml new file mode 100644 index 0000000..600d179 --- /dev/null +++ b/tests/yaml-test-suite/JS2J/in.yaml @@ -0,0 +1,2 @@ +First occurrence: &anchor Value +Second occurrence: *anchor diff --git a/tests/yaml-test-suite/JS2J/test.event b/tests/yaml-test-suite/JS2J/test.event new file mode 100644 index 0000000..6086bba --- /dev/null +++ b/tests/yaml-test-suite/JS2J/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :First occurrence +=VAL &anchor :Value +=VAL :Second occurrence +=ALI *anchor +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/JTV5.yaml b/tests/yaml-test-suite/JTV5.yaml deleted file mode 100644 index e099a3a..0000000 --- a/tests/yaml-test-suite/JTV5.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Block Mapping with Multiline Scalars - from: NimYAML tests - tags: explicit-key mapping scalar - yaml: | - ? a - true - : null - d - ? e - 42 - tree: | - +STR - +DOC - +MAP - =VAL :a true - =VAL :null d - =VAL :e 42 - =VAL : - -MAP - -DOC - -STR - json: | - { - "a true": "null d", - "e 42": null - } - dump: | - a true: null d - e 42: diff --git a/tests/yaml-test-suite/JTV5/=== b/tests/yaml-test-suite/JTV5/=== new file mode 100644 index 0000000..21cbaff --- /dev/null +++ b/tests/yaml-test-suite/JTV5/=== @@ -0,0 +1 @@ +Block Mapping with Multiline Scalars diff --git a/tests/yaml-test-suite/JTV5/in.json b/tests/yaml-test-suite/JTV5/in.json new file mode 100644 index 0000000..fbccf11 --- /dev/null +++ b/tests/yaml-test-suite/JTV5/in.json @@ -0,0 +1,4 @@ +{ + "a true": "null d", + "e 42": null +} diff --git a/tests/yaml-test-suite/JTV5/in.yaml b/tests/yaml-test-suite/JTV5/in.yaml new file mode 100644 index 0000000..247a8cd --- /dev/null +++ b/tests/yaml-test-suite/JTV5/in.yaml @@ -0,0 +1,6 @@ +? a + true +: null + d +? e + 42 diff --git a/tests/yaml-test-suite/JTV5/out.yaml b/tests/yaml-test-suite/JTV5/out.yaml new file mode 100644 index 0000000..5c876b8 --- /dev/null +++ b/tests/yaml-test-suite/JTV5/out.yaml @@ -0,0 +1,2 @@ +a true: null d +e 42: diff --git a/tests/yaml-test-suite/JTV5/test.event b/tests/yaml-test-suite/JTV5/test.event new file mode 100644 index 0000000..cd34334 --- /dev/null +++ b/tests/yaml-test-suite/JTV5/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :a true +=VAL :null d +=VAL :e 42 +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/JY7Z.yaml b/tests/yaml-test-suite/JY7Z.yaml deleted file mode 100644 index fb4dfae..0000000 --- a/tests/yaml-test-suite/JY7Z.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Trailing content that looks like a mapping - from: '@perlpunk' - tags: error mapping double - fail: true - yaml: | - key1: "quoted1" - key2: "quoted2" no key: nor value - key3: "quoted3" - tree: | - +STR - +DOC - +MAP - =VAL :key1 - =VAL "quoted1 - =VAL :key2 - =VAL "quoted2 diff --git a/tests/yaml-test-suite/JY7Z/=== b/tests/yaml-test-suite/JY7Z/=== new file mode 100644 index 0000000..68a040e --- /dev/null +++ b/tests/yaml-test-suite/JY7Z/=== @@ -0,0 +1 @@ +Trailing content that looks like a mapping diff --git a/tests/yaml-test-suite/JY7Z/error b/tests/yaml-test-suite/JY7Z/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/JY7Z/in.yaml b/tests/yaml-test-suite/JY7Z/in.yaml new file mode 100644 index 0000000..8554678 --- /dev/null +++ b/tests/yaml-test-suite/JY7Z/in.yaml @@ -0,0 +1,3 @@ +key1: "quoted1" +key2: "quoted2" no key: nor value +key3: "quoted3" diff --git a/tests/yaml-test-suite/JY7Z/test.event b/tests/yaml-test-suite/JY7Z/test.event new file mode 100644 index 0000000..128a5c5 --- /dev/null +++ b/tests/yaml-test-suite/JY7Z/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++MAP +=VAL :key1 +=VAL "quoted1 +=VAL :key2 +=VAL "quoted2 diff --git a/tests/yaml-test-suite/K3WX.yaml b/tests/yaml-test-suite/K3WX.yaml deleted file mode 100644 index 5de2c1c..0000000 --- a/tests/yaml-test-suite/K3WX.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: Colon and adjacent value after comment on next line - from: - tags: comment flow mapping - yaml: | - --- - { "foo" # comment - :bar } - tree: | - +STR - +DOC --- - +MAP {} - =VAL "foo - =VAL :bar - -MAP - -DOC - -STR - json: | - { - "foo": "bar" - } - dump: | - --- - "foo": bar diff --git a/tests/yaml-test-suite/K3WX/=== b/tests/yaml-test-suite/K3WX/=== new file mode 100644 index 0000000..d9e38ee --- /dev/null +++ b/tests/yaml-test-suite/K3WX/=== @@ -0,0 +1 @@ +Colon and adjacent value after comment on next line diff --git a/tests/yaml-test-suite/K3WX/in.json b/tests/yaml-test-suite/K3WX/in.json new file mode 100644 index 0000000..c8c4105 --- /dev/null +++ b/tests/yaml-test-suite/K3WX/in.json @@ -0,0 +1,3 @@ +{ + "foo": "bar" +} diff --git a/tests/yaml-test-suite/K3WX/in.yaml b/tests/yaml-test-suite/K3WX/in.yaml new file mode 100644 index 0000000..14d2753 --- /dev/null +++ b/tests/yaml-test-suite/K3WX/in.yaml @@ -0,0 +1,3 @@ +--- +{ "foo" # comment + :bar } diff --git a/tests/yaml-test-suite/K3WX/out.yaml b/tests/yaml-test-suite/K3WX/out.yaml new file mode 100644 index 0000000..46d4e8b --- /dev/null +++ b/tests/yaml-test-suite/K3WX/out.yaml @@ -0,0 +1,2 @@ +--- +"foo": bar diff --git a/tests/yaml-test-suite/K3WX/test.event b/tests/yaml-test-suite/K3WX/test.event new file mode 100644 index 0000000..fd46afc --- /dev/null +++ b/tests/yaml-test-suite/K3WX/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP {} +=VAL "foo +=VAL :bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/K4SU.yaml b/tests/yaml-test-suite/K4SU.yaml deleted file mode 100644 index c67005a..0000000 --- a/tests/yaml-test-suite/K4SU.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: Multiple Entry Block Sequence - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/sequence.tml - tags: sequence - yaml: | - - foo - - bar - - 42 - tree: | - +STR - +DOC - +SEQ - =VAL :foo - =VAL :bar - =VAL :42 - -SEQ - -DOC - -STR - json: | - [ - "foo", - "bar", - 42 - ] diff --git a/tests/yaml-test-suite/K4SU/=== b/tests/yaml-test-suite/K4SU/=== new file mode 100644 index 0000000..21f0d3c --- /dev/null +++ b/tests/yaml-test-suite/K4SU/=== @@ -0,0 +1 @@ +Multiple Entry Block Sequence diff --git a/tests/yaml-test-suite/K4SU/in.json b/tests/yaml-test-suite/K4SU/in.json new file mode 100644 index 0000000..1866413 --- /dev/null +++ b/tests/yaml-test-suite/K4SU/in.json @@ -0,0 +1,5 @@ +[ + "foo", + "bar", + 42 +] diff --git a/tests/yaml-test-suite/K4SU/in.yaml b/tests/yaml-test-suite/K4SU/in.yaml new file mode 100644 index 0000000..5fae9f4 --- /dev/null +++ b/tests/yaml-test-suite/K4SU/in.yaml @@ -0,0 +1,3 @@ +- foo +- bar +- 42 diff --git a/tests/yaml-test-suite/K4SU/test.event b/tests/yaml-test-suite/K4SU/test.event new file mode 100644 index 0000000..4bdcfec --- /dev/null +++ b/tests/yaml-test-suite/K4SU/test.event @@ -0,0 +1,9 @@ ++STR ++DOC ++SEQ +=VAL :foo +=VAL :bar +=VAL :42 +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/K527.yaml b/tests/yaml-test-suite/K527.yaml deleted file mode 100644 index 1fd0e8c..0000000 --- a/tests/yaml-test-suite/K527.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Spec Example 6.6. Line Folding - from: http://www.yaml.org/spec/1.2/spec.html#id2779289 - tags: folded spec whitespace scalar 1.3-err - yaml: | - >- - trimmed - ␣␣ - ␣ - - as - space - tree: | - +STR - +DOC - =VAL >trimmed\n\n\nas space - -DOC - -STR - json: | - "trimmed\n\n\nas space" - dump: | - >- - trimmed - - - - as space diff --git a/tests/yaml-test-suite/K527/=== b/tests/yaml-test-suite/K527/=== new file mode 100644 index 0000000..f6cdc37 --- /dev/null +++ b/tests/yaml-test-suite/K527/=== @@ -0,0 +1 @@ +Spec Example 6.6. Line Folding diff --git a/tests/yaml-test-suite/K527/in.json b/tests/yaml-test-suite/K527/in.json new file mode 100644 index 0000000..9c6ce92 --- /dev/null +++ b/tests/yaml-test-suite/K527/in.json @@ -0,0 +1 @@ +"trimmed\n\n\nas space" diff --git a/tests/yaml-test-suite/K527/in.yaml b/tests/yaml-test-suite/K527/in.yaml new file mode 100644 index 0000000..1c5090d --- /dev/null +++ b/tests/yaml-test-suite/K527/in.yaml @@ -0,0 +1,7 @@ +>- + trimmed + + + + as + space diff --git a/tests/yaml-test-suite/K527/out.yaml b/tests/yaml-test-suite/K527/out.yaml new file mode 100644 index 0000000..2c970a2 --- /dev/null +++ b/tests/yaml-test-suite/K527/out.yaml @@ -0,0 +1,6 @@ +>- + trimmed + + + + as space diff --git a/tests/yaml-test-suite/K527/test.event b/tests/yaml-test-suite/K527/test.event new file mode 100644 index 0000000..8478e52 --- /dev/null +++ b/tests/yaml-test-suite/K527/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL >trimmed\n\n\nas space +-DOC +-STR diff --git a/tests/yaml-test-suite/K54U.yaml b/tests/yaml-test-suite/K54U.yaml deleted file mode 100644 index 63f6da8..0000000 --- a/tests/yaml-test-suite/K54U.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Tab after document header - from: '@perlpunk' - tags: header whitespace - yaml: | - ---»scalar - tree: | - +STR - +DOC --- - =VAL :scalar - -DOC - -STR - json: | - "scalar" - dump: | - --- scalar - ... diff --git a/tests/yaml-test-suite/K54U/=== b/tests/yaml-test-suite/K54U/=== new file mode 100644 index 0000000..bf81137 --- /dev/null +++ b/tests/yaml-test-suite/K54U/=== @@ -0,0 +1 @@ +Tab after document header diff --git a/tests/yaml-test-suite/K54U/in.json b/tests/yaml-test-suite/K54U/in.json new file mode 100644 index 0000000..6dbc311 --- /dev/null +++ b/tests/yaml-test-suite/K54U/in.json @@ -0,0 +1 @@ +"scalar" diff --git a/tests/yaml-test-suite/K54U/in.yaml b/tests/yaml-test-suite/K54U/in.yaml new file mode 100644 index 0000000..8171dcc --- /dev/null +++ b/tests/yaml-test-suite/K54U/in.yaml @@ -0,0 +1 @@ +--- scalar diff --git a/tests/yaml-test-suite/K54U/out.yaml b/tests/yaml-test-suite/K54U/out.yaml new file mode 100644 index 0000000..522d453 --- /dev/null +++ b/tests/yaml-test-suite/K54U/out.yaml @@ -0,0 +1,2 @@ +--- scalar +... diff --git a/tests/yaml-test-suite/K54U/test.event b/tests/yaml-test-suite/K54U/test.event new file mode 100644 index 0000000..7403072 --- /dev/null +++ b/tests/yaml-test-suite/K54U/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :scalar +-DOC +-STR diff --git a/tests/yaml-test-suite/K858.yaml b/tests/yaml-test-suite/K858.yaml deleted file mode 100644 index c7b077c..0000000 --- a/tests/yaml-test-suite/K858.yaml +++ /dev/null @@ -1,36 +0,0 @@ ---- -- name: Spec Example 8.6. Empty Scalar Chomping - from: http://www.yaml.org/spec/1.2/spec.html#id2795596 - tags: spec folded literal whitespace - yaml: | - strip: >- - - clip: > - - keep: |+ - ↵ - tree: | - +STR - +DOC - +MAP - =VAL :strip - =VAL > - =VAL :clip - =VAL > - =VAL :keep - =VAL |\n - -MAP - -DOC - -STR - json: | - { - "strip": "", - "clip": "", - "keep": "\n" - } - dump: | - strip: "" - clip: "" - keep: |2+ - - ... diff --git a/tests/yaml-test-suite/K858/=== b/tests/yaml-test-suite/K858/=== new file mode 100644 index 0000000..c649c75 --- /dev/null +++ b/tests/yaml-test-suite/K858/=== @@ -0,0 +1 @@ +Spec Example 8.6. Empty Scalar Chomping diff --git a/tests/yaml-test-suite/K858/in.json b/tests/yaml-test-suite/K858/in.json new file mode 100644 index 0000000..d63b700 --- /dev/null +++ b/tests/yaml-test-suite/K858/in.json @@ -0,0 +1,5 @@ +{ + "strip": "", + "clip": "", + "keep": "\n" +} diff --git a/tests/yaml-test-suite/K858/in.yaml b/tests/yaml-test-suite/K858/in.yaml new file mode 100644 index 0000000..de0b64b --- /dev/null +++ b/tests/yaml-test-suite/K858/in.yaml @@ -0,0 +1,6 @@ +strip: >- + +clip: > + +keep: |+ + diff --git a/tests/yaml-test-suite/K858/out.yaml b/tests/yaml-test-suite/K858/out.yaml new file mode 100644 index 0000000..3598690 --- /dev/null +++ b/tests/yaml-test-suite/K858/out.yaml @@ -0,0 +1,5 @@ +strip: "" +clip: "" +keep: |2+ + +... diff --git a/tests/yaml-test-suite/K858/test.event b/tests/yaml-test-suite/K858/test.event new file mode 100644 index 0000000..273996c --- /dev/null +++ b/tests/yaml-test-suite/K858/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :strip +=VAL > +=VAL :clip +=VAL > +=VAL :keep +=VAL |\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/KH5V.yaml b/tests/yaml-test-suite/KH5V.yaml deleted file mode 100644 index 9a87698..0000000 --- a/tests/yaml-test-suite/KH5V.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -- name: Inline tabs in double quoted - from: '@ingydotnet' - tags: double whitespace - yaml: | - "1 inline\ttab" - tree: | - +STR - +DOC - =VAL "1 inline\ttab - -DOC - -STR - json: | - "1 inline\ttab" - -- yaml: | - "2 inline\——»tab" - tree: | - +STR - +DOC - =VAL "2 inline\ttab - -DOC - -STR - json: | - "2 inline\ttab" - dump: | - "2 inline\ttab" - -- yaml: | - "3 inline———»tab" - tree: | - +STR - +DOC - =VAL "3 inline\ttab - -DOC - -STR - json: | - "3 inline\ttab" - dump: | - "3 inline\ttab" diff --git a/tests/yaml-test-suite/KH5V/00/=== b/tests/yaml-test-suite/KH5V/00/=== new file mode 100644 index 0000000..8e2f2d1 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/00/=== @@ -0,0 +1 @@ +Inline tabs in double quoted diff --git a/tests/yaml-test-suite/KH5V/00/in.json b/tests/yaml-test-suite/KH5V/00/in.json new file mode 100644 index 0000000..f0458e7 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/00/in.json @@ -0,0 +1 @@ +"1 inline\ttab" diff --git a/tests/yaml-test-suite/KH5V/00/in.yaml b/tests/yaml-test-suite/KH5V/00/in.yaml new file mode 100644 index 0000000..f0458e7 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/00/in.yaml @@ -0,0 +1 @@ +"1 inline\ttab" diff --git a/tests/yaml-test-suite/KH5V/00/test.event b/tests/yaml-test-suite/KH5V/00/test.event new file mode 100644 index 0000000..efad6d3 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/00/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "1 inline\ttab +-DOC +-STR diff --git a/tests/yaml-test-suite/KH5V/01/=== b/tests/yaml-test-suite/KH5V/01/=== new file mode 100644 index 0000000..8e2f2d1 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/01/=== @@ -0,0 +1 @@ +Inline tabs in double quoted diff --git a/tests/yaml-test-suite/KH5V/01/in.json b/tests/yaml-test-suite/KH5V/01/in.json new file mode 100644 index 0000000..0bd18c3 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/01/in.json @@ -0,0 +1 @@ +"2 inline\ttab" diff --git a/tests/yaml-test-suite/KH5V/01/in.yaml b/tests/yaml-test-suite/KH5V/01/in.yaml new file mode 100644 index 0000000..e32b715 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/01/in.yaml @@ -0,0 +1 @@ +"2 inline\ tab" diff --git a/tests/yaml-test-suite/KH5V/01/out.yaml b/tests/yaml-test-suite/KH5V/01/out.yaml new file mode 100644 index 0000000..0bd18c3 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/01/out.yaml @@ -0,0 +1 @@ +"2 inline\ttab" diff --git a/tests/yaml-test-suite/KH5V/01/test.event b/tests/yaml-test-suite/KH5V/01/test.event new file mode 100644 index 0000000..342bb9d --- /dev/null +++ b/tests/yaml-test-suite/KH5V/01/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "2 inline\ttab +-DOC +-STR diff --git a/tests/yaml-test-suite/KH5V/02/=== b/tests/yaml-test-suite/KH5V/02/=== new file mode 100644 index 0000000..8e2f2d1 --- /dev/null +++ b/tests/yaml-test-suite/KH5V/02/=== @@ -0,0 +1 @@ +Inline tabs in double quoted diff --git a/tests/yaml-test-suite/KH5V/02/in.json b/tests/yaml-test-suite/KH5V/02/in.json new file mode 100644 index 0000000..a7a0e0f --- /dev/null +++ b/tests/yaml-test-suite/KH5V/02/in.json @@ -0,0 +1 @@ +"3 inline\ttab" diff --git a/tests/yaml-test-suite/KH5V/02/in.yaml b/tests/yaml-test-suite/KH5V/02/in.yaml new file mode 100644 index 0000000..ef3075f --- /dev/null +++ b/tests/yaml-test-suite/KH5V/02/in.yaml @@ -0,0 +1 @@ +"3 inline tab" diff --git a/tests/yaml-test-suite/KH5V/02/out.yaml b/tests/yaml-test-suite/KH5V/02/out.yaml new file mode 100644 index 0000000..a7a0e0f --- /dev/null +++ b/tests/yaml-test-suite/KH5V/02/out.yaml @@ -0,0 +1 @@ +"3 inline\ttab" diff --git a/tests/yaml-test-suite/KH5V/02/test.event b/tests/yaml-test-suite/KH5V/02/test.event new file mode 100644 index 0000000..b454c7d --- /dev/null +++ b/tests/yaml-test-suite/KH5V/02/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "3 inline\ttab +-DOC +-STR diff --git a/tests/yaml-test-suite/KK5P.yaml b/tests/yaml-test-suite/KK5P.yaml deleted file mode 100644 index ff564f2..0000000 --- a/tests/yaml-test-suite/KK5P.yaml +++ /dev/null @@ -1,81 +0,0 @@ ---- -- name: Various combinations of explicit block mappings - from: '@perlpunk' - tags: explicit-key mapping sequence - yaml: | - complex1: - ? - a - complex2: - ? - a - : b - complex3: - ? - a - : > - b - complex4: - ? > - a - : - complex5: - ? - a - : - b - tree: | - +STR - +DOC - +MAP - =VAL :complex1 - +MAP - +SEQ - =VAL :a - -SEQ - =VAL : - -MAP - =VAL :complex2 - +MAP - +SEQ - =VAL :a - -SEQ - =VAL :b - -MAP - =VAL :complex3 - +MAP - +SEQ - =VAL :a - -SEQ - =VAL >b\n - -MAP - =VAL :complex4 - +MAP - =VAL >a\n - =VAL : - -MAP - =VAL :complex5 - +MAP - +SEQ - =VAL :a - -SEQ - +SEQ - =VAL :b - -SEQ - -MAP - -MAP - -DOC - -STR - dump: | - complex1: - ? - a - : - complex2: - ? - a - : b - complex3: - ? - a - : > - b - complex4: - ? > - a - : - complex5: - ? - a - : - b diff --git a/tests/yaml-test-suite/KK5P/=== b/tests/yaml-test-suite/KK5P/=== new file mode 100644 index 0000000..ec6b258 --- /dev/null +++ b/tests/yaml-test-suite/KK5P/=== @@ -0,0 +1 @@ +Various combinations of explicit block mappings diff --git a/tests/yaml-test-suite/KK5P/in.yaml b/tests/yaml-test-suite/KK5P/in.yaml new file mode 100644 index 0000000..872966f --- /dev/null +++ b/tests/yaml-test-suite/KK5P/in.yaml @@ -0,0 +1,16 @@ +complex1: + ? - a +complex2: + ? - a + : b +complex3: + ? - a + : > + b +complex4: + ? > + a + : +complex5: + ? - a + : - b diff --git a/tests/yaml-test-suite/KK5P/out.yaml b/tests/yaml-test-suite/KK5P/out.yaml new file mode 100644 index 0000000..081e6cf --- /dev/null +++ b/tests/yaml-test-suite/KK5P/out.yaml @@ -0,0 +1,17 @@ +complex1: + ? - a + : +complex2: + ? - a + : b +complex3: + ? - a + : > + b +complex4: + ? > + a + : +complex5: + ? - a + : - b diff --git a/tests/yaml-test-suite/KK5P/test.event b/tests/yaml-test-suite/KK5P/test.event new file mode 100644 index 0000000..197eae8 --- /dev/null +++ b/tests/yaml-test-suite/KK5P/test.event @@ -0,0 +1,41 @@ ++STR ++DOC ++MAP +=VAL :complex1 ++MAP ++SEQ +=VAL :a +-SEQ +=VAL : +-MAP +=VAL :complex2 ++MAP ++SEQ +=VAL :a +-SEQ +=VAL :b +-MAP +=VAL :complex3 ++MAP ++SEQ +=VAL :a +-SEQ +=VAL >b\n +-MAP +=VAL :complex4 ++MAP +=VAL >a\n +=VAL : +-MAP +=VAL :complex5 ++MAP ++SEQ +=VAL :a +-SEQ ++SEQ +=VAL :b +-SEQ +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/KMK3.yaml b/tests/yaml-test-suite/KMK3.yaml deleted file mode 100644 index 4c6b460..0000000 --- a/tests/yaml-test-suite/KMK3.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Block Submapping - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/mapping.tml - tags: mapping - yaml: | - foo: - bar: 1 - baz: 2 - tree: | - +STR - +DOC - +MAP - =VAL :foo - +MAP - =VAL :bar - =VAL :1 - -MAP - =VAL :baz - =VAL :2 - -MAP - -DOC - -STR - json: | - { - "foo": { - "bar": 1 - }, - "baz": 2 - } diff --git a/tests/yaml-test-suite/KMK3/=== b/tests/yaml-test-suite/KMK3/=== new file mode 100644 index 0000000..5777089 --- /dev/null +++ b/tests/yaml-test-suite/KMK3/=== @@ -0,0 +1 @@ +Block Submapping diff --git a/tests/yaml-test-suite/KMK3/in.json b/tests/yaml-test-suite/KMK3/in.json new file mode 100644 index 0000000..b7cf07e --- /dev/null +++ b/tests/yaml-test-suite/KMK3/in.json @@ -0,0 +1,6 @@ +{ + "foo": { + "bar": 1 + }, + "baz": 2 +} diff --git a/tests/yaml-test-suite/KMK3/in.yaml b/tests/yaml-test-suite/KMK3/in.yaml new file mode 100644 index 0000000..32d2114 --- /dev/null +++ b/tests/yaml-test-suite/KMK3/in.yaml @@ -0,0 +1,3 @@ +foo: + bar: 1 +baz: 2 diff --git a/tests/yaml-test-suite/KMK3/test.event b/tests/yaml-test-suite/KMK3/test.event new file mode 100644 index 0000000..f06d65b --- /dev/null +++ b/tests/yaml-test-suite/KMK3/test.event @@ -0,0 +1,13 @@ ++STR ++DOC ++MAP +=VAL :foo ++MAP +=VAL :bar +=VAL :1 +-MAP +=VAL :baz +=VAL :2 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/KS4U.yaml b/tests/yaml-test-suite/KS4U.yaml deleted file mode 100644 index 35c0a44..0000000 --- a/tests/yaml-test-suite/KS4U.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Invalid item after end of flow sequence - from: '@perlpunk' - tags: error flow sequence - fail: true - yaml: | - --- - [ - sequence item - ] - invalid item - tree: | - +STR - +DOC --- - +SEQ [] - =VAL :sequence item - -SEQ diff --git a/tests/yaml-test-suite/KS4U/=== b/tests/yaml-test-suite/KS4U/=== new file mode 100644 index 0000000..502a61d --- /dev/null +++ b/tests/yaml-test-suite/KS4U/=== @@ -0,0 +1 @@ +Invalid item after end of flow sequence diff --git a/tests/yaml-test-suite/KS4U/error b/tests/yaml-test-suite/KS4U/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/KS4U/in.yaml b/tests/yaml-test-suite/KS4U/in.yaml new file mode 100644 index 0000000..a77ca09 --- /dev/null +++ b/tests/yaml-test-suite/KS4U/in.yaml @@ -0,0 +1,5 @@ +--- +[ +sequence item +] +invalid item diff --git a/tests/yaml-test-suite/KS4U/test.event b/tests/yaml-test-suite/KS4U/test.event new file mode 100644 index 0000000..10ac38c --- /dev/null +++ b/tests/yaml-test-suite/KS4U/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- ++SEQ [] +=VAL :sequence item +-SEQ diff --git a/tests/yaml-test-suite/KSS4.yaml b/tests/yaml-test-suite/KSS4.yaml deleted file mode 100644 index 518c20c..0000000 --- a/tests/yaml-test-suite/KSS4.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Scalars on --- line - from: '@perlpunk' - tags: anchor header scalar 1.3-err - yaml: | - --- "quoted - string" - --- &node foo - tree: | - +STR - +DOC --- - =VAL "quoted string - -DOC - +DOC --- - =VAL &node :foo - -DOC - -STR - json: | - "quoted string" - "foo" - dump: | - --- "quoted string" - --- &node foo - ... - emit: | - --- "quoted string" - --- &node foo diff --git a/tests/yaml-test-suite/KSS4/=== b/tests/yaml-test-suite/KSS4/=== new file mode 100644 index 0000000..621e83a --- /dev/null +++ b/tests/yaml-test-suite/KSS4/=== @@ -0,0 +1 @@ +Scalars on --- line diff --git a/tests/yaml-test-suite/KSS4/emit.yaml b/tests/yaml-test-suite/KSS4/emit.yaml new file mode 100644 index 0000000..e74dc2a --- /dev/null +++ b/tests/yaml-test-suite/KSS4/emit.yaml @@ -0,0 +1,2 @@ +--- "quoted string" +--- &node foo diff --git a/tests/yaml-test-suite/KSS4/in.json b/tests/yaml-test-suite/KSS4/in.json new file mode 100644 index 0000000..19747c7 --- /dev/null +++ b/tests/yaml-test-suite/KSS4/in.json @@ -0,0 +1,2 @@ +"quoted string" +"foo" diff --git a/tests/yaml-test-suite/KSS4/in.yaml b/tests/yaml-test-suite/KSS4/in.yaml new file mode 100644 index 0000000..5cbbe23 --- /dev/null +++ b/tests/yaml-test-suite/KSS4/in.yaml @@ -0,0 +1,3 @@ +--- "quoted +string" +--- &node foo diff --git a/tests/yaml-test-suite/KSS4/out.yaml b/tests/yaml-test-suite/KSS4/out.yaml new file mode 100644 index 0000000..e69460f --- /dev/null +++ b/tests/yaml-test-suite/KSS4/out.yaml @@ -0,0 +1,3 @@ +--- "quoted string" +--- &node foo +... diff --git a/tests/yaml-test-suite/KSS4/test.event b/tests/yaml-test-suite/KSS4/test.event new file mode 100644 index 0000000..18b9f0f --- /dev/null +++ b/tests/yaml-test-suite/KSS4/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- +=VAL "quoted string +-DOC ++DOC --- +=VAL &node :foo +-DOC +-STR diff --git a/tests/yaml-test-suite/L24T.yaml b/tests/yaml-test-suite/L24T.yaml deleted file mode 100644 index a58e9b2..0000000 --- a/tests/yaml-test-suite/L24T.yaml +++ /dev/null @@ -1,45 +0,0 @@ ---- -- name: Trailing line of spaces - from: '@ingydotnet' - tags: whitespace - yaml: | - foo: | - x - ␣␣␣ - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL |x\n \n - -MAP - -DOC - -STR - json: | - { - "foo" : "x\n \n" - } - emit: | - --- - foo: "x\n \n" - -- yaml: | - foo: | - x - ␣␣␣∎ - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL |x\n \n - -MAP - -DOC - -STR - json: | - { - "foo" : "x\n \n" - } - emit: | - --- - foo: "x\n \n" diff --git a/tests/yaml-test-suite/L24T/00/=== b/tests/yaml-test-suite/L24T/00/=== new file mode 100644 index 0000000..1d64a7e --- /dev/null +++ b/tests/yaml-test-suite/L24T/00/=== @@ -0,0 +1 @@ +Trailing line of spaces diff --git a/tests/yaml-test-suite/L24T/00/emit.yaml b/tests/yaml-test-suite/L24T/00/emit.yaml new file mode 100644 index 0000000..dcb0b6e --- /dev/null +++ b/tests/yaml-test-suite/L24T/00/emit.yaml @@ -0,0 +1,2 @@ +--- +foo: "x\n \n" diff --git a/tests/yaml-test-suite/L24T/00/in.json b/tests/yaml-test-suite/L24T/00/in.json new file mode 100644 index 0000000..6548965 --- /dev/null +++ b/tests/yaml-test-suite/L24T/00/in.json @@ -0,0 +1,3 @@ +{ + "foo" : "x\n \n" +} diff --git a/tests/yaml-test-suite/L24T/00/in.yaml b/tests/yaml-test-suite/L24T/00/in.yaml new file mode 100644 index 0000000..6a1854b --- /dev/null +++ b/tests/yaml-test-suite/L24T/00/in.yaml @@ -0,0 +1,3 @@ +foo: | + x + diff --git a/tests/yaml-test-suite/L24T/00/test.event b/tests/yaml-test-suite/L24T/00/test.event new file mode 100644 index 0000000..7f11a30 --- /dev/null +++ b/tests/yaml-test-suite/L24T/00/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL |x\n \n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/L24T/01/=== b/tests/yaml-test-suite/L24T/01/=== new file mode 100644 index 0000000..1d64a7e --- /dev/null +++ b/tests/yaml-test-suite/L24T/01/=== @@ -0,0 +1 @@ +Trailing line of spaces diff --git a/tests/yaml-test-suite/L24T/01/emit.yaml b/tests/yaml-test-suite/L24T/01/emit.yaml new file mode 100644 index 0000000..dcb0b6e --- /dev/null +++ b/tests/yaml-test-suite/L24T/01/emit.yaml @@ -0,0 +1,2 @@ +--- +foo: "x\n \n" diff --git a/tests/yaml-test-suite/L24T/01/in.json b/tests/yaml-test-suite/L24T/01/in.json new file mode 100644 index 0000000..6548965 --- /dev/null +++ b/tests/yaml-test-suite/L24T/01/in.json @@ -0,0 +1,3 @@ +{ + "foo" : "x\n \n" +} diff --git a/tests/yaml-test-suite/L24T/01/in.yaml b/tests/yaml-test-suite/L24T/01/in.yaml new file mode 100644 index 0000000..b5768af --- /dev/null +++ b/tests/yaml-test-suite/L24T/01/in.yaml @@ -0,0 +1,3 @@ +foo: | + x + \ No newline at end of file diff --git a/tests/yaml-test-suite/L24T/01/test.event b/tests/yaml-test-suite/L24T/01/test.event new file mode 100644 index 0000000..7f11a30 --- /dev/null +++ b/tests/yaml-test-suite/L24T/01/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL |x\n \n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/L383.yaml b/tests/yaml-test-suite/L383.yaml deleted file mode 100644 index c298919..0000000 --- a/tests/yaml-test-suite/L383.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Two scalar docs with trailing comments - from: '@ingydotnet' - tags: comment - yaml: | - --- foo # comment - --- foo # comment - tree: | - +STR - +DOC --- - =VAL :foo - -DOC - +DOC --- - =VAL :foo - -DOC - -STR - json: | - "foo" - "foo" - dump: | - --- foo - --- foo diff --git a/tests/yaml-test-suite/L383/=== b/tests/yaml-test-suite/L383/=== new file mode 100644 index 0000000..cebfa8f --- /dev/null +++ b/tests/yaml-test-suite/L383/=== @@ -0,0 +1 @@ +Two scalar docs with trailing comments diff --git a/tests/yaml-test-suite/L383/in.json b/tests/yaml-test-suite/L383/in.json new file mode 100644 index 0000000..d53e1d6 --- /dev/null +++ b/tests/yaml-test-suite/L383/in.json @@ -0,0 +1,2 @@ +"foo" +"foo" diff --git a/tests/yaml-test-suite/L383/in.yaml b/tests/yaml-test-suite/L383/in.yaml new file mode 100644 index 0000000..235f249 --- /dev/null +++ b/tests/yaml-test-suite/L383/in.yaml @@ -0,0 +1,2 @@ +--- foo # comment +--- foo # comment diff --git a/tests/yaml-test-suite/L383/out.yaml b/tests/yaml-test-suite/L383/out.yaml new file mode 100644 index 0000000..274fd32 --- /dev/null +++ b/tests/yaml-test-suite/L383/out.yaml @@ -0,0 +1,2 @@ +--- foo +--- foo diff --git a/tests/yaml-test-suite/L383/test.event b/tests/yaml-test-suite/L383/test.event new file mode 100644 index 0000000..5776a7c --- /dev/null +++ b/tests/yaml-test-suite/L383/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- +=VAL :foo +-DOC ++DOC --- +=VAL :foo +-DOC +-STR diff --git a/tests/yaml-test-suite/L94M.yaml b/tests/yaml-test-suite/L94M.yaml deleted file mode 100644 index 2288c06..0000000 --- a/tests/yaml-test-suite/L94M.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Tags in Explicit Mapping - from: NimYAML tests - tags: explicit-key tag mapping - yaml: | - ? !!str a - : !!int 47 - ? c - : !!str d - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL :47 - =VAL :c - =VAL :d - -MAP - -DOC - -STR - json: | - { - "a": 47, - "c": "d" - } - dump: | - !!str a: !!int 47 - c: !!str d diff --git a/tests/yaml-test-suite/L94M/=== b/tests/yaml-test-suite/L94M/=== new file mode 100644 index 0000000..ddfa940 --- /dev/null +++ b/tests/yaml-test-suite/L94M/=== @@ -0,0 +1 @@ +Tags in Explicit Mapping diff --git a/tests/yaml-test-suite/L94M/in.json b/tests/yaml-test-suite/L94M/in.json new file mode 100644 index 0000000..07ded62 --- /dev/null +++ b/tests/yaml-test-suite/L94M/in.json @@ -0,0 +1,4 @@ +{ + "a": 47, + "c": "d" +} diff --git a/tests/yaml-test-suite/L94M/in.yaml b/tests/yaml-test-suite/L94M/in.yaml new file mode 100644 index 0000000..c5e6ceb --- /dev/null +++ b/tests/yaml-test-suite/L94M/in.yaml @@ -0,0 +1,4 @@ +? !!str a +: !!int 47 +? c +: !!str d diff --git a/tests/yaml-test-suite/L94M/out.yaml b/tests/yaml-test-suite/L94M/out.yaml new file mode 100644 index 0000000..d4845b5 --- /dev/null +++ b/tests/yaml-test-suite/L94M/out.yaml @@ -0,0 +1,2 @@ +!!str a: !!int 47 +c: !!str d diff --git a/tests/yaml-test-suite/L94M/test.event b/tests/yaml-test-suite/L94M/test.event new file mode 100644 index 0000000..e8ed464 --- /dev/null +++ b/tests/yaml-test-suite/L94M/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL :47 +=VAL :c +=VAL :d +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/L9U5.yaml b/tests/yaml-test-suite/L9U5.yaml deleted file mode 100644 index 5e2ed0c..0000000 --- a/tests/yaml-test-suite/L9U5.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 7.11. Plain Implicit Keys - from: http://www.yaml.org/spec/1.2/spec.html#id2789794 - tags: spec flow mapping - yaml: | - implicit block key : [ - implicit flow key : value, - ] - tree: | - +STR - +DOC - +MAP - =VAL :implicit block key - +SEQ [] - +MAP {} - =VAL :implicit flow key - =VAL :value - -MAP - -SEQ - -MAP - -DOC - -STR - json: | - { - "implicit block key": [ - { - "implicit flow key": "value" - } - ] - } - dump: | - implicit block key: - - implicit flow key: value diff --git a/tests/yaml-test-suite/L9U5/=== b/tests/yaml-test-suite/L9U5/=== new file mode 100644 index 0000000..e1f3f5d --- /dev/null +++ b/tests/yaml-test-suite/L9U5/=== @@ -0,0 +1 @@ +Spec Example 7.11. Plain Implicit Keys diff --git a/tests/yaml-test-suite/L9U5/in.json b/tests/yaml-test-suite/L9U5/in.json new file mode 100644 index 0000000..16ae65b --- /dev/null +++ b/tests/yaml-test-suite/L9U5/in.json @@ -0,0 +1,7 @@ +{ + "implicit block key": [ + { + "implicit flow key": "value" + } + ] +} diff --git a/tests/yaml-test-suite/L9U5/in.yaml b/tests/yaml-test-suite/L9U5/in.yaml new file mode 100644 index 0000000..fd57f65 --- /dev/null +++ b/tests/yaml-test-suite/L9U5/in.yaml @@ -0,0 +1,3 @@ +implicit block key : [ + implicit flow key : value, + ] diff --git a/tests/yaml-test-suite/L9U5/out.yaml b/tests/yaml-test-suite/L9U5/out.yaml new file mode 100644 index 0000000..0efc44a --- /dev/null +++ b/tests/yaml-test-suite/L9U5/out.yaml @@ -0,0 +1,2 @@ +implicit block key: +- implicit flow key: value diff --git a/tests/yaml-test-suite/L9U5/test.event b/tests/yaml-test-suite/L9U5/test.event new file mode 100644 index 0000000..7e2a621 --- /dev/null +++ b/tests/yaml-test-suite/L9U5/test.event @@ -0,0 +1,13 @@ ++STR ++DOC ++MAP +=VAL :implicit block key ++SEQ [] ++MAP {} +=VAL :implicit flow key +=VAL :value +-MAP +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/LE5A.yaml b/tests/yaml-test-suite/LE5A.yaml deleted file mode 100644 index 21e1576..0000000 --- a/tests/yaml-test-suite/LE5A.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Spec Example 7.24. Flow Nodes - from: http://www.yaml.org/spec/1.2/spec.html#id2793490 - tags: spec tag alias - yaml: | - - !!str "a" - - 'b' - - &anchor "c" - - *anchor - - !!str - tree: | - +STR - +DOC - +SEQ - =VAL "a - =VAL 'b - =VAL &anchor "c - =ALI *anchor - =VAL : - -SEQ - -DOC - -STR - json: | - [ - "a", - "b", - "c", - "c", - "" - ] diff --git a/tests/yaml-test-suite/LE5A/=== b/tests/yaml-test-suite/LE5A/=== new file mode 100644 index 0000000..f020e89 --- /dev/null +++ b/tests/yaml-test-suite/LE5A/=== @@ -0,0 +1 @@ +Spec Example 7.24. Flow Nodes diff --git a/tests/yaml-test-suite/LE5A/in.json b/tests/yaml-test-suite/LE5A/in.json new file mode 100644 index 0000000..fc128b8 --- /dev/null +++ b/tests/yaml-test-suite/LE5A/in.json @@ -0,0 +1,7 @@ +[ + "a", + "b", + "c", + "c", + "" +] diff --git a/tests/yaml-test-suite/LE5A/in.yaml b/tests/yaml-test-suite/LE5A/in.yaml new file mode 100644 index 0000000..db4007f --- /dev/null +++ b/tests/yaml-test-suite/LE5A/in.yaml @@ -0,0 +1,5 @@ +- !!str "a" +- 'b' +- &anchor "c" +- *anchor +- !!str diff --git a/tests/yaml-test-suite/LE5A/test.event b/tests/yaml-test-suite/LE5A/test.event new file mode 100644 index 0000000..2c4e449 --- /dev/null +++ b/tests/yaml-test-suite/LE5A/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++SEQ +=VAL "a +=VAL 'b +=VAL &anchor "c +=ALI *anchor +=VAL : +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/LHL4.yaml b/tests/yaml-test-suite/LHL4.yaml deleted file mode 100644 index 8ecc9e0..0000000 --- a/tests/yaml-test-suite/LHL4.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Invalid tag - from: '@perlpunk' - tags: error tag - fail: true - yaml: | - --- - !invalid{}tag scalar - tree: | - +STR - +DOC --- diff --git a/tests/yaml-test-suite/LHL4/=== b/tests/yaml-test-suite/LHL4/=== new file mode 100644 index 0000000..5fed78c --- /dev/null +++ b/tests/yaml-test-suite/LHL4/=== @@ -0,0 +1 @@ +Invalid tag diff --git a/tests/yaml-test-suite/LHL4/error b/tests/yaml-test-suite/LHL4/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/LHL4/in.yaml b/tests/yaml-test-suite/LHL4/in.yaml new file mode 100644 index 0000000..3d0ecf2 --- /dev/null +++ b/tests/yaml-test-suite/LHL4/in.yaml @@ -0,0 +1,2 @@ +--- +!invalid{}tag scalar diff --git a/tests/yaml-test-suite/LHL4/test.event b/tests/yaml-test-suite/LHL4/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/LHL4/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/LP6E.yaml b/tests/yaml-test-suite/LP6E.yaml deleted file mode 100644 index 52060f1..0000000 --- a/tests/yaml-test-suite/LP6E.yaml +++ /dev/null @@ -1,55 +0,0 @@ ---- -- name: Whitespace After Scalars in Flow - from: NimYAML tests - tags: flow scalar whitespace - yaml: | - - [a, b , c ] - - { "a" : b - , c : 'd' , - e : "f" - } - - [ ] - tree: | - +STR - +DOC - +SEQ - +SEQ [] - =VAL :a - =VAL :b - =VAL :c - -SEQ - +MAP {} - =VAL "a - =VAL :b - =VAL :c - =VAL 'd - =VAL :e - =VAL "f - -MAP - +SEQ [] - -SEQ - -SEQ - -DOC - -STR - json: | - [ - [ - "a", - "b", - "c" - ], - { - "a": "b", - "c": "d", - "e": "f" - }, - [] - ] - dump: | - - - a - - b - - c - - "a": b - c: 'd' - e: "f" - - [] diff --git a/tests/yaml-test-suite/LP6E/=== b/tests/yaml-test-suite/LP6E/=== new file mode 100644 index 0000000..fff8a3d --- /dev/null +++ b/tests/yaml-test-suite/LP6E/=== @@ -0,0 +1 @@ +Whitespace After Scalars in Flow diff --git a/tests/yaml-test-suite/LP6E/in.json b/tests/yaml-test-suite/LP6E/in.json new file mode 100644 index 0000000..178c43c --- /dev/null +++ b/tests/yaml-test-suite/LP6E/in.json @@ -0,0 +1,13 @@ +[ + [ + "a", + "b", + "c" + ], + { + "a": "b", + "c": "d", + "e": "f" + }, + [] +] diff --git a/tests/yaml-test-suite/LP6E/in.yaml b/tests/yaml-test-suite/LP6E/in.yaml new file mode 100644 index 0000000..3a60909 --- /dev/null +++ b/tests/yaml-test-suite/LP6E/in.yaml @@ -0,0 +1,6 @@ +- [a, b , c ] +- { "a" : b + , c : 'd' , + e : "f" + } +- [ ] diff --git a/tests/yaml-test-suite/LP6E/out.yaml b/tests/yaml-test-suite/LP6E/out.yaml new file mode 100644 index 0000000..19d72ae --- /dev/null +++ b/tests/yaml-test-suite/LP6E/out.yaml @@ -0,0 +1,7 @@ +- - a + - b + - c +- "a": b + c: 'd' + e: "f" +- [] diff --git a/tests/yaml-test-suite/LP6E/test.event b/tests/yaml-test-suite/LP6E/test.event new file mode 100644 index 0000000..0fb906b --- /dev/null +++ b/tests/yaml-test-suite/LP6E/test.event @@ -0,0 +1,21 @@ ++STR ++DOC ++SEQ ++SEQ [] +=VAL :a +=VAL :b +=VAL :c +-SEQ ++MAP {} +=VAL "a +=VAL :b +=VAL :c +=VAL 'd +=VAL :e +=VAL "f +-MAP ++SEQ [] +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/LQZ7.yaml b/tests/yaml-test-suite/LQZ7.yaml deleted file mode 100644 index 5bb7576..0000000 --- a/tests/yaml-test-suite/LQZ7.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 7.4. Double Quoted Implicit Keys - from: http://www.yaml.org/spec/1.2/spec.html#id2787420 - tags: spec scalar flow - yaml: | - "implicit block key" : [ - "implicit flow key" : value, - ] - tree: | - +STR - +DOC - +MAP - =VAL "implicit block key - +SEQ [] - +MAP {} - =VAL "implicit flow key - =VAL :value - -MAP - -SEQ - -MAP - -DOC - -STR - json: | - { - "implicit block key": [ - { - "implicit flow key": "value" - } - ] - } - dump: | - "implicit block key": - - "implicit flow key": value diff --git a/tests/yaml-test-suite/LQZ7/=== b/tests/yaml-test-suite/LQZ7/=== new file mode 100644 index 0000000..ceccd13 --- /dev/null +++ b/tests/yaml-test-suite/LQZ7/=== @@ -0,0 +1 @@ +Spec Example 7.4. Double Quoted Implicit Keys diff --git a/tests/yaml-test-suite/LQZ7/in.json b/tests/yaml-test-suite/LQZ7/in.json new file mode 100644 index 0000000..16ae65b --- /dev/null +++ b/tests/yaml-test-suite/LQZ7/in.json @@ -0,0 +1,7 @@ +{ + "implicit block key": [ + { + "implicit flow key": "value" + } + ] +} diff --git a/tests/yaml-test-suite/LQZ7/in.yaml b/tests/yaml-test-suite/LQZ7/in.yaml new file mode 100644 index 0000000..1b7a550 --- /dev/null +++ b/tests/yaml-test-suite/LQZ7/in.yaml @@ -0,0 +1,3 @@ +"implicit block key" : [ + "implicit flow key" : value, + ] diff --git a/tests/yaml-test-suite/LQZ7/out.yaml b/tests/yaml-test-suite/LQZ7/out.yaml new file mode 100644 index 0000000..a17ebf9 --- /dev/null +++ b/tests/yaml-test-suite/LQZ7/out.yaml @@ -0,0 +1,2 @@ +"implicit block key": +- "implicit flow key": value diff --git a/tests/yaml-test-suite/LQZ7/test.event b/tests/yaml-test-suite/LQZ7/test.event new file mode 100644 index 0000000..25701d2 --- /dev/null +++ b/tests/yaml-test-suite/LQZ7/test.event @@ -0,0 +1,13 @@ ++STR ++DOC ++MAP +=VAL "implicit block key ++SEQ [] ++MAP {} +=VAL "implicit flow key +=VAL :value +-MAP +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/LX3P.yaml b/tests/yaml-test-suite/LX3P.yaml deleted file mode 100644 index e5ebb6b..0000000 --- a/tests/yaml-test-suite/LX3P.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Implicit Flow Mapping Key on one line - from: '@perlpunk' - tags: complex-key mapping flow sequence 1.3-err - yaml: | - [flow]: block - tree: | - +STR - +DOC - +MAP - +SEQ [] - =VAL :flow - -SEQ - =VAL :block - -MAP - -DOC - -STR - dump: | - ? - flow - : block diff --git a/tests/yaml-test-suite/LX3P/=== b/tests/yaml-test-suite/LX3P/=== new file mode 100644 index 0000000..ece9082 --- /dev/null +++ b/tests/yaml-test-suite/LX3P/=== @@ -0,0 +1 @@ +Implicit Flow Mapping Key on one line diff --git a/tests/yaml-test-suite/LX3P/in.yaml b/tests/yaml-test-suite/LX3P/in.yaml new file mode 100644 index 0000000..b13c841 --- /dev/null +++ b/tests/yaml-test-suite/LX3P/in.yaml @@ -0,0 +1 @@ +[flow]: block diff --git a/tests/yaml-test-suite/LX3P/out.yaml b/tests/yaml-test-suite/LX3P/out.yaml new file mode 100644 index 0000000..3a8f8f5 --- /dev/null +++ b/tests/yaml-test-suite/LX3P/out.yaml @@ -0,0 +1,2 @@ +? - flow +: block diff --git a/tests/yaml-test-suite/LX3P/test.event b/tests/yaml-test-suite/LX3P/test.event new file mode 100644 index 0000000..6358d03 --- /dev/null +++ b/tests/yaml-test-suite/LX3P/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP ++SEQ [] +=VAL :flow +-SEQ +=VAL :block +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/M29M.yaml b/tests/yaml-test-suite/M29M.yaml deleted file mode 100644 index 370ff21..0000000 --- a/tests/yaml-test-suite/M29M.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Literal Block Scalar - from: NimYAML tests - tags: literal scalar whitespace - yaml: | - a: | - ab - ␣ - cd - ef - ␣ - - ... - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL |ab\n\ncd\nef\n - -MAP - -DOC ... - -STR - json: | - { - "a": "ab\n\ncd\nef\n" - } - dump: | - a: | - ab - - cd - ef - ... diff --git a/tests/yaml-test-suite/M29M/=== b/tests/yaml-test-suite/M29M/=== new file mode 100644 index 0000000..5371bd7 --- /dev/null +++ b/tests/yaml-test-suite/M29M/=== @@ -0,0 +1 @@ +Literal Block Scalar diff --git a/tests/yaml-test-suite/M29M/in.json b/tests/yaml-test-suite/M29M/in.json new file mode 100644 index 0000000..093e6e2 --- /dev/null +++ b/tests/yaml-test-suite/M29M/in.json @@ -0,0 +1,3 @@ +{ + "a": "ab\n\ncd\nef\n" +} diff --git a/tests/yaml-test-suite/M29M/in.yaml b/tests/yaml-test-suite/M29M/in.yaml new file mode 100644 index 0000000..d472650 --- /dev/null +++ b/tests/yaml-test-suite/M29M/in.yaml @@ -0,0 +1,8 @@ +a: | + ab + + cd + ef + + +... diff --git a/tests/yaml-test-suite/M29M/out.yaml b/tests/yaml-test-suite/M29M/out.yaml new file mode 100644 index 0000000..f86936b --- /dev/null +++ b/tests/yaml-test-suite/M29M/out.yaml @@ -0,0 +1,6 @@ +a: | + ab + + cd + ef +... diff --git a/tests/yaml-test-suite/M29M/test.event b/tests/yaml-test-suite/M29M/test.event new file mode 100644 index 0000000..12a9e3b --- /dev/null +++ b/tests/yaml-test-suite/M29M/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL |ab\n\ncd\nef\n +-MAP +-DOC ... +-STR diff --git a/tests/yaml-test-suite/M2N8.yaml b/tests/yaml-test-suite/M2N8.yaml deleted file mode 100644 index 3df5481..0000000 --- a/tests/yaml-test-suite/M2N8.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -- name: Question mark edge cases - from: '@ingydotnet' - tags: edge empty-key - yaml: | - - ? : x - tree: | - +STR - +DOC - +SEQ - +MAP - +MAP - =VAL : - =VAL :x - -MAP - =VAL : - -MAP - -SEQ - -DOC - -STR - dump: | - - ? : x - : - -- yaml: | - ? []: x - tree: | - +STR - +DOC - +MAP - +MAP - +SEQ [] - -SEQ - =VAL :x - -MAP - =VAL : - -MAP - -DOC - -STR - dump: | - ? []: x - : diff --git a/tests/yaml-test-suite/M2N8/00/=== b/tests/yaml-test-suite/M2N8/00/=== new file mode 100644 index 0000000..2510620 --- /dev/null +++ b/tests/yaml-test-suite/M2N8/00/=== @@ -0,0 +1 @@ +Question mark edge cases diff --git a/tests/yaml-test-suite/M2N8/00/in.yaml b/tests/yaml-test-suite/M2N8/00/in.yaml new file mode 100644 index 0000000..82c9ffa --- /dev/null +++ b/tests/yaml-test-suite/M2N8/00/in.yaml @@ -0,0 +1 @@ +- ? : x diff --git a/tests/yaml-test-suite/M2N8/00/out.yaml b/tests/yaml-test-suite/M2N8/00/out.yaml new file mode 100644 index 0000000..969dbce --- /dev/null +++ b/tests/yaml-test-suite/M2N8/00/out.yaml @@ -0,0 +1,2 @@ +- ? : x + : diff --git a/tests/yaml-test-suite/M2N8/00/test.event b/tests/yaml-test-suite/M2N8/00/test.event new file mode 100644 index 0000000..60a5aca --- /dev/null +++ b/tests/yaml-test-suite/M2N8/00/test.event @@ -0,0 +1,13 @@ ++STR ++DOC ++SEQ ++MAP ++MAP +=VAL : +=VAL :x +-MAP +=VAL : +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/M2N8/01/=== b/tests/yaml-test-suite/M2N8/01/=== new file mode 100644 index 0000000..2510620 --- /dev/null +++ b/tests/yaml-test-suite/M2N8/01/=== @@ -0,0 +1 @@ +Question mark edge cases diff --git a/tests/yaml-test-suite/M2N8/01/in.yaml b/tests/yaml-test-suite/M2N8/01/in.yaml new file mode 100644 index 0000000..a786266 --- /dev/null +++ b/tests/yaml-test-suite/M2N8/01/in.yaml @@ -0,0 +1 @@ +? []: x diff --git a/tests/yaml-test-suite/M2N8/01/out.yaml b/tests/yaml-test-suite/M2N8/01/out.yaml new file mode 100644 index 0000000..0b9cd80 --- /dev/null +++ b/tests/yaml-test-suite/M2N8/01/out.yaml @@ -0,0 +1,2 @@ +? []: x +: diff --git a/tests/yaml-test-suite/M2N8/01/test.event b/tests/yaml-test-suite/M2N8/01/test.event new file mode 100644 index 0000000..cc65458 --- /dev/null +++ b/tests/yaml-test-suite/M2N8/01/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP ++MAP ++SEQ [] +-SEQ +=VAL :x +-MAP +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/M5C3.yaml b/tests/yaml-test-suite/M5C3.yaml deleted file mode 100644 index c0075c1..0000000 --- a/tests/yaml-test-suite/M5C3.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: Spec Example 8.21. Block Scalar Nodes - from: http://www.yaml.org/spec/1.2/spec.html#id2799693 - tags: indent spec literal folded tag local-tag 1.3-err - yaml: | - literal: |2 - value - folded: - !foo - >1 - value - tree: | - +STR - +DOC - +MAP - =VAL :literal - =VAL |value\n - =VAL :folded - =VAL >value\n - -MAP - -DOC - -STR - json: | - { - "literal": "value\n", - "folded": "value\n" - } - dump: | - literal: | - value - folded: !foo > - value diff --git a/tests/yaml-test-suite/M5C3/=== b/tests/yaml-test-suite/M5C3/=== new file mode 100644 index 0000000..dd311a4 --- /dev/null +++ b/tests/yaml-test-suite/M5C3/=== @@ -0,0 +1 @@ +Spec Example 8.21. Block Scalar Nodes diff --git a/tests/yaml-test-suite/M5C3/in.json b/tests/yaml-test-suite/M5C3/in.json new file mode 100644 index 0000000..f1eedb0 --- /dev/null +++ b/tests/yaml-test-suite/M5C3/in.json @@ -0,0 +1,4 @@ +{ + "literal": "value\n", + "folded": "value\n" +} diff --git a/tests/yaml-test-suite/M5C3/in.yaml b/tests/yaml-test-suite/M5C3/in.yaml new file mode 100644 index 0000000..f86be74 --- /dev/null +++ b/tests/yaml-test-suite/M5C3/in.yaml @@ -0,0 +1,6 @@ +literal: |2 + value +folded: + !foo + >1 + value diff --git a/tests/yaml-test-suite/M5C3/out.yaml b/tests/yaml-test-suite/M5C3/out.yaml new file mode 100644 index 0000000..0645c55 --- /dev/null +++ b/tests/yaml-test-suite/M5C3/out.yaml @@ -0,0 +1,4 @@ +literal: | + value +folded: !foo > + value diff --git a/tests/yaml-test-suite/M5C3/test.event b/tests/yaml-test-suite/M5C3/test.event new file mode 100644 index 0000000..fcebe87 --- /dev/null +++ b/tests/yaml-test-suite/M5C3/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :literal +=VAL |value\n +=VAL :folded +=VAL >value\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/M5DY.yaml b/tests/yaml-test-suite/M5DY.yaml deleted file mode 100644 index 8a97c16..0000000 --- a/tests/yaml-test-suite/M5DY.yaml +++ /dev/null @@ -1,46 +0,0 @@ ---- -- name: Spec Example 2.11. Mapping between Sequences - from: http://www.yaml.org/spec/1.2/spec.html#id2760799 - tags: complex-key explicit-key spec mapping sequence - yaml: | - ? - Detroit Tigers - - Chicago cubs - : - - 2001-07-23 - - ? [ New York Yankees, - Atlanta Braves ] - : [ 2001-07-02, 2001-08-12, - 2001-08-14 ] - tree: | - +STR - +DOC - +MAP - +SEQ - =VAL :Detroit Tigers - =VAL :Chicago cubs - -SEQ - +SEQ - =VAL :2001-07-23 - -SEQ - +SEQ [] - =VAL :New York Yankees - =VAL :Atlanta Braves - -SEQ - +SEQ [] - =VAL :2001-07-02 - =VAL :2001-08-12 - =VAL :2001-08-14 - -SEQ - -MAP - -DOC - -STR - dump: | - ? - Detroit Tigers - - Chicago cubs - : - 2001-07-23 - ? - New York Yankees - - Atlanta Braves - : - 2001-07-02 - - 2001-08-12 - - 2001-08-14 diff --git a/tests/yaml-test-suite/M5DY/=== b/tests/yaml-test-suite/M5DY/=== new file mode 100644 index 0000000..e7dff97 --- /dev/null +++ b/tests/yaml-test-suite/M5DY/=== @@ -0,0 +1 @@ +Spec Example 2.11. Mapping between Sequences diff --git a/tests/yaml-test-suite/M5DY/in.yaml b/tests/yaml-test-suite/M5DY/in.yaml new file mode 100644 index 0000000..9123ce2 --- /dev/null +++ b/tests/yaml-test-suite/M5DY/in.yaml @@ -0,0 +1,9 @@ +? - Detroit Tigers + - Chicago cubs +: + - 2001-07-23 + +? [ New York Yankees, + Atlanta Braves ] +: [ 2001-07-02, 2001-08-12, + 2001-08-14 ] diff --git a/tests/yaml-test-suite/M5DY/out.yaml b/tests/yaml-test-suite/M5DY/out.yaml new file mode 100644 index 0000000..c232930 --- /dev/null +++ b/tests/yaml-test-suite/M5DY/out.yaml @@ -0,0 +1,8 @@ +? - Detroit Tigers + - Chicago cubs +: - 2001-07-23 +? - New York Yankees + - Atlanta Braves +: - 2001-07-02 + - 2001-08-12 + - 2001-08-14 diff --git a/tests/yaml-test-suite/M5DY/test.event b/tests/yaml-test-suite/M5DY/test.event new file mode 100644 index 0000000..4362cad --- /dev/null +++ b/tests/yaml-test-suite/M5DY/test.event @@ -0,0 +1,22 @@ ++STR ++DOC ++MAP ++SEQ +=VAL :Detroit Tigers +=VAL :Chicago cubs +-SEQ ++SEQ +=VAL :2001-07-23 +-SEQ ++SEQ [] +=VAL :New York Yankees +=VAL :Atlanta Braves +-SEQ ++SEQ [] +=VAL :2001-07-02 +=VAL :2001-08-12 +=VAL :2001-08-14 +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/M6YH.yaml b/tests/yaml-test-suite/M6YH.yaml deleted file mode 100644 index 97f7618..0000000 --- a/tests/yaml-test-suite/M6YH.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -- name: Block sequence indentation - from: '@ingydotnet' - tags: indent - yaml: | - - | - x - - - foo: bar - - - - 42 - tree: | - +STR - +DOC - +SEQ - =VAL |x\n - +MAP - =VAL :foo - =VAL :bar - -MAP - +SEQ - =VAL :42 - -SEQ - -SEQ - -DOC - -STR - json: | - [ - "x\n", - { - "foo" : "bar" - }, - [ - 42 - ] - ] - dump: | - - | - x - - foo: bar - - - 42 diff --git a/tests/yaml-test-suite/M6YH/=== b/tests/yaml-test-suite/M6YH/=== new file mode 100644 index 0000000..0c24416 --- /dev/null +++ b/tests/yaml-test-suite/M6YH/=== @@ -0,0 +1 @@ +Block sequence indentation diff --git a/tests/yaml-test-suite/M6YH/in.json b/tests/yaml-test-suite/M6YH/in.json new file mode 100644 index 0000000..8e9ddf6 --- /dev/null +++ b/tests/yaml-test-suite/M6YH/in.json @@ -0,0 +1,9 @@ +[ + "x\n", + { + "foo" : "bar" + }, + [ + 42 + ] +] diff --git a/tests/yaml-test-suite/M6YH/in.yaml b/tests/yaml-test-suite/M6YH/in.yaml new file mode 100644 index 0000000..d8468d7 --- /dev/null +++ b/tests/yaml-test-suite/M6YH/in.yaml @@ -0,0 +1,6 @@ +- | + x +- + foo: bar +- + - 42 diff --git a/tests/yaml-test-suite/M6YH/out.yaml b/tests/yaml-test-suite/M6YH/out.yaml new file mode 100644 index 0000000..5531ced --- /dev/null +++ b/tests/yaml-test-suite/M6YH/out.yaml @@ -0,0 +1,4 @@ +- | + x +- foo: bar +- - 42 diff --git a/tests/yaml-test-suite/M6YH/test.event b/tests/yaml-test-suite/M6YH/test.event new file mode 100644 index 0000000..c242b41 --- /dev/null +++ b/tests/yaml-test-suite/M6YH/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++SEQ +=VAL |x\n ++MAP +=VAL :foo +=VAL :bar +-MAP ++SEQ +=VAL :42 +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/M7A3.yaml b/tests/yaml-test-suite/M7A3.yaml deleted file mode 100644 index 65a7c49..0000000 --- a/tests/yaml-test-suite/M7A3.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Spec Example 9.3. Bare Documents - from: http://www.yaml.org/spec/1.2/spec.html#id2801226 - tags: spec footer 1.3-err - yaml: | - Bare - document - ... - # No document - ... - | - %!PS-Adobe-2.0 # Not the first line - tree: | - +STR - +DOC - =VAL :Bare document - -DOC ... - +DOC - =VAL |%!PS-Adobe-2.0 # Not the first line\n - -DOC - -STR - json: | - "Bare document" - "%!PS-Adobe-2.0 # Not the first line\n" - emit: | - Bare document - ... - | - %!PS-Adobe-2.0 # Not the first line diff --git a/tests/yaml-test-suite/M7A3/=== b/tests/yaml-test-suite/M7A3/=== new file mode 100644 index 0000000..60f8e3e --- /dev/null +++ b/tests/yaml-test-suite/M7A3/=== @@ -0,0 +1 @@ +Spec Example 9.3. Bare Documents diff --git a/tests/yaml-test-suite/M7A3/emit.yaml b/tests/yaml-test-suite/M7A3/emit.yaml new file mode 100644 index 0000000..091441c --- /dev/null +++ b/tests/yaml-test-suite/M7A3/emit.yaml @@ -0,0 +1,4 @@ +Bare document +... +| + %!PS-Adobe-2.0 # Not the first line diff --git a/tests/yaml-test-suite/M7A3/in.json b/tests/yaml-test-suite/M7A3/in.json new file mode 100644 index 0000000..7f59d09 --- /dev/null +++ b/tests/yaml-test-suite/M7A3/in.json @@ -0,0 +1,2 @@ +"Bare document" +"%!PS-Adobe-2.0 # Not the first line\n" diff --git a/tests/yaml-test-suite/M7A3/in.yaml b/tests/yaml-test-suite/M7A3/in.yaml new file mode 100644 index 0000000..57423e9 --- /dev/null +++ b/tests/yaml-test-suite/M7A3/in.yaml @@ -0,0 +1,7 @@ +Bare +document +... +# No document +... +| +%!PS-Adobe-2.0 # Not the first line diff --git a/tests/yaml-test-suite/M7A3/test.event b/tests/yaml-test-suite/M7A3/test.event new file mode 100644 index 0000000..e3016ea --- /dev/null +++ b/tests/yaml-test-suite/M7A3/test.event @@ -0,0 +1,8 @@ ++STR ++DOC +=VAL :Bare document +-DOC ... ++DOC +=VAL |%!PS-Adobe-2.0 # Not the first line\n +-DOC +-STR diff --git a/tests/yaml-test-suite/M7NX.yaml b/tests/yaml-test-suite/M7NX.yaml deleted file mode 100644 index fa12450..0000000 --- a/tests/yaml-test-suite/M7NX.yaml +++ /dev/null @@ -1,53 +0,0 @@ ---- -- name: Nested flow collections - from: '@perlpunk' - tags: flow mapping sequence - yaml: | - --- - { - a: [ - b, c, { - d: [e, f] - } - ] - } - tree: | - +STR - +DOC --- - +MAP {} - =VAL :a - +SEQ [] - =VAL :b - =VAL :c - +MAP {} - =VAL :d - +SEQ [] - =VAL :e - =VAL :f - -SEQ - -MAP - -SEQ - -MAP - -DOC - -STR - json: | - { - "a": [ - "b", - "c", - { - "d": [ - "e", - "f" - ] - } - ] - } - dump: | - --- - a: - - b - - c - - d: - - e - - f diff --git a/tests/yaml-test-suite/M7NX/=== b/tests/yaml-test-suite/M7NX/=== new file mode 100644 index 0000000..4487e1a --- /dev/null +++ b/tests/yaml-test-suite/M7NX/=== @@ -0,0 +1 @@ +Nested flow collections diff --git a/tests/yaml-test-suite/M7NX/in.json b/tests/yaml-test-suite/M7NX/in.json new file mode 100644 index 0000000..a134c8f --- /dev/null +++ b/tests/yaml-test-suite/M7NX/in.json @@ -0,0 +1,12 @@ +{ + "a": [ + "b", + "c", + { + "d": [ + "e", + "f" + ] + } + ] +} diff --git a/tests/yaml-test-suite/M7NX/in.yaml b/tests/yaml-test-suite/M7NX/in.yaml new file mode 100644 index 0000000..d8f46c4 --- /dev/null +++ b/tests/yaml-test-suite/M7NX/in.yaml @@ -0,0 +1,8 @@ +--- +{ + a: [ + b, c, { + d: [e, f] + } + ] +} diff --git a/tests/yaml-test-suite/M7NX/out.yaml b/tests/yaml-test-suite/M7NX/out.yaml new file mode 100644 index 0000000..3c39642 --- /dev/null +++ b/tests/yaml-test-suite/M7NX/out.yaml @@ -0,0 +1,7 @@ +--- +a: +- b +- c +- d: + - e + - f diff --git a/tests/yaml-test-suite/M7NX/test.event b/tests/yaml-test-suite/M7NX/test.event new file mode 100644 index 0000000..8c78aea --- /dev/null +++ b/tests/yaml-test-suite/M7NX/test.event @@ -0,0 +1,18 @@ ++STR ++DOC --- ++MAP {} +=VAL :a ++SEQ [] +=VAL :b +=VAL :c ++MAP {} +=VAL :d ++SEQ [] +=VAL :e +=VAL :f +-SEQ +-MAP +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/M9B4.yaml b/tests/yaml-test-suite/M9B4.yaml deleted file mode 100644 index 910b0ce..0000000 --- a/tests/yaml-test-suite/M9B4.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Spec Example 8.7. Literal Scalar - from: http://www.yaml.org/spec/1.2/spec.html#id2795789 - tags: spec literal scalar whitespace 1.3-err - yaml: | - | - literal - ——»text - ↵ - ↵ - tree: | - +STR - +DOC - =VAL |literal\n\ttext\n - -DOC - -STR - json: | - "literal\n\ttext\n" - dump: | - | - literal - —»text diff --git a/tests/yaml-test-suite/M9B4/=== b/tests/yaml-test-suite/M9B4/=== new file mode 100644 index 0000000..ff8de20 --- /dev/null +++ b/tests/yaml-test-suite/M9B4/=== @@ -0,0 +1 @@ +Spec Example 8.7. Literal Scalar diff --git a/tests/yaml-test-suite/M9B4/in.json b/tests/yaml-test-suite/M9B4/in.json new file mode 100644 index 0000000..2e190c6 --- /dev/null +++ b/tests/yaml-test-suite/M9B4/in.json @@ -0,0 +1 @@ +"literal\n\ttext\n" diff --git a/tests/yaml-test-suite/M9B4/in.yaml b/tests/yaml-test-suite/M9B4/in.yaml new file mode 100644 index 0000000..31f9966 --- /dev/null +++ b/tests/yaml-test-suite/M9B4/in.yaml @@ -0,0 +1,5 @@ +| + literal + text + + diff --git a/tests/yaml-test-suite/M9B4/out.yaml b/tests/yaml-test-suite/M9B4/out.yaml new file mode 100644 index 0000000..6a9a879 --- /dev/null +++ b/tests/yaml-test-suite/M9B4/out.yaml @@ -0,0 +1,3 @@ +| + literal + text diff --git a/tests/yaml-test-suite/M9B4/test.event b/tests/yaml-test-suite/M9B4/test.event new file mode 100644 index 0000000..5d79e04 --- /dev/null +++ b/tests/yaml-test-suite/M9B4/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL |literal\n\ttext\n +-DOC +-STR diff --git a/tests/yaml-test-suite/MJS9.yaml b/tests/yaml-test-suite/MJS9.yaml deleted file mode 100644 index d497410..0000000 --- a/tests/yaml-test-suite/MJS9.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Spec Example 6.7. Block Folding - from: http://www.yaml.org/spec/1.2/spec.html#id2779603 - tags: folded spec scalar whitespace 1.3-err - yaml: | - > - foo␣ - ␣ - —» bar - - baz - tree: | - +STR - +DOC - =VAL >foo \n\n\t bar\n\nbaz\n - -DOC - -STR - json: | - "foo \n\n\t bar\n\nbaz\n" - dump: | - "foo \n\n\t bar\n\nbaz\n" diff --git a/tests/yaml-test-suite/MJS9/=== b/tests/yaml-test-suite/MJS9/=== new file mode 100644 index 0000000..60158d9 --- /dev/null +++ b/tests/yaml-test-suite/MJS9/=== @@ -0,0 +1 @@ +Spec Example 6.7. Block Folding diff --git a/tests/yaml-test-suite/MJS9/in.json b/tests/yaml-test-suite/MJS9/in.json new file mode 100644 index 0000000..9dd9b03 --- /dev/null +++ b/tests/yaml-test-suite/MJS9/in.json @@ -0,0 +1 @@ +"foo \n\n\t bar\n\nbaz\n" diff --git a/tests/yaml-test-suite/MJS9/in.yaml b/tests/yaml-test-suite/MJS9/in.yaml new file mode 100644 index 0000000..0896cc6 --- /dev/null +++ b/tests/yaml-test-suite/MJS9/in.yaml @@ -0,0 +1,6 @@ +> + foo + + bar + + baz diff --git a/tests/yaml-test-suite/MJS9/out.yaml b/tests/yaml-test-suite/MJS9/out.yaml new file mode 100644 index 0000000..9dd9b03 --- /dev/null +++ b/tests/yaml-test-suite/MJS9/out.yaml @@ -0,0 +1 @@ +"foo \n\n\t bar\n\nbaz\n" diff --git a/tests/yaml-test-suite/MJS9/test.event b/tests/yaml-test-suite/MJS9/test.event new file mode 100644 index 0000000..8fff83e --- /dev/null +++ b/tests/yaml-test-suite/MJS9/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL >foo \n\n\t bar\n\nbaz\n +-DOC +-STR diff --git a/tests/yaml-test-suite/MUS6.yaml b/tests/yaml-test-suite/MUS6.yaml deleted file mode 100644 index 9208fc7..0000000 --- a/tests/yaml-test-suite/MUS6.yaml +++ /dev/null @@ -1,49 +0,0 @@ -- name: Directive variants - from: '@ingydotnet' - tags: directive - also: ZYU8 - fail: true - yaml: | - %YAML 1.1#... - --- - tree: | - +STR - -- fail: true - yaml: | - %YAML 1.2 - --- - %YAML 1.2 - --- - dump: null - -- yaml: | - %YAML 1.1 - --- - tree: | - +STR - +DOC --- - =VAL : - -DOC - -STR - json: | - null - dump: | - --- - -- yaml: | - %YAML ——» 1.1 - --- - -- yaml: | - %YAML 1.1 # comment - --- - -- note: These 2 are reserved directives - yaml: | - %YAM 1.1 - --- - -- yaml: | - %YAMLL 1.1 - --- diff --git a/tests/yaml-test-suite/MUS6/00/=== b/tests/yaml-test-suite/MUS6/00/=== new file mode 100644 index 0000000..bce133d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/00/=== @@ -0,0 +1 @@ +Directive variants diff --git a/tests/yaml-test-suite/MUS6/00/error b/tests/yaml-test-suite/MUS6/00/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/MUS6/00/in.yaml b/tests/yaml-test-suite/MUS6/00/in.yaml new file mode 100644 index 0000000..bb08497 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/00/in.yaml @@ -0,0 +1,2 @@ +%YAML 1.1#... +--- diff --git a/tests/yaml-test-suite/MUS6/00/test.event b/tests/yaml-test-suite/MUS6/00/test.event new file mode 100644 index 0000000..e72d602 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/00/test.event @@ -0,0 +1 @@ ++STR diff --git a/tests/yaml-test-suite/MUS6/01/=== b/tests/yaml-test-suite/MUS6/01/=== new file mode 100644 index 0000000..bce133d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/01/=== @@ -0,0 +1 @@ +Directive variants diff --git a/tests/yaml-test-suite/MUS6/01/error b/tests/yaml-test-suite/MUS6/01/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/MUS6/01/in.yaml b/tests/yaml-test-suite/MUS6/01/in.yaml new file mode 100644 index 0000000..a919837 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/01/in.yaml @@ -0,0 +1,4 @@ +%YAML 1.2 +--- +%YAML 1.2 +--- diff --git a/tests/yaml-test-suite/MUS6/01/test.event b/tests/yaml-test-suite/MUS6/01/test.event new file mode 100644 index 0000000..e72d602 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/01/test.event @@ -0,0 +1 @@ ++STR diff --git a/tests/yaml-test-suite/MUS6/02/=== b/tests/yaml-test-suite/MUS6/02/=== new file mode 100644 index 0000000..bce133d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/02/=== @@ -0,0 +1 @@ +Directive variants diff --git a/tests/yaml-test-suite/MUS6/02/in.json b/tests/yaml-test-suite/MUS6/02/in.json new file mode 100644 index 0000000..19765bd --- /dev/null +++ b/tests/yaml-test-suite/MUS6/02/in.json @@ -0,0 +1 @@ +null diff --git a/tests/yaml-test-suite/MUS6/02/in.yaml b/tests/yaml-test-suite/MUS6/02/in.yaml new file mode 100644 index 0000000..168723f --- /dev/null +++ b/tests/yaml-test-suite/MUS6/02/in.yaml @@ -0,0 +1,2 @@ +%YAML 1.1 +--- diff --git a/tests/yaml-test-suite/MUS6/02/out.yaml b/tests/yaml-test-suite/MUS6/02/out.yaml new file mode 100644 index 0000000..ed97d53 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/02/out.yaml @@ -0,0 +1 @@ +--- diff --git a/tests/yaml-test-suite/MUS6/02/test.event b/tests/yaml-test-suite/MUS6/02/test.event new file mode 100644 index 0000000..e7a400d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/02/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/MUS6/03/=== b/tests/yaml-test-suite/MUS6/03/=== new file mode 100644 index 0000000..bce133d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/03/=== @@ -0,0 +1 @@ +Directive variants diff --git a/tests/yaml-test-suite/MUS6/03/in.json b/tests/yaml-test-suite/MUS6/03/in.json new file mode 100644 index 0000000..19765bd --- /dev/null +++ b/tests/yaml-test-suite/MUS6/03/in.json @@ -0,0 +1 @@ +null diff --git a/tests/yaml-test-suite/MUS6/03/in.yaml b/tests/yaml-test-suite/MUS6/03/in.yaml new file mode 100644 index 0000000..c05cfdf --- /dev/null +++ b/tests/yaml-test-suite/MUS6/03/in.yaml @@ -0,0 +1,2 @@ +%YAML 1.1 +--- diff --git a/tests/yaml-test-suite/MUS6/03/out.yaml b/tests/yaml-test-suite/MUS6/03/out.yaml new file mode 100644 index 0000000..ed97d53 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/03/out.yaml @@ -0,0 +1 @@ +--- diff --git a/tests/yaml-test-suite/MUS6/03/test.event b/tests/yaml-test-suite/MUS6/03/test.event new file mode 100644 index 0000000..e7a400d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/03/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/MUS6/04/=== b/tests/yaml-test-suite/MUS6/04/=== new file mode 100644 index 0000000..bce133d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/04/=== @@ -0,0 +1 @@ +Directive variants diff --git a/tests/yaml-test-suite/MUS6/04/in.json b/tests/yaml-test-suite/MUS6/04/in.json new file mode 100644 index 0000000..19765bd --- /dev/null +++ b/tests/yaml-test-suite/MUS6/04/in.json @@ -0,0 +1 @@ +null diff --git a/tests/yaml-test-suite/MUS6/04/in.yaml b/tests/yaml-test-suite/MUS6/04/in.yaml new file mode 100644 index 0000000..4fb8480 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/04/in.yaml @@ -0,0 +1,2 @@ +%YAML 1.1 # comment +--- diff --git a/tests/yaml-test-suite/MUS6/04/out.yaml b/tests/yaml-test-suite/MUS6/04/out.yaml new file mode 100644 index 0000000..ed97d53 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/04/out.yaml @@ -0,0 +1 @@ +--- diff --git a/tests/yaml-test-suite/MUS6/04/test.event b/tests/yaml-test-suite/MUS6/04/test.event new file mode 100644 index 0000000..e7a400d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/04/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/MUS6/05/=== b/tests/yaml-test-suite/MUS6/05/=== new file mode 100644 index 0000000..bce133d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/05/=== @@ -0,0 +1 @@ +Directive variants diff --git a/tests/yaml-test-suite/MUS6/05/in.json b/tests/yaml-test-suite/MUS6/05/in.json new file mode 100644 index 0000000..19765bd --- /dev/null +++ b/tests/yaml-test-suite/MUS6/05/in.json @@ -0,0 +1 @@ +null diff --git a/tests/yaml-test-suite/MUS6/05/in.yaml b/tests/yaml-test-suite/MUS6/05/in.yaml new file mode 100644 index 0000000..134cd49 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/05/in.yaml @@ -0,0 +1,2 @@ +%YAM 1.1 +--- diff --git a/tests/yaml-test-suite/MUS6/05/out.yaml b/tests/yaml-test-suite/MUS6/05/out.yaml new file mode 100644 index 0000000..ed97d53 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/05/out.yaml @@ -0,0 +1 @@ +--- diff --git a/tests/yaml-test-suite/MUS6/05/test.event b/tests/yaml-test-suite/MUS6/05/test.event new file mode 100644 index 0000000..e7a400d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/05/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/MUS6/06/=== b/tests/yaml-test-suite/MUS6/06/=== new file mode 100644 index 0000000..bce133d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/06/=== @@ -0,0 +1 @@ +Directive variants diff --git a/tests/yaml-test-suite/MUS6/06/in.json b/tests/yaml-test-suite/MUS6/06/in.json new file mode 100644 index 0000000..19765bd --- /dev/null +++ b/tests/yaml-test-suite/MUS6/06/in.json @@ -0,0 +1 @@ +null diff --git a/tests/yaml-test-suite/MUS6/06/in.yaml b/tests/yaml-test-suite/MUS6/06/in.yaml new file mode 100644 index 0000000..2ae8800 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/06/in.yaml @@ -0,0 +1,2 @@ +%YAMLL 1.1 +--- diff --git a/tests/yaml-test-suite/MUS6/06/out.yaml b/tests/yaml-test-suite/MUS6/06/out.yaml new file mode 100644 index 0000000..ed97d53 --- /dev/null +++ b/tests/yaml-test-suite/MUS6/06/out.yaml @@ -0,0 +1 @@ +--- diff --git a/tests/yaml-test-suite/MUS6/06/test.event b/tests/yaml-test-suite/MUS6/06/test.event new file mode 100644 index 0000000..e7a400d --- /dev/null +++ b/tests/yaml-test-suite/MUS6/06/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/MXS3.yaml b/tests/yaml-test-suite/MXS3.yaml deleted file mode 100644 index ceab9ec..0000000 --- a/tests/yaml-test-suite/MXS3.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Flow Mapping in Block Sequence - from: NimYAML tests - tags: mapping sequence flow - yaml: | - - {a: b} - tree: | - +STR - +DOC - +SEQ - +MAP {} - =VAL :a - =VAL :b - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "a": "b" - } - ] - dump: | - - a: b diff --git a/tests/yaml-test-suite/MXS3/=== b/tests/yaml-test-suite/MXS3/=== new file mode 100644 index 0000000..6dd2eb9 --- /dev/null +++ b/tests/yaml-test-suite/MXS3/=== @@ -0,0 +1 @@ +Flow Mapping in Block Sequence diff --git a/tests/yaml-test-suite/MXS3/in.json b/tests/yaml-test-suite/MXS3/in.json new file mode 100644 index 0000000..d107517 --- /dev/null +++ b/tests/yaml-test-suite/MXS3/in.json @@ -0,0 +1,5 @@ +[ + { + "a": "b" + } +] diff --git a/tests/yaml-test-suite/MXS3/in.yaml b/tests/yaml-test-suite/MXS3/in.yaml new file mode 100644 index 0000000..9d8ba51 --- /dev/null +++ b/tests/yaml-test-suite/MXS3/in.yaml @@ -0,0 +1 @@ +- {a: b} diff --git a/tests/yaml-test-suite/MXS3/out.yaml b/tests/yaml-test-suite/MXS3/out.yaml new file mode 100644 index 0000000..dcd59eb --- /dev/null +++ b/tests/yaml-test-suite/MXS3/out.yaml @@ -0,0 +1 @@ +- a: b diff --git a/tests/yaml-test-suite/MXS3/test.event b/tests/yaml-test-suite/MXS3/test.event new file mode 100644 index 0000000..9c0657f --- /dev/null +++ b/tests/yaml-test-suite/MXS3/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ ++MAP {} +=VAL :a +=VAL :b +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/MYW6.yaml b/tests/yaml-test-suite/MYW6.yaml deleted file mode 100644 index 74fe5eb..0000000 --- a/tests/yaml-test-suite/MYW6.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Block Scalar Strip - from: NimYAML tests - tags: literal scalar whitespace 1.3-err - yaml: | - |- - ab - ␣ - ␣ - ... - tree: | - +STR - +DOC - =VAL |ab - -DOC ... - -STR - json: | - "ab" - dump: | - |- - ab - ... diff --git a/tests/yaml-test-suite/MYW6/=== b/tests/yaml-test-suite/MYW6/=== new file mode 100644 index 0000000..7c63f1c --- /dev/null +++ b/tests/yaml-test-suite/MYW6/=== @@ -0,0 +1 @@ +Block Scalar Strip diff --git a/tests/yaml-test-suite/MYW6/in.json b/tests/yaml-test-suite/MYW6/in.json new file mode 100644 index 0000000..cb5537d --- /dev/null +++ b/tests/yaml-test-suite/MYW6/in.json @@ -0,0 +1 @@ +"ab" diff --git a/tests/yaml-test-suite/MYW6/in.yaml b/tests/yaml-test-suite/MYW6/in.yaml new file mode 100644 index 0000000..1056edd --- /dev/null +++ b/tests/yaml-test-suite/MYW6/in.yaml @@ -0,0 +1,5 @@ +|- + ab + + +... diff --git a/tests/yaml-test-suite/MYW6/out.yaml b/tests/yaml-test-suite/MYW6/out.yaml new file mode 100644 index 0000000..b917b3a --- /dev/null +++ b/tests/yaml-test-suite/MYW6/out.yaml @@ -0,0 +1,3 @@ +|- + ab +... diff --git a/tests/yaml-test-suite/MYW6/test.event b/tests/yaml-test-suite/MYW6/test.event new file mode 100644 index 0000000..dbe3414 --- /dev/null +++ b/tests/yaml-test-suite/MYW6/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL |ab +-DOC ... +-STR diff --git a/tests/yaml-test-suite/MZX3.yaml b/tests/yaml-test-suite/MZX3.yaml deleted file mode 100644 index 0b985b8..0000000 --- a/tests/yaml-test-suite/MZX3.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Non-Specific Tags on Scalars - from: NimYAML tests - tags: folded scalar - yaml: | - - plain - - "double quoted" - - 'single quoted' - - > - block - - plain again - tree: | - +STR - +DOC - +SEQ - =VAL :plain - =VAL "double quoted - =VAL 'single quoted - =VAL >block\n - =VAL :plain again - -SEQ - -DOC - -STR - json: | - [ - "plain", - "double quoted", - "single quoted", - "block\n", - "plain again" - ] diff --git a/tests/yaml-test-suite/MZX3/=== b/tests/yaml-test-suite/MZX3/=== new file mode 100644 index 0000000..04cc67a --- /dev/null +++ b/tests/yaml-test-suite/MZX3/=== @@ -0,0 +1 @@ +Non-Specific Tags on Scalars diff --git a/tests/yaml-test-suite/MZX3/in.json b/tests/yaml-test-suite/MZX3/in.json new file mode 100644 index 0000000..2f701b1 --- /dev/null +++ b/tests/yaml-test-suite/MZX3/in.json @@ -0,0 +1,7 @@ +[ + "plain", + "double quoted", + "single quoted", + "block\n", + "plain again" +] diff --git a/tests/yaml-test-suite/MZX3/in.yaml b/tests/yaml-test-suite/MZX3/in.yaml new file mode 100644 index 0000000..81acc21 --- /dev/null +++ b/tests/yaml-test-suite/MZX3/in.yaml @@ -0,0 +1,6 @@ +- plain +- "double quoted" +- 'single quoted' +- > + block +- plain again diff --git a/tests/yaml-test-suite/MZX3/test.event b/tests/yaml-test-suite/MZX3/test.event new file mode 100644 index 0000000..718e649 --- /dev/null +++ b/tests/yaml-test-suite/MZX3/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++SEQ +=VAL :plain +=VAL "double quoted +=VAL 'single quoted +=VAL >block\n +=VAL :plain again +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/N4JP.yaml b/tests/yaml-test-suite/N4JP.yaml deleted file mode 100644 index 51abed3..0000000 --- a/tests/yaml-test-suite/N4JP.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Bad indentation in mapping - from: '@perlpunk' - tags: error mapping indent double - fail: true - yaml: | - map: - key1: "quoted1" - key2: "bad indentation" - tree: | - +STR - +DOC - +MAP - =VAL :map - +MAP - =VAL :key1 - =VAL "quoted1 - -MAP diff --git a/tests/yaml-test-suite/N4JP/=== b/tests/yaml-test-suite/N4JP/=== new file mode 100644 index 0000000..ddb0687 --- /dev/null +++ b/tests/yaml-test-suite/N4JP/=== @@ -0,0 +1 @@ +Bad indentation in mapping diff --git a/tests/yaml-test-suite/N4JP/error b/tests/yaml-test-suite/N4JP/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/N4JP/in.yaml b/tests/yaml-test-suite/N4JP/in.yaml new file mode 100644 index 0000000..55c3038 --- /dev/null +++ b/tests/yaml-test-suite/N4JP/in.yaml @@ -0,0 +1,3 @@ +map: + key1: "quoted1" + key2: "bad indentation" diff --git a/tests/yaml-test-suite/N4JP/test.event b/tests/yaml-test-suite/N4JP/test.event new file mode 100644 index 0000000..ea73a26 --- /dev/null +++ b/tests/yaml-test-suite/N4JP/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :map ++MAP +=VAL :key1 +=VAL "quoted1 +-MAP diff --git a/tests/yaml-test-suite/N782.yaml b/tests/yaml-test-suite/N782.yaml deleted file mode 100644 index e08267b..0000000 --- a/tests/yaml-test-suite/N782.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Invalid document markers in flow style - from: NimYAML tests - tags: flow edge header footer error - fail: true - yaml: | - [ - --- , - ... - ] - tree: | - +STR - +DOC - +SEQ [] diff --git a/tests/yaml-test-suite/N782/=== b/tests/yaml-test-suite/N782/=== new file mode 100644 index 0000000..9162134 --- /dev/null +++ b/tests/yaml-test-suite/N782/=== @@ -0,0 +1 @@ +Invalid document markers in flow style diff --git a/tests/yaml-test-suite/N782/error b/tests/yaml-test-suite/N782/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/N782/in.yaml b/tests/yaml-test-suite/N782/in.yaml new file mode 100644 index 0000000..ef7d8c4 --- /dev/null +++ b/tests/yaml-test-suite/N782/in.yaml @@ -0,0 +1,4 @@ +[ +--- , +... +] diff --git a/tests/yaml-test-suite/N782/test.event b/tests/yaml-test-suite/N782/test.event new file mode 100644 index 0000000..b1282c7 --- /dev/null +++ b/tests/yaml-test-suite/N782/test.event @@ -0,0 +1,3 @@ ++STR ++DOC ++SEQ [] diff --git a/tests/yaml-test-suite/NAT4.yaml b/tests/yaml-test-suite/NAT4.yaml deleted file mode 100644 index 379c940..0000000 --- a/tests/yaml-test-suite/NAT4.yaml +++ /dev/null @@ -1,77 +0,0 @@ ---- -- name: Various empty or newline only quoted strings - from: '@perlpunk' - tags: double scalar single whitespace - yaml: | - --- - a: ' - ' - b: '␣␣ - ' - c: " - " - d: "␣␣ - " - e: ' - - ' - f: " - - " - g: ' - - - ' - h: " - - - " - tree: | - +STR - +DOC --- - +MAP - =VAL :a - =VAL '␣ - =VAL :b - =VAL '␣ - =VAL :c - =VAL "␣ - =VAL :d - =VAL "␣ - =VAL :e - =VAL '\n - =VAL :f - =VAL "\n - =VAL :g - =VAL '\n\n - =VAL :h - =VAL "\n\n - -MAP - -DOC - -STR - json: | - { - "a": " ", - "b": " ", - "c": " ", - "d": " ", - "e": "\n", - "f": "\n", - "g": "\n\n", - "h": "\n\n" - } - emit: | - --- - a: ' ' - b: ' ' - c: " " - d: " " - e: ' - - ' - f: "\n" - g: ' - - - ' - h: "\n\n" diff --git a/tests/yaml-test-suite/NAT4/=== b/tests/yaml-test-suite/NAT4/=== new file mode 100644 index 0000000..e25e2bc --- /dev/null +++ b/tests/yaml-test-suite/NAT4/=== @@ -0,0 +1 @@ +Various empty or newline only quoted strings diff --git a/tests/yaml-test-suite/NAT4/emit.yaml b/tests/yaml-test-suite/NAT4/emit.yaml new file mode 100644 index 0000000..01726bf --- /dev/null +++ b/tests/yaml-test-suite/NAT4/emit.yaml @@ -0,0 +1,14 @@ +--- +a: ' ' +b: ' ' +c: " " +d: " " +e: ' + + ' +f: "\n" +g: ' + + + ' +h: "\n\n" diff --git a/tests/yaml-test-suite/NAT4/in.json b/tests/yaml-test-suite/NAT4/in.json new file mode 100644 index 0000000..f2cc7e8 --- /dev/null +++ b/tests/yaml-test-suite/NAT4/in.json @@ -0,0 +1,10 @@ +{ + "a": " ", + "b": " ", + "c": " ", + "d": " ", + "e": "\n", + "f": "\n", + "g": "\n\n", + "h": "\n\n" +} diff --git a/tests/yaml-test-suite/NAT4/in.yaml b/tests/yaml-test-suite/NAT4/in.yaml new file mode 100644 index 0000000..10d58e2 --- /dev/null +++ b/tests/yaml-test-suite/NAT4/in.yaml @@ -0,0 +1,23 @@ +--- +a: ' + ' +b: ' + ' +c: " + " +d: " + " +e: ' + + ' +f: " + + " +g: ' + + + ' +h: " + + + " diff --git a/tests/yaml-test-suite/NAT4/test.event b/tests/yaml-test-suite/NAT4/test.event new file mode 100644 index 0000000..0b01bbf --- /dev/null +++ b/tests/yaml-test-suite/NAT4/test.event @@ -0,0 +1,22 @@ ++STR ++DOC --- ++MAP +=VAL :a +=VAL ' +=VAL :b +=VAL ' +=VAL :c +=VAL " +=VAL :d +=VAL " +=VAL :e +=VAL '\n +=VAL :f +=VAL "\n +=VAL :g +=VAL '\n\n +=VAL :h +=VAL "\n\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/NB6Z.yaml b/tests/yaml-test-suite/NB6Z.yaml deleted file mode 100644 index 0bc9f1e..0000000 --- a/tests/yaml-test-suite/NB6Z.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Multiline plain value with tabs on empty lines - from: '@perlpunk' - tags: scalar whitespace - yaml: | - key: - value - with - —» - tabs - tree: | - +STR - +DOC - +MAP - =VAL :key - =VAL :value with\ntabs - -MAP - -DOC - -STR - json: | - { - "key": "value with\ntabs" - } - dump: | - key: 'value with - - tabs' diff --git a/tests/yaml-test-suite/NB6Z/=== b/tests/yaml-test-suite/NB6Z/=== new file mode 100644 index 0000000..c0683db --- /dev/null +++ b/tests/yaml-test-suite/NB6Z/=== @@ -0,0 +1 @@ +Multiline plain value with tabs on empty lines diff --git a/tests/yaml-test-suite/NB6Z/in.json b/tests/yaml-test-suite/NB6Z/in.json new file mode 100644 index 0000000..99213fe --- /dev/null +++ b/tests/yaml-test-suite/NB6Z/in.json @@ -0,0 +1,3 @@ +{ + "key": "value with\ntabs" +} diff --git a/tests/yaml-test-suite/NB6Z/in.yaml b/tests/yaml-test-suite/NB6Z/in.yaml new file mode 100644 index 0000000..b7cf4b1 --- /dev/null +++ b/tests/yaml-test-suite/NB6Z/in.yaml @@ -0,0 +1,5 @@ +key: + value + with + + tabs diff --git a/tests/yaml-test-suite/NB6Z/out.yaml b/tests/yaml-test-suite/NB6Z/out.yaml new file mode 100644 index 0000000..3c82c43 --- /dev/null +++ b/tests/yaml-test-suite/NB6Z/out.yaml @@ -0,0 +1,3 @@ +key: 'value with + + tabs' diff --git a/tests/yaml-test-suite/NB6Z/test.event b/tests/yaml-test-suite/NB6Z/test.event new file mode 100644 index 0000000..83b64c3 --- /dev/null +++ b/tests/yaml-test-suite/NB6Z/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :key +=VAL :value with\ntabs +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/NHX8.yaml b/tests/yaml-test-suite/NHX8.yaml deleted file mode 100644 index e8b9978..0000000 --- a/tests/yaml-test-suite/NHX8.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: Empty Lines at End of Document - from: NimYAML tests - tags: empty-key whitespace - yaml: | - : - ↵ - ↵ - tree: | - +STR - +DOC - +MAP - =VAL : - =VAL : - -MAP - -DOC - -STR - emit: | - : diff --git a/tests/yaml-test-suite/NHX8/=== b/tests/yaml-test-suite/NHX8/=== new file mode 100644 index 0000000..7d4039a --- /dev/null +++ b/tests/yaml-test-suite/NHX8/=== @@ -0,0 +1 @@ +Empty Lines at End of Document diff --git a/tests/yaml-test-suite/NHX8/emit.yaml b/tests/yaml-test-suite/NHX8/emit.yaml new file mode 100644 index 0000000..397db75 --- /dev/null +++ b/tests/yaml-test-suite/NHX8/emit.yaml @@ -0,0 +1 @@ +: diff --git a/tests/yaml-test-suite/NHX8/in.yaml b/tests/yaml-test-suite/NHX8/in.yaml new file mode 100644 index 0000000..2c0664b --- /dev/null +++ b/tests/yaml-test-suite/NHX8/in.yaml @@ -0,0 +1,3 @@ +: + + diff --git a/tests/yaml-test-suite/NHX8/test.event b/tests/yaml-test-suite/NHX8/test.event new file mode 100644 index 0000000..5e2623a --- /dev/null +++ b/tests/yaml-test-suite/NHX8/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL : +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/NJ66.yaml b/tests/yaml-test-suite/NJ66.yaml deleted file mode 100644 index e7d98b3..0000000 --- a/tests/yaml-test-suite/NJ66.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Multiline plain flow mapping key - from: '@perlpunk' - tags: flow mapping - yaml: | - --- - - { single line: value} - - { multi - line: value} - tree: | - +STR - +DOC --- - +SEQ - +MAP {} - =VAL :single line - =VAL :value - -MAP - +MAP {} - =VAL :multi line - =VAL :value - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "single line": "value" - }, - { - "multi line": "value" - } - ] - dump: | - --- - - single line: value - - multi line: value diff --git a/tests/yaml-test-suite/NJ66/=== b/tests/yaml-test-suite/NJ66/=== new file mode 100644 index 0000000..e59df2f --- /dev/null +++ b/tests/yaml-test-suite/NJ66/=== @@ -0,0 +1 @@ +Multiline plain flow mapping key diff --git a/tests/yaml-test-suite/NJ66/in.json b/tests/yaml-test-suite/NJ66/in.json new file mode 100644 index 0000000..d214d88 --- /dev/null +++ b/tests/yaml-test-suite/NJ66/in.json @@ -0,0 +1,8 @@ +[ + { + "single line": "value" + }, + { + "multi line": "value" + } +] diff --git a/tests/yaml-test-suite/NJ66/in.yaml b/tests/yaml-test-suite/NJ66/in.yaml new file mode 100644 index 0000000..6ded532 --- /dev/null +++ b/tests/yaml-test-suite/NJ66/in.yaml @@ -0,0 +1,4 @@ +--- +- { single line: value} +- { multi + line: value} diff --git a/tests/yaml-test-suite/NJ66/out.yaml b/tests/yaml-test-suite/NJ66/out.yaml new file mode 100644 index 0000000..e15be7c --- /dev/null +++ b/tests/yaml-test-suite/NJ66/out.yaml @@ -0,0 +1,3 @@ +--- +- single line: value +- multi line: value diff --git a/tests/yaml-test-suite/NJ66/test.event b/tests/yaml-test-suite/NJ66/test.event new file mode 100644 index 0000000..8845a03 --- /dev/null +++ b/tests/yaml-test-suite/NJ66/test.event @@ -0,0 +1,14 @@ ++STR ++DOC --- ++SEQ ++MAP {} +=VAL :single line +=VAL :value +-MAP ++MAP {} +=VAL :multi line +=VAL :value +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/NKF9.yaml b/tests/yaml-test-suite/NKF9.yaml deleted file mode 100644 index fede8e1..0000000 --- a/tests/yaml-test-suite/NKF9.yaml +++ /dev/null @@ -1,60 +0,0 @@ ---- -- name: Empty keys in block and flow mapping - from: '@perlpunk' - tags: empty-key mapping - yaml: | - --- - key: value - : empty key - --- - { - key: value, : empty key - } - --- - # empty key and value - : - --- - # empty key and value - { : } - tree: | - +STR - +DOC --- - +MAP - =VAL :key - =VAL :value - =VAL : - =VAL :empty key - -MAP - -DOC - +DOC --- - +MAP {} - =VAL :key - =VAL :value - =VAL : - =VAL :empty key - -MAP - -DOC - +DOC --- - +MAP - =VAL : - =VAL : - -MAP - -DOC - +DOC --- - +MAP {} - =VAL : - =VAL : - -MAP - -DOC - -STR - emit: | - --- - key: value - : empty key - --- - key: value - : empty key - --- - : - --- - : diff --git a/tests/yaml-test-suite/NKF9/=== b/tests/yaml-test-suite/NKF9/=== new file mode 100644 index 0000000..33faaa2 --- /dev/null +++ b/tests/yaml-test-suite/NKF9/=== @@ -0,0 +1 @@ +Empty keys in block and flow mapping diff --git a/tests/yaml-test-suite/NKF9/emit.yaml b/tests/yaml-test-suite/NKF9/emit.yaml new file mode 100644 index 0000000..7aad997 --- /dev/null +++ b/tests/yaml-test-suite/NKF9/emit.yaml @@ -0,0 +1,10 @@ +--- +key: value +: empty key +--- +key: value +: empty key +--- +: +--- +: diff --git a/tests/yaml-test-suite/NKF9/in.yaml b/tests/yaml-test-suite/NKF9/in.yaml new file mode 100644 index 0000000..30c07c2 --- /dev/null +++ b/tests/yaml-test-suite/NKF9/in.yaml @@ -0,0 +1,13 @@ +--- +key: value +: empty key +--- +{ + key: value, : empty key +} +--- +# empty key and value +: +--- +# empty key and value +{ : } diff --git a/tests/yaml-test-suite/NKF9/test.event b/tests/yaml-test-suite/NKF9/test.event new file mode 100644 index 0000000..d63dcd5 --- /dev/null +++ b/tests/yaml-test-suite/NKF9/test.event @@ -0,0 +1,30 @@ ++STR ++DOC --- ++MAP +=VAL :key +=VAL :value +=VAL : +=VAL :empty key +-MAP +-DOC ++DOC --- ++MAP {} +=VAL :key +=VAL :value +=VAL : +=VAL :empty key +-MAP +-DOC ++DOC --- ++MAP +=VAL : +=VAL : +-MAP +-DOC ++DOC --- ++MAP {} +=VAL : +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/NP9H.yaml b/tests/yaml-test-suite/NP9H.yaml deleted file mode 100644 index 21d1354..0000000 --- a/tests/yaml-test-suite/NP9H.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Spec Example 7.5. Double Quoted Line Breaks - from: http://www.yaml.org/spec/1.2/spec.html#id2787745 - tags: double spec scalar whitespace upto-1.2 - yaml: | - "folded␣ - to a space,» - ␣ - to a line feed, or »\ - \ »non-content" - tree: | - +STR - +DOC - =VAL "folded to a space,\nto a line feed, or \t \tnon-content - -DOC - -STR - json: | - "folded to a space,\nto a line feed, or \t \tnon-content" - dump: | - "folded to a space,\nto a line feed, or \t \tnon-content" diff --git a/tests/yaml-test-suite/NP9H/=== b/tests/yaml-test-suite/NP9H/=== new file mode 100644 index 0000000..68acce4 --- /dev/null +++ b/tests/yaml-test-suite/NP9H/=== @@ -0,0 +1 @@ +Spec Example 7.5. Double Quoted Line Breaks diff --git a/tests/yaml-test-suite/NP9H/in.json b/tests/yaml-test-suite/NP9H/in.json new file mode 100644 index 0000000..6ab3718 --- /dev/null +++ b/tests/yaml-test-suite/NP9H/in.json @@ -0,0 +1 @@ +"folded to a space,\nto a line feed, or \t \tnon-content" diff --git a/tests/yaml-test-suite/NP9H/in.yaml b/tests/yaml-test-suite/NP9H/in.yaml new file mode 100644 index 0000000..eda4b49 --- /dev/null +++ b/tests/yaml-test-suite/NP9H/in.yaml @@ -0,0 +1,5 @@ +"folded +to a space, + +to a line feed, or \ + \ non-content" diff --git a/tests/yaml-test-suite/NP9H/out.yaml b/tests/yaml-test-suite/NP9H/out.yaml new file mode 100644 index 0000000..6ab3718 --- /dev/null +++ b/tests/yaml-test-suite/NP9H/out.yaml @@ -0,0 +1 @@ +"folded to a space,\nto a line feed, or \t \tnon-content" diff --git a/tests/yaml-test-suite/NP9H/test.event b/tests/yaml-test-suite/NP9H/test.event new file mode 100644 index 0000000..7dc23fc --- /dev/null +++ b/tests/yaml-test-suite/NP9H/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL "folded to a space,\nto a line feed, or \t \tnon-content +-DOC +-STR diff --git a/tests/yaml-test-suite/P2AD.yaml b/tests/yaml-test-suite/P2AD.yaml deleted file mode 100644 index 0034d88..0000000 --- a/tests/yaml-test-suite/P2AD.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -- name: Spec Example 8.1. Block Scalar Header - from: http://www.yaml.org/spec/1.2/spec.html#id2793888 - tags: spec literal folded comment scalar - yaml: | - - | # Empty header↓ - literal - - >1 # Indentation indicator↓ - folded - - |+ # Chomping indicator↓ - keep - - - >1- # Both indicators↓ - strip - tree: | - +STR - +DOC - +SEQ - =VAL |literal\n - =VAL > folded\n - =VAL |keep\n\n - =VAL > strip - -SEQ - -DOC - -STR - json: | - [ - "literal\n", - " folded\n", - "keep\n\n", - " strip" - ] - dump: | - - | - literal - - >2 - folded - - |+ - keep - - - >2- - strip diff --git a/tests/yaml-test-suite/P2AD/=== b/tests/yaml-test-suite/P2AD/=== new file mode 100644 index 0000000..47035df --- /dev/null +++ b/tests/yaml-test-suite/P2AD/=== @@ -0,0 +1 @@ +Spec Example 8.1. Block Scalar Header diff --git a/tests/yaml-test-suite/P2AD/in.json b/tests/yaml-test-suite/P2AD/in.json new file mode 100644 index 0000000..4e476d6 --- /dev/null +++ b/tests/yaml-test-suite/P2AD/in.json @@ -0,0 +1,6 @@ +[ + "literal\n", + " folded\n", + "keep\n\n", + " strip" +] diff --git a/tests/yaml-test-suite/P2AD/in.yaml b/tests/yaml-test-suite/P2AD/in.yaml new file mode 100644 index 0000000..1dbadca --- /dev/null +++ b/tests/yaml-test-suite/P2AD/in.yaml @@ -0,0 +1,9 @@ +- | # Empty header↓ + literal +- >1 # Indentation indicator↓ + folded +- |+ # Chomping indicator↓ + keep + +- >1- # Both indicators↓ + strip diff --git a/tests/yaml-test-suite/P2AD/out.yaml b/tests/yaml-test-suite/P2AD/out.yaml new file mode 100644 index 0000000..afd7be1 --- /dev/null +++ b/tests/yaml-test-suite/P2AD/out.yaml @@ -0,0 +1,9 @@ +- | + literal +- >2 + folded +- |+ + keep + +- >2- + strip diff --git a/tests/yaml-test-suite/P2AD/test.event b/tests/yaml-test-suite/P2AD/test.event new file mode 100644 index 0000000..cd1a323 --- /dev/null +++ b/tests/yaml-test-suite/P2AD/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ +=VAL |literal\n +=VAL > folded\n +=VAL |keep\n\n +=VAL > strip +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/P2EQ.yaml b/tests/yaml-test-suite/P2EQ.yaml deleted file mode 100644 index 26e8e66..0000000 --- a/tests/yaml-test-suite/P2EQ.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Invalid sequene item on same line as previous item - from: '@perlpunk' - tags: error flow mapping sequence - fail: true - yaml: | - --- - - { y: z }- invalid - tree: | - +STR - +DOC --- - +SEQ - +MAP {} - =VAL :y - =VAL :z - -MAP diff --git a/tests/yaml-test-suite/P2EQ/=== b/tests/yaml-test-suite/P2EQ/=== new file mode 100644 index 0000000..cbf33ac --- /dev/null +++ b/tests/yaml-test-suite/P2EQ/=== @@ -0,0 +1 @@ +Invalid sequene item on same line as previous item diff --git a/tests/yaml-test-suite/P2EQ/error b/tests/yaml-test-suite/P2EQ/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/P2EQ/in.yaml b/tests/yaml-test-suite/P2EQ/in.yaml new file mode 100644 index 0000000..a12dd55 --- /dev/null +++ b/tests/yaml-test-suite/P2EQ/in.yaml @@ -0,0 +1,2 @@ +--- +- { y: z }- invalid diff --git a/tests/yaml-test-suite/P2EQ/test.event b/tests/yaml-test-suite/P2EQ/test.event new file mode 100644 index 0000000..759eaf4 --- /dev/null +++ b/tests/yaml-test-suite/P2EQ/test.event @@ -0,0 +1,7 @@ ++STR ++DOC --- ++SEQ ++MAP {} +=VAL :y +=VAL :z +-MAP diff --git a/tests/yaml-test-suite/P76L.yaml b/tests/yaml-test-suite/P76L.yaml deleted file mode 100644 index 2d36d3f..0000000 --- a/tests/yaml-test-suite/P76L.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Spec Example 6.19. Secondary Tag Handle - from: http://www.yaml.org/spec/1.2/spec.html#id2782940 - tags: spec header tag unknown-tag - yaml: | - %TAG !! tag:example.com,2000:app/ - --- - !!int 1 - 3 # Interval, not integer - tree: | - +STR - +DOC --- - =VAL :1 - 3 - -DOC - -STR - json: | - "1 - 3" - dump: | - --- ! 1 - 3 diff --git a/tests/yaml-test-suite/P76L/=== b/tests/yaml-test-suite/P76L/=== new file mode 100644 index 0000000..eee444b --- /dev/null +++ b/tests/yaml-test-suite/P76L/=== @@ -0,0 +1 @@ +Spec Example 6.19. Secondary Tag Handle diff --git a/tests/yaml-test-suite/P76L/in.json b/tests/yaml-test-suite/P76L/in.json new file mode 100644 index 0000000..8394b3d --- /dev/null +++ b/tests/yaml-test-suite/P76L/in.json @@ -0,0 +1 @@ +"1 - 3" diff --git a/tests/yaml-test-suite/P76L/in.yaml b/tests/yaml-test-suite/P76L/in.yaml new file mode 100644 index 0000000..7b9d9b1 --- /dev/null +++ b/tests/yaml-test-suite/P76L/in.yaml @@ -0,0 +1,3 @@ +%TAG !! tag:example.com,2000:app/ +--- +!!int 1 - 3 # Interval, not integer diff --git a/tests/yaml-test-suite/P76L/out.yaml b/tests/yaml-test-suite/P76L/out.yaml new file mode 100644 index 0000000..5f5ce99 --- /dev/null +++ b/tests/yaml-test-suite/P76L/out.yaml @@ -0,0 +1 @@ +--- ! 1 - 3 diff --git a/tests/yaml-test-suite/P76L/test.event b/tests/yaml-test-suite/P76L/test.event new file mode 100644 index 0000000..c008088 --- /dev/null +++ b/tests/yaml-test-suite/P76L/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :1 - 3 +-DOC +-STR diff --git a/tests/yaml-test-suite/P94K.yaml b/tests/yaml-test-suite/P94K.yaml deleted file mode 100644 index d7ba5d9..0000000 --- a/tests/yaml-test-suite/P94K.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Spec Example 6.11. Multi-Line Comments - from: http://www.yaml.org/spec/1.2/spec.html#id2780696 - tags: spec comment - yaml: | - key: # Comment - # lines - value - ↵ - ↵ - tree: | - +STR - +DOC - +MAP - =VAL :key - =VAL :value - -MAP - -DOC - -STR - json: | - { - "key": "value" - } - dump: | - key: value diff --git a/tests/yaml-test-suite/P94K/=== b/tests/yaml-test-suite/P94K/=== new file mode 100644 index 0000000..1d5c947 --- /dev/null +++ b/tests/yaml-test-suite/P94K/=== @@ -0,0 +1 @@ +Spec Example 6.11. Multi-Line Comments diff --git a/tests/yaml-test-suite/P94K/in.json b/tests/yaml-test-suite/P94K/in.json new file mode 100644 index 0000000..7a9e864 --- /dev/null +++ b/tests/yaml-test-suite/P94K/in.json @@ -0,0 +1,3 @@ +{ + "key": "value" +} diff --git a/tests/yaml-test-suite/P94K/in.yaml b/tests/yaml-test-suite/P94K/in.yaml new file mode 100644 index 0000000..6776e8a --- /dev/null +++ b/tests/yaml-test-suite/P94K/in.yaml @@ -0,0 +1,5 @@ +key: # Comment + # lines + value + + diff --git a/tests/yaml-test-suite/P94K/out.yaml b/tests/yaml-test-suite/P94K/out.yaml new file mode 100644 index 0000000..b4f46b7 --- /dev/null +++ b/tests/yaml-test-suite/P94K/out.yaml @@ -0,0 +1 @@ +key: value diff --git a/tests/yaml-test-suite/P94K/test.event b/tests/yaml-test-suite/P94K/test.event new file mode 100644 index 0000000..4010c9a --- /dev/null +++ b/tests/yaml-test-suite/P94K/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :key +=VAL :value +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/PBJ2.yaml b/tests/yaml-test-suite/PBJ2.yaml deleted file mode 100644 index 41ece10..0000000 --- a/tests/yaml-test-suite/PBJ2.yaml +++ /dev/null @@ -1,54 +0,0 @@ ---- -- name: Spec Example 2.3. Mapping Scalars to Sequences - from: http://www.yaml.org/spec/1.2/spec.html#id2759963 - tags: spec mapping sequence - yaml: | - american: - - Boston Red Sox - - Detroit Tigers - - New York Yankees - national: - - New York Mets - - Chicago Cubs - - Atlanta Braves - tree: | - +STR - +DOC - +MAP - =VAL :american - +SEQ - =VAL :Boston Red Sox - =VAL :Detroit Tigers - =VAL :New York Yankees - -SEQ - =VAL :national - +SEQ - =VAL :New York Mets - =VAL :Chicago Cubs - =VAL :Atlanta Braves - -SEQ - -MAP - -DOC - -STR - json: | - { - "american": [ - "Boston Red Sox", - "Detroit Tigers", - "New York Yankees" - ], - "national": [ - "New York Mets", - "Chicago Cubs", - "Atlanta Braves" - ] - } - dump: | - american: - - Boston Red Sox - - Detroit Tigers - - New York Yankees - national: - - New York Mets - - Chicago Cubs - - Atlanta Braves diff --git a/tests/yaml-test-suite/PBJ2/=== b/tests/yaml-test-suite/PBJ2/=== new file mode 100644 index 0000000..a46fca3 --- /dev/null +++ b/tests/yaml-test-suite/PBJ2/=== @@ -0,0 +1 @@ +Spec Example 2.3. Mapping Scalars to Sequences diff --git a/tests/yaml-test-suite/PBJ2/in.json b/tests/yaml-test-suite/PBJ2/in.json new file mode 100644 index 0000000..7d19aaf --- /dev/null +++ b/tests/yaml-test-suite/PBJ2/in.json @@ -0,0 +1,12 @@ +{ + "american": [ + "Boston Red Sox", + "Detroit Tigers", + "New York Yankees" + ], + "national": [ + "New York Mets", + "Chicago Cubs", + "Atlanta Braves" + ] +} diff --git a/tests/yaml-test-suite/PBJ2/in.yaml b/tests/yaml-test-suite/PBJ2/in.yaml new file mode 100644 index 0000000..656d628 --- /dev/null +++ b/tests/yaml-test-suite/PBJ2/in.yaml @@ -0,0 +1,8 @@ +american: + - Boston Red Sox + - Detroit Tigers + - New York Yankees +national: + - New York Mets + - Chicago Cubs + - Atlanta Braves diff --git a/tests/yaml-test-suite/PBJ2/out.yaml b/tests/yaml-test-suite/PBJ2/out.yaml new file mode 100644 index 0000000..01883b9 --- /dev/null +++ b/tests/yaml-test-suite/PBJ2/out.yaml @@ -0,0 +1,8 @@ +american: +- Boston Red Sox +- Detroit Tigers +- New York Yankees +national: +- New York Mets +- Chicago Cubs +- Atlanta Braves diff --git a/tests/yaml-test-suite/PBJ2/test.event b/tests/yaml-test-suite/PBJ2/test.event new file mode 100644 index 0000000..063b205 --- /dev/null +++ b/tests/yaml-test-suite/PBJ2/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++MAP +=VAL :american ++SEQ +=VAL :Boston Red Sox +=VAL :Detroit Tigers +=VAL :New York Yankees +-SEQ +=VAL :national ++SEQ +=VAL :New York Mets +=VAL :Chicago Cubs +=VAL :Atlanta Braves +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/PRH3.yaml b/tests/yaml-test-suite/PRH3.yaml deleted file mode 100644 index 5e6f914..0000000 --- a/tests/yaml-test-suite/PRH3.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Spec Example 7.9. Single Quoted Lines - from: http://www.yaml.org/spec/1.2/spec.html#id2788756 - tags: single spec scalar whitespace upto-1.2 - yaml: | - ' 1st non-empty - - 2nd non-empty␣ - ———»3rd non-empty ' - tree: | - +STR - +DOC - =VAL ' 1st non-empty\n2nd non-empty 3rd non-empty␣ - -DOC - -STR - json: | - " 1st non-empty\n2nd non-empty 3rd non-empty " - dump: | - ' 1st non-empty - - 2nd non-empty 3rd non-empty ' - emit: | - ' 1st non-empty - - 2nd non-empty 3rd non-empty ' diff --git a/tests/yaml-test-suite/PRH3/=== b/tests/yaml-test-suite/PRH3/=== new file mode 100644 index 0000000..adcba84 --- /dev/null +++ b/tests/yaml-test-suite/PRH3/=== @@ -0,0 +1 @@ +Spec Example 7.9. Single Quoted Lines diff --git a/tests/yaml-test-suite/PRH3/emit.yaml b/tests/yaml-test-suite/PRH3/emit.yaml new file mode 100644 index 0000000..32a6943 --- /dev/null +++ b/tests/yaml-test-suite/PRH3/emit.yaml @@ -0,0 +1,3 @@ +' 1st non-empty + + 2nd non-empty 3rd non-empty ' diff --git a/tests/yaml-test-suite/PRH3/in.json b/tests/yaml-test-suite/PRH3/in.json new file mode 100644 index 0000000..2dfab84 --- /dev/null +++ b/tests/yaml-test-suite/PRH3/in.json @@ -0,0 +1 @@ +" 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/PRH3/in.yaml b/tests/yaml-test-suite/PRH3/in.yaml new file mode 100644 index 0000000..6dd946e --- /dev/null +++ b/tests/yaml-test-suite/PRH3/in.yaml @@ -0,0 +1,4 @@ +' 1st non-empty + + 2nd non-empty + 3rd non-empty ' diff --git a/tests/yaml-test-suite/PRH3/out.yaml b/tests/yaml-test-suite/PRH3/out.yaml new file mode 100644 index 0000000..32a6943 --- /dev/null +++ b/tests/yaml-test-suite/PRH3/out.yaml @@ -0,0 +1,3 @@ +' 1st non-empty + + 2nd non-empty 3rd non-empty ' diff --git a/tests/yaml-test-suite/PRH3/test.event b/tests/yaml-test-suite/PRH3/test.event new file mode 100644 index 0000000..bda01d7 --- /dev/null +++ b/tests/yaml-test-suite/PRH3/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL ' 1st non-empty\n2nd non-empty 3rd non-empty +-DOC +-STR diff --git a/tests/yaml-test-suite/PUW8.yaml b/tests/yaml-test-suite/PUW8.yaml deleted file mode 100644 index d327368..0000000 --- a/tests/yaml-test-suite/PUW8.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Document start on last line - from: '@perlpunk' - tags: header - yaml: | - --- - a: b - --- - tree: | - +STR - +DOC --- - +MAP - =VAL :a - =VAL :b - -MAP - -DOC - +DOC --- - =VAL : - -DOC - -STR - json: | - { - "a": "b" - } - null - dump: | - --- - a: b - --- - ... diff --git a/tests/yaml-test-suite/PUW8/=== b/tests/yaml-test-suite/PUW8/=== new file mode 100644 index 0000000..6767a4b --- /dev/null +++ b/tests/yaml-test-suite/PUW8/=== @@ -0,0 +1 @@ +Document start on last line diff --git a/tests/yaml-test-suite/PUW8/in.json b/tests/yaml-test-suite/PUW8/in.json new file mode 100644 index 0000000..88bf67f --- /dev/null +++ b/tests/yaml-test-suite/PUW8/in.json @@ -0,0 +1,4 @@ +{ + "a": "b" +} +null diff --git a/tests/yaml-test-suite/PUW8/in.yaml b/tests/yaml-test-suite/PUW8/in.yaml new file mode 100644 index 0000000..6e88f36 --- /dev/null +++ b/tests/yaml-test-suite/PUW8/in.yaml @@ -0,0 +1,3 @@ +--- +a: b +--- diff --git a/tests/yaml-test-suite/PUW8/out.yaml b/tests/yaml-test-suite/PUW8/out.yaml new file mode 100644 index 0000000..a37d320 --- /dev/null +++ b/tests/yaml-test-suite/PUW8/out.yaml @@ -0,0 +1,4 @@ +--- +a: b +--- +... diff --git a/tests/yaml-test-suite/PUW8/test.event b/tests/yaml-test-suite/PUW8/test.event new file mode 100644 index 0000000..bde47e1 --- /dev/null +++ b/tests/yaml-test-suite/PUW8/test.event @@ -0,0 +1,11 @@ ++STR ++DOC --- ++MAP +=VAL :a +=VAL :b +-MAP +-DOC ++DOC --- +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/PW8X.yaml b/tests/yaml-test-suite/PW8X.yaml deleted file mode 100644 index 0c4f7ff..0000000 --- a/tests/yaml-test-suite/PW8X.yaml +++ /dev/null @@ -1,52 +0,0 @@ ---- -- name: Anchors on Empty Scalars - from: NimYAML tests - tags: anchor explicit-key - yaml: | - - &a - - a - - - &a : a - b: &b - - - &c : &a - - - ? &d - - - ? &e - : &a - tree: | - +STR - +DOC - +SEQ - =VAL &a : - =VAL :a - +MAP - =VAL &a : - =VAL :a - =VAL :b - =VAL &b : - -MAP - +MAP - =VAL &c : - =VAL &a : - -MAP - +MAP - =VAL &d : - =VAL : - -MAP - +MAP - =VAL &e : - =VAL &a : - -MAP - -SEQ - -DOC - -STR - dump: | - - &a - - a - - &a : a - b: &b - - &c : &a - - &d : - - &e : &a diff --git a/tests/yaml-test-suite/PW8X/=== b/tests/yaml-test-suite/PW8X/=== new file mode 100644 index 0000000..a9015df --- /dev/null +++ b/tests/yaml-test-suite/PW8X/=== @@ -0,0 +1 @@ +Anchors on Empty Scalars diff --git a/tests/yaml-test-suite/PW8X/in.yaml b/tests/yaml-test-suite/PW8X/in.yaml new file mode 100644 index 0000000..23cbbb1 --- /dev/null +++ b/tests/yaml-test-suite/PW8X/in.yaml @@ -0,0 +1,12 @@ +- &a +- a +- + &a : a + b: &b +- + &c : &a +- + ? &d +- + ? &e + : &a diff --git a/tests/yaml-test-suite/PW8X/out.yaml b/tests/yaml-test-suite/PW8X/out.yaml new file mode 100644 index 0000000..497eff1 --- /dev/null +++ b/tests/yaml-test-suite/PW8X/out.yaml @@ -0,0 +1,7 @@ +- &a +- a +- &a : a + b: &b +- &c : &a +- &d : +- &e : &a diff --git a/tests/yaml-test-suite/PW8X/test.event b/tests/yaml-test-suite/PW8X/test.event new file mode 100644 index 0000000..dabd798 --- /dev/null +++ b/tests/yaml-test-suite/PW8X/test.event @@ -0,0 +1,26 @@ ++STR ++DOC ++SEQ +=VAL &a : +=VAL :a ++MAP +=VAL &a : +=VAL :a +=VAL :b +=VAL &b : +-MAP ++MAP +=VAL &c : +=VAL &a : +-MAP ++MAP +=VAL &d : +=VAL : +-MAP ++MAP +=VAL &e : +=VAL &a : +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/Q4CL.yaml b/tests/yaml-test-suite/Q4CL.yaml deleted file mode 100644 index 69eda79..0000000 --- a/tests/yaml-test-suite/Q4CL.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Trailing content after quoted value - from: '@perlpunk' - tags: error mapping double - fail: true - yaml: | - key1: "quoted1" - key2: "quoted2" trailing content - key3: "quoted3" - tree: | - +STR - +DOC - +MAP - =VAL :key1 - =VAL "quoted1 - =VAL :key2 - =VAL "quoted2 diff --git a/tests/yaml-test-suite/Q4CL/=== b/tests/yaml-test-suite/Q4CL/=== new file mode 100644 index 0000000..c0700d2 --- /dev/null +++ b/tests/yaml-test-suite/Q4CL/=== @@ -0,0 +1 @@ +Trailing content after quoted value diff --git a/tests/yaml-test-suite/Q4CL/error b/tests/yaml-test-suite/Q4CL/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Q4CL/in.yaml b/tests/yaml-test-suite/Q4CL/in.yaml new file mode 100644 index 0000000..425342a --- /dev/null +++ b/tests/yaml-test-suite/Q4CL/in.yaml @@ -0,0 +1,3 @@ +key1: "quoted1" +key2: "quoted2" trailing content +key3: "quoted3" diff --git a/tests/yaml-test-suite/Q4CL/test.event b/tests/yaml-test-suite/Q4CL/test.event new file mode 100644 index 0000000..128a5c5 --- /dev/null +++ b/tests/yaml-test-suite/Q4CL/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++MAP +=VAL :key1 +=VAL "quoted1 +=VAL :key2 +=VAL "quoted2 diff --git a/tests/yaml-test-suite/Q5MG.yaml b/tests/yaml-test-suite/Q5MG.yaml deleted file mode 100644 index 5748250..0000000 --- a/tests/yaml-test-suite/Q5MG.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Tab at beginning of line followed by a flow mapping - from: IRC - tags: flow whitespace - yaml: | - ———»{} - tree: | - +STR - +DOC - +MAP {} - -MAP - -DOC - -STR - json: | - {} - dump: | - {} diff --git a/tests/yaml-test-suite/Q5MG/=== b/tests/yaml-test-suite/Q5MG/=== new file mode 100644 index 0000000..919761f --- /dev/null +++ b/tests/yaml-test-suite/Q5MG/=== @@ -0,0 +1 @@ +Tab at beginning of line followed by a flow mapping diff --git a/tests/yaml-test-suite/Q5MG/in.json b/tests/yaml-test-suite/Q5MG/in.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/yaml-test-suite/Q5MG/in.json @@ -0,0 +1 @@ +{} diff --git a/tests/yaml-test-suite/Q5MG/in.yaml b/tests/yaml-test-suite/Q5MG/in.yaml new file mode 100644 index 0000000..db07de0 --- /dev/null +++ b/tests/yaml-test-suite/Q5MG/in.yaml @@ -0,0 +1 @@ + {} diff --git a/tests/yaml-test-suite/Q5MG/out.yaml b/tests/yaml-test-suite/Q5MG/out.yaml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/tests/yaml-test-suite/Q5MG/out.yaml @@ -0,0 +1 @@ +{} diff --git a/tests/yaml-test-suite/Q5MG/test.event b/tests/yaml-test-suite/Q5MG/test.event new file mode 100644 index 0000000..a1aa51f --- /dev/null +++ b/tests/yaml-test-suite/Q5MG/test.event @@ -0,0 +1,6 @@ ++STR ++DOC ++MAP {} +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/Q88A.yaml b/tests/yaml-test-suite/Q88A.yaml deleted file mode 100644 index acadda8..0000000 --- a/tests/yaml-test-suite/Q88A.yaml +++ /dev/null @@ -1,48 +0,0 @@ ---- -- name: Spec Example 7.23. Flow Content - from: http://www.yaml.org/spec/1.2/spec.html#id2793163 - tags: spec flow sequence mapping - yaml: | - - [ a, b ] - - { a: b } - - "a" - - 'b' - - c - tree: | - +STR - +DOC - +SEQ - +SEQ [] - =VAL :a - =VAL :b - -SEQ - +MAP {} - =VAL :a - =VAL :b - -MAP - =VAL "a - =VAL 'b - =VAL :c - -SEQ - -DOC - -STR - json: | - [ - [ - "a", - "b" - ], - { - "a": "b" - }, - "a", - "b", - "c" - ] - dump: | - - - a - - b - - a: b - - "a" - - 'b' - - c diff --git a/tests/yaml-test-suite/Q88A/=== b/tests/yaml-test-suite/Q88A/=== new file mode 100644 index 0000000..f7fe18c --- /dev/null +++ b/tests/yaml-test-suite/Q88A/=== @@ -0,0 +1 @@ +Spec Example 7.23. Flow Content diff --git a/tests/yaml-test-suite/Q88A/in.json b/tests/yaml-test-suite/Q88A/in.json new file mode 100644 index 0000000..d88afe7 --- /dev/null +++ b/tests/yaml-test-suite/Q88A/in.json @@ -0,0 +1,12 @@ +[ + [ + "a", + "b" + ], + { + "a": "b" + }, + "a", + "b", + "c" +] diff --git a/tests/yaml-test-suite/Q88A/in.yaml b/tests/yaml-test-suite/Q88A/in.yaml new file mode 100644 index 0000000..f709dc8 --- /dev/null +++ b/tests/yaml-test-suite/Q88A/in.yaml @@ -0,0 +1,5 @@ +- [ a, b ] +- { a: b } +- "a" +- 'b' +- c diff --git a/tests/yaml-test-suite/Q88A/out.yaml b/tests/yaml-test-suite/Q88A/out.yaml new file mode 100644 index 0000000..16bb6a7 --- /dev/null +++ b/tests/yaml-test-suite/Q88A/out.yaml @@ -0,0 +1,6 @@ +- - a + - b +- a: b +- "a" +- 'b' +- c diff --git a/tests/yaml-test-suite/Q88A/test.event b/tests/yaml-test-suite/Q88A/test.event new file mode 100644 index 0000000..abd1118 --- /dev/null +++ b/tests/yaml-test-suite/Q88A/test.event @@ -0,0 +1,17 @@ ++STR ++DOC ++SEQ ++SEQ [] +=VAL :a +=VAL :b +-SEQ ++MAP {} +=VAL :a +=VAL :b +-MAP +=VAL "a +=VAL 'b +=VAL :c +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/Q8AD.yaml b/tests/yaml-test-suite/Q8AD.yaml deleted file mode 100644 index 2d14859..0000000 --- a/tests/yaml-test-suite/Q8AD.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Spec Example 7.5. Double Quoted Line Breaks [1.3] - from: NP9H, modified for YAML 1.3 - tags: double spec scalar whitespace 1.3-mod - yaml: | - --- - "folded␣ - to a space, - ␣ - to a line feed, or »\ - \ »non-content" - tree: | - +STR - +DOC --- - =VAL "folded to a space,\nto a line feed, or \t \tnon-content - -DOC - -STR - json: | - "folded to a space,\nto a line feed, or \t \tnon-content" - dump: | - "folded to a space,\nto a line feed, or \t \tnon-content" - emit: | - --- "folded to a space,\nto a line feed, or \t \tnon-content" diff --git a/tests/yaml-test-suite/Q8AD/=== b/tests/yaml-test-suite/Q8AD/=== new file mode 100644 index 0000000..692cdd3 --- /dev/null +++ b/tests/yaml-test-suite/Q8AD/=== @@ -0,0 +1 @@ +Spec Example 7.5. Double Quoted Line Breaks [1.3] diff --git a/tests/yaml-test-suite/Q8AD/emit.yaml b/tests/yaml-test-suite/Q8AD/emit.yaml new file mode 100644 index 0000000..8770ea7 --- /dev/null +++ b/tests/yaml-test-suite/Q8AD/emit.yaml @@ -0,0 +1 @@ +--- "folded to a space,\nto a line feed, or \t \tnon-content" diff --git a/tests/yaml-test-suite/Q8AD/in.json b/tests/yaml-test-suite/Q8AD/in.json new file mode 100644 index 0000000..6ab3718 --- /dev/null +++ b/tests/yaml-test-suite/Q8AD/in.json @@ -0,0 +1 @@ +"folded to a space,\nto a line feed, or \t \tnon-content" diff --git a/tests/yaml-test-suite/Q8AD/in.yaml b/tests/yaml-test-suite/Q8AD/in.yaml new file mode 100644 index 0000000..bf14c53 --- /dev/null +++ b/tests/yaml-test-suite/Q8AD/in.yaml @@ -0,0 +1,6 @@ +--- +"folded +to a space, + +to a line feed, or \ + \ non-content" diff --git a/tests/yaml-test-suite/Q8AD/out.yaml b/tests/yaml-test-suite/Q8AD/out.yaml new file mode 100644 index 0000000..6ab3718 --- /dev/null +++ b/tests/yaml-test-suite/Q8AD/out.yaml @@ -0,0 +1 @@ +"folded to a space,\nto a line feed, or \t \tnon-content" diff --git a/tests/yaml-test-suite/Q8AD/test.event b/tests/yaml-test-suite/Q8AD/test.event new file mode 100644 index 0000000..31a447e --- /dev/null +++ b/tests/yaml-test-suite/Q8AD/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL "folded to a space,\nto a line feed, or \t \tnon-content +-DOC +-STR diff --git a/tests/yaml-test-suite/Q9WF.yaml b/tests/yaml-test-suite/Q9WF.yaml deleted file mode 100644 index d2d99f5..0000000 --- a/tests/yaml-test-suite/Q9WF.yaml +++ /dev/null @@ -1,35 +0,0 @@ ---- -- name: Spec Example 6.12. Separation Spaces - from: http://www.yaml.org/spec/1.2/spec.html#id2780989 - tags: complex-key flow spec comment whitespace 1.3-err - yaml: | - { first: Sammy, last: Sosa }: - # Statistics: - hr: # Home runs - 65 - avg: # Average - 0.278 - tree: | - +STR - +DOC - +MAP - +MAP {} - =VAL :first - =VAL :Sammy - =VAL :last - =VAL :Sosa - -MAP - +MAP - =VAL :hr - =VAL :65 - =VAL :avg - =VAL :0.278 - -MAP - -MAP - -DOC - -STR - dump: | - ? first: Sammy - last: Sosa - : hr: 65 - avg: 0.278 diff --git a/tests/yaml-test-suite/Q9WF/=== b/tests/yaml-test-suite/Q9WF/=== new file mode 100644 index 0000000..c25e081 --- /dev/null +++ b/tests/yaml-test-suite/Q9WF/=== @@ -0,0 +1 @@ +Spec Example 6.12. Separation Spaces diff --git a/tests/yaml-test-suite/Q9WF/in.yaml b/tests/yaml-test-suite/Q9WF/in.yaml new file mode 100644 index 0000000..e1e1113 --- /dev/null +++ b/tests/yaml-test-suite/Q9WF/in.yaml @@ -0,0 +1,6 @@ +{ first: Sammy, last: Sosa }: +# Statistics: + hr: # Home runs + 65 + avg: # Average + 0.278 diff --git a/tests/yaml-test-suite/Q9WF/out.yaml b/tests/yaml-test-suite/Q9WF/out.yaml new file mode 100644 index 0000000..0c5097a --- /dev/null +++ b/tests/yaml-test-suite/Q9WF/out.yaml @@ -0,0 +1,4 @@ +? first: Sammy + last: Sosa +: hr: 65 + avg: 0.278 diff --git a/tests/yaml-test-suite/Q9WF/test.event b/tests/yaml-test-suite/Q9WF/test.event new file mode 100644 index 0000000..2d4c714 --- /dev/null +++ b/tests/yaml-test-suite/Q9WF/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++MAP ++MAP {} +=VAL :first +=VAL :Sammy +=VAL :last +=VAL :Sosa +-MAP ++MAP +=VAL :hr +=VAL :65 +=VAL :avg +=VAL :0.278 +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/QB6E.yaml b/tests/yaml-test-suite/QB6E.yaml deleted file mode 100644 index 0f9efca..0000000 --- a/tests/yaml-test-suite/QB6E.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Wrong indented multiline quoted scalar - from: '@perlpunk' - tags: double error indent - fail: true - yaml: | - --- - quoted: "a - b - c" - tree: | - +STR - +DOC --- - +MAP - =VAL :quoted diff --git a/tests/yaml-test-suite/QB6E/=== b/tests/yaml-test-suite/QB6E/=== new file mode 100644 index 0000000..021161f --- /dev/null +++ b/tests/yaml-test-suite/QB6E/=== @@ -0,0 +1 @@ +Wrong indented multiline quoted scalar diff --git a/tests/yaml-test-suite/QB6E/error b/tests/yaml-test-suite/QB6E/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/QB6E/in.yaml b/tests/yaml-test-suite/QB6E/in.yaml new file mode 100644 index 0000000..cdbb0da --- /dev/null +++ b/tests/yaml-test-suite/QB6E/in.yaml @@ -0,0 +1,4 @@ +--- +quoted: "a +b +c" diff --git a/tests/yaml-test-suite/QB6E/test.event b/tests/yaml-test-suite/QB6E/test.event new file mode 100644 index 0000000..7e886f0 --- /dev/null +++ b/tests/yaml-test-suite/QB6E/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++MAP +=VAL :quoted diff --git a/tests/yaml-test-suite/QF4Y.yaml b/tests/yaml-test-suite/QF4Y.yaml deleted file mode 100644 index 986849f..0000000 --- a/tests/yaml-test-suite/QF4Y.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Spec Example 7.19. Single Pair Flow Mappings - from: http://www.yaml.org/spec/1.2/spec.html#id2792291 - tags: spec flow mapping - yaml: | - [ - foo: bar - ] - tree: | - +STR - +DOC - +SEQ [] - +MAP {} - =VAL :foo - =VAL :bar - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "foo": "bar" - } - ] - dump: | - - foo: bar diff --git a/tests/yaml-test-suite/QF4Y/=== b/tests/yaml-test-suite/QF4Y/=== new file mode 100644 index 0000000..1bc6060 --- /dev/null +++ b/tests/yaml-test-suite/QF4Y/=== @@ -0,0 +1 @@ +Spec Example 7.19. Single Pair Flow Mappings diff --git a/tests/yaml-test-suite/QF4Y/in.json b/tests/yaml-test-suite/QF4Y/in.json new file mode 100644 index 0000000..15925a4 --- /dev/null +++ b/tests/yaml-test-suite/QF4Y/in.json @@ -0,0 +1,5 @@ +[ + { + "foo": "bar" + } +] diff --git a/tests/yaml-test-suite/QF4Y/in.yaml b/tests/yaml-test-suite/QF4Y/in.yaml new file mode 100644 index 0000000..77f3eb3 --- /dev/null +++ b/tests/yaml-test-suite/QF4Y/in.yaml @@ -0,0 +1,3 @@ +[ +foo: bar +] diff --git a/tests/yaml-test-suite/QF4Y/out.yaml b/tests/yaml-test-suite/QF4Y/out.yaml new file mode 100644 index 0000000..3867010 --- /dev/null +++ b/tests/yaml-test-suite/QF4Y/out.yaml @@ -0,0 +1 @@ +- foo: bar diff --git a/tests/yaml-test-suite/QF4Y/test.event b/tests/yaml-test-suite/QF4Y/test.event new file mode 100644 index 0000000..f44b36d --- /dev/null +++ b/tests/yaml-test-suite/QF4Y/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ [] ++MAP {} +=VAL :foo +=VAL :bar +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/QLJ7.yaml b/tests/yaml-test-suite/QLJ7.yaml deleted file mode 100644 index 7f7c54d..0000000 --- a/tests/yaml-test-suite/QLJ7.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Tag shorthand used in documents but only defined in the first - from: IRC - tags: error directive tag - fail: true - yaml: | - %TAG !prefix! tag:example.com,2011: - --- !prefix!A - a: b - --- !prefix!B - c: d - --- !prefix!C - e: f - tree: | - +STR - +DOC --- - +MAP - =VAL :a - =VAL :b - -MAP - -DOC - +DOC --- diff --git a/tests/yaml-test-suite/QLJ7/=== b/tests/yaml-test-suite/QLJ7/=== new file mode 100644 index 0000000..dd6a3e0 --- /dev/null +++ b/tests/yaml-test-suite/QLJ7/=== @@ -0,0 +1 @@ +Tag shorthand used in documents but only defined in the first diff --git a/tests/yaml-test-suite/QLJ7/error b/tests/yaml-test-suite/QLJ7/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/QLJ7/in.yaml b/tests/yaml-test-suite/QLJ7/in.yaml new file mode 100644 index 0000000..2a1ec44 --- /dev/null +++ b/tests/yaml-test-suite/QLJ7/in.yaml @@ -0,0 +1,7 @@ +%TAG !prefix! tag:example.com,2011: +--- !prefix!A +a: b +--- !prefix!B +c: d +--- !prefix!C +e: f diff --git a/tests/yaml-test-suite/QLJ7/test.event b/tests/yaml-test-suite/QLJ7/test.event new file mode 100644 index 0000000..0215625 --- /dev/null +++ b/tests/yaml-test-suite/QLJ7/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP +=VAL :a +=VAL :b +-MAP +-DOC ++DOC --- diff --git a/tests/yaml-test-suite/QT73.yaml b/tests/yaml-test-suite/QT73.yaml deleted file mode 100644 index 79d925a..0000000 --- a/tests/yaml-test-suite/QT73.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- name: Comment and document-end marker - from: '@perlpunk' - tags: comment footer - yaml: | - # comment - ... - tree: | - +STR - -STR - json: '' - dump: '' diff --git a/tests/yaml-test-suite/QT73/=== b/tests/yaml-test-suite/QT73/=== new file mode 100644 index 0000000..b09f718 --- /dev/null +++ b/tests/yaml-test-suite/QT73/=== @@ -0,0 +1 @@ +Comment and document-end marker diff --git a/tests/yaml-test-suite/QT73/in.json b/tests/yaml-test-suite/QT73/in.json new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/QT73/in.yaml b/tests/yaml-test-suite/QT73/in.yaml new file mode 100644 index 0000000..84cd22e --- /dev/null +++ b/tests/yaml-test-suite/QT73/in.yaml @@ -0,0 +1,2 @@ +# comment +... diff --git a/tests/yaml-test-suite/QT73/out.yaml b/tests/yaml-test-suite/QT73/out.yaml new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/QT73/test.event b/tests/yaml-test-suite/QT73/test.event new file mode 100644 index 0000000..a8c0574 --- /dev/null +++ b/tests/yaml-test-suite/QT73/test.event @@ -0,0 +1,2 @@ ++STR +-STR diff --git a/tests/yaml-test-suite/R4YG.yaml b/tests/yaml-test-suite/R4YG.yaml deleted file mode 100644 index 4e45cdb..0000000 --- a/tests/yaml-test-suite/R4YG.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -- name: Spec Example 8.2. Block Indentation Indicator - from: http://www.yaml.org/spec/1.2/spec.html#id2794311 - tags: spec literal folded scalar whitespace libyaml-err upto-1.2 - yaml: | - - | - detected - - > - ␣ - ␣␣ - # detected - - |1 - explicit - - > - ——» - detected - tree: | - +STR - +DOC - +SEQ - =VAL |detected\n - =VAL >\n\n# detected\n - =VAL | explicit\n - =VAL >\t\ndetected\n - -SEQ - -DOC - -STR - json: | - [ - "detected\n", - "\n\n# detected\n", - " explicit\n", - "\t\ndetected\n" - ] - dump: | - - | - detected - - >2 - - - # detected - - |2 - explicit - - "\t\ndetected\n" diff --git a/tests/yaml-test-suite/R4YG/=== b/tests/yaml-test-suite/R4YG/=== new file mode 100644 index 0000000..d1ace54 --- /dev/null +++ b/tests/yaml-test-suite/R4YG/=== @@ -0,0 +1 @@ +Spec Example 8.2. Block Indentation Indicator diff --git a/tests/yaml-test-suite/R4YG/in.json b/tests/yaml-test-suite/R4YG/in.json new file mode 100644 index 0000000..f84df1f --- /dev/null +++ b/tests/yaml-test-suite/R4YG/in.json @@ -0,0 +1,6 @@ +[ + "detected\n", + "\n\n# detected\n", + " explicit\n", + "\t\ndetected\n" +] diff --git a/tests/yaml-test-suite/R4YG/in.yaml b/tests/yaml-test-suite/R4YG/in.yaml new file mode 100644 index 0000000..39bee04 --- /dev/null +++ b/tests/yaml-test-suite/R4YG/in.yaml @@ -0,0 +1,11 @@ +- | + detected +- > + + + # detected +- |1 + explicit +- > + + detected diff --git a/tests/yaml-test-suite/R4YG/out.yaml b/tests/yaml-test-suite/R4YG/out.yaml new file mode 100644 index 0000000..cf5a936 --- /dev/null +++ b/tests/yaml-test-suite/R4YG/out.yaml @@ -0,0 +1,9 @@ +- | + detected +- >2 + + + # detected +- |2 + explicit +- "\t\ndetected\n" diff --git a/tests/yaml-test-suite/R4YG/test.event b/tests/yaml-test-suite/R4YG/test.event new file mode 100644 index 0000000..9364e01 --- /dev/null +++ b/tests/yaml-test-suite/R4YG/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ +=VAL |detected\n +=VAL >\n\n# detected\n +=VAL | explicit\n +=VAL >\t\ndetected\n +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/R52L.yaml b/tests/yaml-test-suite/R52L.yaml deleted file mode 100644 index e0f5edd..0000000 --- a/tests/yaml-test-suite/R52L.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -- name: Nested flow mapping sequence and mappings - from: '@perlpunk' - tags: flow mapping sequence - yaml: | - --- - { top1: [item1, {key2: value2}, item3], top2: value2 } - tree: | - +STR - +DOC --- - +MAP {} - =VAL :top1 - +SEQ [] - =VAL :item1 - +MAP {} - =VAL :key2 - =VAL :value2 - -MAP - =VAL :item3 - -SEQ - =VAL :top2 - =VAL :value2 - -MAP - -DOC - -STR - json: | - { - "top1": [ - "item1", - { - "key2": "value2" - }, - "item3" - ], - "top2": "value2" - } - dump: | - --- - top1: - - item1 - - key2: value2 - - item3 - top2: value2 diff --git a/tests/yaml-test-suite/R52L/=== b/tests/yaml-test-suite/R52L/=== new file mode 100644 index 0000000..71c2672 --- /dev/null +++ b/tests/yaml-test-suite/R52L/=== @@ -0,0 +1 @@ +Nested flow mapping sequence and mappings diff --git a/tests/yaml-test-suite/R52L/in.json b/tests/yaml-test-suite/R52L/in.json new file mode 100644 index 0000000..e028548 --- /dev/null +++ b/tests/yaml-test-suite/R52L/in.json @@ -0,0 +1,10 @@ +{ + "top1": [ + "item1", + { + "key2": "value2" + }, + "item3" + ], + "top2": "value2" +} diff --git a/tests/yaml-test-suite/R52L/in.yaml b/tests/yaml-test-suite/R52L/in.yaml new file mode 100644 index 0000000..1add8f8 --- /dev/null +++ b/tests/yaml-test-suite/R52L/in.yaml @@ -0,0 +1,2 @@ +--- +{ top1: [item1, {key2: value2}, item3], top2: value2 } diff --git a/tests/yaml-test-suite/R52L/out.yaml b/tests/yaml-test-suite/R52L/out.yaml new file mode 100644 index 0000000..bce9c00 --- /dev/null +++ b/tests/yaml-test-suite/R52L/out.yaml @@ -0,0 +1,6 @@ +--- +top1: +- item1 +- key2: value2 +- item3 +top2: value2 diff --git a/tests/yaml-test-suite/R52L/test.event b/tests/yaml-test-suite/R52L/test.event new file mode 100644 index 0000000..eb8054a --- /dev/null +++ b/tests/yaml-test-suite/R52L/test.event @@ -0,0 +1,17 @@ ++STR ++DOC --- ++MAP {} +=VAL :top1 ++SEQ [] +=VAL :item1 ++MAP {} +=VAL :key2 +=VAL :value2 +-MAP +=VAL :item3 +-SEQ +=VAL :top2 +=VAL :value2 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/RHX7.yaml b/tests/yaml-test-suite/RHX7.yaml deleted file mode 100644 index f80cd86..0000000 --- a/tests/yaml-test-suite/RHX7.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: YAML directive without document end marker - from: '@perlpunk' - tags: directive error - fail: true - yaml: | - --- - key: value - %YAML 1.2 - --- - tree: | - +STR - +DOC --- - +MAP - =VAL :key - =VAL :value diff --git a/tests/yaml-test-suite/RHX7/=== b/tests/yaml-test-suite/RHX7/=== new file mode 100644 index 0000000..f03876f --- /dev/null +++ b/tests/yaml-test-suite/RHX7/=== @@ -0,0 +1 @@ +YAML directive without document end marker diff --git a/tests/yaml-test-suite/RHX7/error b/tests/yaml-test-suite/RHX7/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/RHX7/in.yaml b/tests/yaml-test-suite/RHX7/in.yaml new file mode 100644 index 0000000..8ff8337 --- /dev/null +++ b/tests/yaml-test-suite/RHX7/in.yaml @@ -0,0 +1,4 @@ +--- +key: value +%YAML 1.2 +--- diff --git a/tests/yaml-test-suite/RHX7/test.event b/tests/yaml-test-suite/RHX7/test.event new file mode 100644 index 0000000..335f6e4 --- /dev/null +++ b/tests/yaml-test-suite/RHX7/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- ++MAP +=VAL :key +=VAL :value diff --git a/tests/yaml-test-suite/RLU9.yaml b/tests/yaml-test-suite/RLU9.yaml deleted file mode 100644 index 579bb1d..0000000 --- a/tests/yaml-test-suite/RLU9.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -- name: Sequence Indent - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/indent.tml - tags: sequence indent - yaml: | - foo: - - 42 - bar: - - 44 - tree: | - +STR - +DOC - +MAP - =VAL :foo - +SEQ - =VAL :42 - -SEQ - =VAL :bar - +SEQ - =VAL :44 - -SEQ - -MAP - -DOC - -STR - json: | - { - "foo": [ - 42 - ], - "bar": [ - 44 - ] - } - dump: | - foo: - - 42 - bar: - - 44 diff --git a/tests/yaml-test-suite/RLU9/=== b/tests/yaml-test-suite/RLU9/=== new file mode 100644 index 0000000..0337c63 --- /dev/null +++ b/tests/yaml-test-suite/RLU9/=== @@ -0,0 +1 @@ +Sequence Indent diff --git a/tests/yaml-test-suite/RLU9/in.json b/tests/yaml-test-suite/RLU9/in.json new file mode 100644 index 0000000..ab6d5e3 --- /dev/null +++ b/tests/yaml-test-suite/RLU9/in.json @@ -0,0 +1,8 @@ +{ + "foo": [ + 42 + ], + "bar": [ + 44 + ] +} diff --git a/tests/yaml-test-suite/RLU9/in.yaml b/tests/yaml-test-suite/RLU9/in.yaml new file mode 100644 index 0000000..5896eef --- /dev/null +++ b/tests/yaml-test-suite/RLU9/in.yaml @@ -0,0 +1,4 @@ +foo: +- 42 +bar: + - 44 diff --git a/tests/yaml-test-suite/RLU9/out.yaml b/tests/yaml-test-suite/RLU9/out.yaml new file mode 100644 index 0000000..e493a67 --- /dev/null +++ b/tests/yaml-test-suite/RLU9/out.yaml @@ -0,0 +1,4 @@ +foo: +- 42 +bar: +- 44 diff --git a/tests/yaml-test-suite/RLU9/test.event b/tests/yaml-test-suite/RLU9/test.event new file mode 100644 index 0000000..a08b894 --- /dev/null +++ b/tests/yaml-test-suite/RLU9/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP +=VAL :foo ++SEQ +=VAL :42 +-SEQ +=VAL :bar ++SEQ +=VAL :44 +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/RR7F.yaml b/tests/yaml-test-suite/RR7F.yaml deleted file mode 100644 index c6690f8..0000000 --- a/tests/yaml-test-suite/RR7F.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Mixed Block Mapping (implicit to explicit) - from: NimYAML tests - tags: explicit-key mapping - yaml: | - a: 4.2 - ? d - : 23 - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL :4.2 - =VAL :d - =VAL :23 - -MAP - -DOC - -STR - json: | - { - "d": 23, - "a": 4.2 - } - dump: | - a: 4.2 - d: 23 diff --git a/tests/yaml-test-suite/RR7F/=== b/tests/yaml-test-suite/RR7F/=== new file mode 100644 index 0000000..bb97bd3 --- /dev/null +++ b/tests/yaml-test-suite/RR7F/=== @@ -0,0 +1 @@ +Mixed Block Mapping (implicit to explicit) diff --git a/tests/yaml-test-suite/RR7F/in.json b/tests/yaml-test-suite/RR7F/in.json new file mode 100644 index 0000000..ee9c8be --- /dev/null +++ b/tests/yaml-test-suite/RR7F/in.json @@ -0,0 +1,4 @@ +{ + "d": 23, + "a": 4.2 +} diff --git a/tests/yaml-test-suite/RR7F/in.yaml b/tests/yaml-test-suite/RR7F/in.yaml new file mode 100644 index 0000000..34ccc87 --- /dev/null +++ b/tests/yaml-test-suite/RR7F/in.yaml @@ -0,0 +1,3 @@ +a: 4.2 +? d +: 23 diff --git a/tests/yaml-test-suite/RR7F/out.yaml b/tests/yaml-test-suite/RR7F/out.yaml new file mode 100644 index 0000000..a18620f --- /dev/null +++ b/tests/yaml-test-suite/RR7F/out.yaml @@ -0,0 +1,2 @@ +a: 4.2 +d: 23 diff --git a/tests/yaml-test-suite/RR7F/test.event b/tests/yaml-test-suite/RR7F/test.event new file mode 100644 index 0000000..b547f0a --- /dev/null +++ b/tests/yaml-test-suite/RR7F/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL :4.2 +=VAL :d +=VAL :23 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/RTP8.yaml b/tests/yaml-test-suite/RTP8.yaml deleted file mode 100644 index a2ebf2f..0000000 --- a/tests/yaml-test-suite/RTP8.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Spec Example 9.2. Document Markers - from: http://www.yaml.org/spec/1.2/spec.html#id2800866 - tags: spec header footer - yaml: | - %YAML 1.2 - --- - Document - ... # Suffix - tree: | - +STR - +DOC --- - =VAL :Document - -DOC ... - -STR - json: | - "Document" - dump: | - --- Document - ... diff --git a/tests/yaml-test-suite/RTP8/=== b/tests/yaml-test-suite/RTP8/=== new file mode 100644 index 0000000..8716e00 --- /dev/null +++ b/tests/yaml-test-suite/RTP8/=== @@ -0,0 +1 @@ +Spec Example 9.2. Document Markers diff --git a/tests/yaml-test-suite/RTP8/in.json b/tests/yaml-test-suite/RTP8/in.json new file mode 100644 index 0000000..f1131de --- /dev/null +++ b/tests/yaml-test-suite/RTP8/in.json @@ -0,0 +1 @@ +"Document" diff --git a/tests/yaml-test-suite/RTP8/in.yaml b/tests/yaml-test-suite/RTP8/in.yaml new file mode 100644 index 0000000..886e574 --- /dev/null +++ b/tests/yaml-test-suite/RTP8/in.yaml @@ -0,0 +1,4 @@ +%YAML 1.2 +--- +Document +... # Suffix diff --git a/tests/yaml-test-suite/RTP8/out.yaml b/tests/yaml-test-suite/RTP8/out.yaml new file mode 100644 index 0000000..de28010 --- /dev/null +++ b/tests/yaml-test-suite/RTP8/out.yaml @@ -0,0 +1,2 @@ +--- Document +... diff --git a/tests/yaml-test-suite/RTP8/test.event b/tests/yaml-test-suite/RTP8/test.event new file mode 100644 index 0000000..914e23e --- /dev/null +++ b/tests/yaml-test-suite/RTP8/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :Document +-DOC ... +-STR diff --git a/tests/yaml-test-suite/RXY3.yaml b/tests/yaml-test-suite/RXY3.yaml deleted file mode 100644 index e8ea24b..0000000 --- a/tests/yaml-test-suite/RXY3.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Invalid document-end marker in single quoted string - from: '@perlpunk' - tags: footer single error - fail: true - yaml: | - --- - ' - ... - ' - tree: | - +STR - +DOC --- diff --git a/tests/yaml-test-suite/RXY3/=== b/tests/yaml-test-suite/RXY3/=== new file mode 100644 index 0000000..d7893a3 --- /dev/null +++ b/tests/yaml-test-suite/RXY3/=== @@ -0,0 +1 @@ +Invalid document-end marker in single quoted string diff --git a/tests/yaml-test-suite/RXY3/error b/tests/yaml-test-suite/RXY3/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/RXY3/in.yaml b/tests/yaml-test-suite/RXY3/in.yaml new file mode 100644 index 0000000..5c9530e --- /dev/null +++ b/tests/yaml-test-suite/RXY3/in.yaml @@ -0,0 +1,4 @@ +--- +' +... +' diff --git a/tests/yaml-test-suite/RXY3/test.event b/tests/yaml-test-suite/RXY3/test.event new file mode 100644 index 0000000..19c9481 --- /dev/null +++ b/tests/yaml-test-suite/RXY3/test.event @@ -0,0 +1,2 @@ ++STR ++DOC --- diff --git a/tests/yaml-test-suite/RZP5.yaml b/tests/yaml-test-suite/RZP5.yaml deleted file mode 100644 index e01e7e8..0000000 --- a/tests/yaml-test-suite/RZP5.yaml +++ /dev/null @@ -1,58 +0,0 @@ ---- -- name: Various Trailing Comments [1.3] - from: XW4D, modified for YAML 1.3 - tags: anchor comment folded mapping 1.3-mod - yaml: | - a: "double - quotes" # lala - b: plain - value # lala - c : #lala - d - ? # lala - - seq1 - : # lala - - #lala - seq2 - e: &node # lala - - x: y - block: > # lala - abcde - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL "double quotes - =VAL :b - =VAL :plain value - =VAL :c - =VAL :d - +SEQ - =VAL :seq1 - -SEQ - +SEQ - =VAL :seq2 - -SEQ - =VAL :e - +SEQ &node - +MAP - =VAL :x - =VAL :y - -MAP - -SEQ - =VAL :block - =VAL >abcde\n - -MAP - -DOC - -STR - dump: | - a: "double quotes" - b: plain value - c: d - ? - seq1 - : - seq2 - e: &node - - x: y - block: > - abcde diff --git a/tests/yaml-test-suite/RZP5/=== b/tests/yaml-test-suite/RZP5/=== new file mode 100644 index 0000000..981af67 --- /dev/null +++ b/tests/yaml-test-suite/RZP5/=== @@ -0,0 +1 @@ +Various Trailing Comments [1.3] diff --git a/tests/yaml-test-suite/RZP5/in.yaml b/tests/yaml-test-suite/RZP5/in.yaml new file mode 100644 index 0000000..a18e345 --- /dev/null +++ b/tests/yaml-test-suite/RZP5/in.yaml @@ -0,0 +1,15 @@ +a: "double + quotes" # lala +b: plain + value # lala +c : #lala + d +? # lala + - seq1 +: # lala + - #lala + seq2 +e: &node # lala + - x: y +block: > # lala + abcde diff --git a/tests/yaml-test-suite/RZP5/out.yaml b/tests/yaml-test-suite/RZP5/out.yaml new file mode 100644 index 0000000..d964a91 --- /dev/null +++ b/tests/yaml-test-suite/RZP5/out.yaml @@ -0,0 +1,9 @@ +a: "double quotes" +b: plain value +c: d +? - seq1 +: - seq2 +e: &node +- x: y +block: > + abcde diff --git a/tests/yaml-test-suite/RZP5/test.event b/tests/yaml-test-suite/RZP5/test.event new file mode 100644 index 0000000..fc2031d --- /dev/null +++ b/tests/yaml-test-suite/RZP5/test.event @@ -0,0 +1,27 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL "double quotes +=VAL :b +=VAL :plain value +=VAL :c +=VAL :d ++SEQ +=VAL :seq1 +-SEQ ++SEQ +=VAL :seq2 +-SEQ +=VAL :e ++SEQ &node ++MAP +=VAL :x +=VAL :y +-MAP +-SEQ +=VAL :block +=VAL >abcde\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/RZT7.yaml b/tests/yaml-test-suite/RZT7.yaml deleted file mode 100644 index 9c84722..0000000 --- a/tests/yaml-test-suite/RZT7.yaml +++ /dev/null @@ -1,133 +0,0 @@ ---- -- name: Spec Example 2.28. Log File - from: http://www.yaml.org/spec/1.2/spec.html#id2761866 - tags: spec header literal mapping sequence - yaml: | - --- - Time: 2001-11-23 15:01:42 -5 - User: ed - Warning: - This is an error message - for the log file - --- - Time: 2001-11-23 15:02:31 -5 - User: ed - Warning: - A slightly different error - message. - --- - Date: 2001-11-23 15:03:17 -5 - User: ed - Fatal: - Unknown variable "bar" - Stack: - - file: TopClass.py - line: 23 - code: | - x = MoreObject("345\n") - - file: MoreClass.py - line: 58 - code: |- - foo = bar - tree: | - +STR - +DOC --- - +MAP - =VAL :Time - =VAL :2001-11-23 15:01:42 -5 - =VAL :User - =VAL :ed - =VAL :Warning - =VAL :This is an error message for the log file - -MAP - -DOC - +DOC --- - +MAP - =VAL :Time - =VAL :2001-11-23 15:02:31 -5 - =VAL :User - =VAL :ed - =VAL :Warning - =VAL :A slightly different error message. - -MAP - -DOC - +DOC --- - +MAP - =VAL :Date - =VAL :2001-11-23 15:03:17 -5 - =VAL :User - =VAL :ed - =VAL :Fatal - =VAL :Unknown variable "bar" - =VAL :Stack - +SEQ - +MAP - =VAL :file - =VAL :TopClass.py - =VAL :line - =VAL :23 - =VAL :code - =VAL |x = MoreObject("345\\n")\n - -MAP - +MAP - =VAL :file - =VAL :MoreClass.py - =VAL :line - =VAL :58 - =VAL :code - =VAL |foo = bar - -MAP - -SEQ - -MAP - -DOC - -STR - json: | - { - "Time": "2001-11-23 15:01:42 -5", - "User": "ed", - "Warning": "This is an error message for the log file" - } - { - "Time": "2001-11-23 15:02:31 -5", - "User": "ed", - "Warning": "A slightly different error message." - } - { - "Date": "2001-11-23 15:03:17 -5", - "User": "ed", - "Fatal": "Unknown variable \"bar\"", - "Stack": [ - { - "file": "TopClass.py", - "line": 23, - "code": "x = MoreObject(\"345\\n\")\n" - }, - { - "file": "MoreClass.py", - "line": 58, - "code": "foo = bar" - } - ] - } - dump: | - --- - Time: 2001-11-23 15:01:42 -5 - User: ed - Warning: This is an error message for the log file - --- - Time: 2001-11-23 15:02:31 -5 - User: ed - Warning: A slightly different error message. - --- - Date: 2001-11-23 15:03:17 -5 - User: ed - Fatal: Unknown variable "bar" - Stack: - - file: TopClass.py - line: 23 - code: | - x = MoreObject("345\n") - - file: MoreClass.py - line: 58 - code: |- - foo = bar diff --git a/tests/yaml-test-suite/RZT7/=== b/tests/yaml-test-suite/RZT7/=== new file mode 100644 index 0000000..6ae7715 --- /dev/null +++ b/tests/yaml-test-suite/RZT7/=== @@ -0,0 +1 @@ +Spec Example 2.28. Log File diff --git a/tests/yaml-test-suite/RZT7/in.json b/tests/yaml-test-suite/RZT7/in.json new file mode 100644 index 0000000..2331472 --- /dev/null +++ b/tests/yaml-test-suite/RZT7/in.json @@ -0,0 +1,27 @@ +{ + "Time": "2001-11-23 15:01:42 -5", + "User": "ed", + "Warning": "This is an error message for the log file" +} +{ + "Time": "2001-11-23 15:02:31 -5", + "User": "ed", + "Warning": "A slightly different error message." +} +{ + "Date": "2001-11-23 15:03:17 -5", + "User": "ed", + "Fatal": "Unknown variable \"bar\"", + "Stack": [ + { + "file": "TopClass.py", + "line": 23, + "code": "x = MoreObject(\"345\\n\")\n" + }, + { + "file": "MoreClass.py", + "line": 58, + "code": "foo = bar" + } + ] +} diff --git a/tests/yaml-test-suite/RZT7/in.yaml b/tests/yaml-test-suite/RZT7/in.yaml new file mode 100644 index 0000000..a5c8dc8 --- /dev/null +++ b/tests/yaml-test-suite/RZT7/in.yaml @@ -0,0 +1,26 @@ +--- +Time: 2001-11-23 15:01:42 -5 +User: ed +Warning: + This is an error message + for the log file +--- +Time: 2001-11-23 15:02:31 -5 +User: ed +Warning: + A slightly different error + message. +--- +Date: 2001-11-23 15:03:17 -5 +User: ed +Fatal: + Unknown variable "bar" +Stack: + - file: TopClass.py + line: 23 + code: | + x = MoreObject("345\n") + - file: MoreClass.py + line: 58 + code: |- + foo = bar diff --git a/tests/yaml-test-suite/RZT7/out.yaml b/tests/yaml-test-suite/RZT7/out.yaml new file mode 100644 index 0000000..ba2e08b --- /dev/null +++ b/tests/yaml-test-suite/RZT7/out.yaml @@ -0,0 +1,21 @@ +--- +Time: 2001-11-23 15:01:42 -5 +User: ed +Warning: This is an error message for the log file +--- +Time: 2001-11-23 15:02:31 -5 +User: ed +Warning: A slightly different error message. +--- +Date: 2001-11-23 15:03:17 -5 +User: ed +Fatal: Unknown variable "bar" +Stack: +- file: TopClass.py + line: 23 + code: | + x = MoreObject("345\n") +- file: MoreClass.py + line: 58 + code: |- + foo = bar diff --git a/tests/yaml-test-suite/RZT7/test.event b/tests/yaml-test-suite/RZT7/test.event new file mode 100644 index 0000000..44707fb --- /dev/null +++ b/tests/yaml-test-suite/RZT7/test.event @@ -0,0 +1,51 @@ ++STR ++DOC --- ++MAP +=VAL :Time +=VAL :2001-11-23 15:01:42 -5 +=VAL :User +=VAL :ed +=VAL :Warning +=VAL :This is an error message for the log file +-MAP +-DOC ++DOC --- ++MAP +=VAL :Time +=VAL :2001-11-23 15:02:31 -5 +=VAL :User +=VAL :ed +=VAL :Warning +=VAL :A slightly different error message. +-MAP +-DOC ++DOC --- ++MAP +=VAL :Date +=VAL :2001-11-23 15:03:17 -5 +=VAL :User +=VAL :ed +=VAL :Fatal +=VAL :Unknown variable "bar" +=VAL :Stack ++SEQ ++MAP +=VAL :file +=VAL :TopClass.py +=VAL :line +=VAL :23 +=VAL :code +=VAL |x = MoreObject("345\\n")\n +-MAP ++MAP +=VAL :file +=VAL :MoreClass.py +=VAL :line +=VAL :58 +=VAL :code +=VAL |foo = bar +-MAP +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/S3PD.yaml b/tests/yaml-test-suite/S3PD.yaml deleted file mode 100644 index a1c2da5..0000000 --- a/tests/yaml-test-suite/S3PD.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Spec Example 8.18. Implicit Block Mapping Entries - from: http://www.yaml.org/spec/1.2/spec.html#id2798896 - tags: empty-key spec mapping - yaml: | - plain key: in-line value - : # Both empty - "quoted key": - - entry - tree: | - +STR - +DOC - +MAP - =VAL :plain key - =VAL :in-line value - =VAL : - =VAL : - =VAL "quoted key - +SEQ - =VAL :entry - -SEQ - -MAP - -DOC - -STR - emit: | - plain key: in-line value - : - "quoted key": - - entry diff --git a/tests/yaml-test-suite/S3PD/=== b/tests/yaml-test-suite/S3PD/=== new file mode 100644 index 0000000..4886703 --- /dev/null +++ b/tests/yaml-test-suite/S3PD/=== @@ -0,0 +1 @@ +Spec Example 8.18. Implicit Block Mapping Entries diff --git a/tests/yaml-test-suite/S3PD/emit.yaml b/tests/yaml-test-suite/S3PD/emit.yaml new file mode 100644 index 0000000..4b4cfbd --- /dev/null +++ b/tests/yaml-test-suite/S3PD/emit.yaml @@ -0,0 +1,4 @@ +plain key: in-line value +: +"quoted key": +- entry diff --git a/tests/yaml-test-suite/S3PD/in.yaml b/tests/yaml-test-suite/S3PD/in.yaml new file mode 100644 index 0000000..c819512 --- /dev/null +++ b/tests/yaml-test-suite/S3PD/in.yaml @@ -0,0 +1,4 @@ +plain key: in-line value +: # Both empty +"quoted key": +- entry diff --git a/tests/yaml-test-suite/S3PD/test.event b/tests/yaml-test-suite/S3PD/test.event new file mode 100644 index 0000000..c2e58b5 --- /dev/null +++ b/tests/yaml-test-suite/S3PD/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP +=VAL :plain key +=VAL :in-line value +=VAL : +=VAL : +=VAL "quoted key ++SEQ +=VAL :entry +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/S4GJ.yaml b/tests/yaml-test-suite/S4GJ.yaml deleted file mode 100644 index beb8bff..0000000 --- a/tests/yaml-test-suite/S4GJ.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Invalid text after block scalar indicator - from: '@perlpunk' - tags: error folded - fail: true - yaml: | - --- - folded: > first line - second line - tree: | - +STR - +DOC --- - +MAP - =VAL :folded diff --git a/tests/yaml-test-suite/S4GJ/=== b/tests/yaml-test-suite/S4GJ/=== new file mode 100644 index 0000000..bfd33f4 --- /dev/null +++ b/tests/yaml-test-suite/S4GJ/=== @@ -0,0 +1 @@ +Invalid text after block scalar indicator diff --git a/tests/yaml-test-suite/S4GJ/error b/tests/yaml-test-suite/S4GJ/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/S4GJ/in.yaml b/tests/yaml-test-suite/S4GJ/in.yaml new file mode 100644 index 0000000..a555507 --- /dev/null +++ b/tests/yaml-test-suite/S4GJ/in.yaml @@ -0,0 +1,3 @@ +--- +folded: > first line + second line diff --git a/tests/yaml-test-suite/S4GJ/test.event b/tests/yaml-test-suite/S4GJ/test.event new file mode 100644 index 0000000..f5369ce --- /dev/null +++ b/tests/yaml-test-suite/S4GJ/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++MAP +=VAL :folded diff --git a/tests/yaml-test-suite/S4JQ.yaml b/tests/yaml-test-suite/S4JQ.yaml deleted file mode 100644 index 4160abd..0000000 --- a/tests/yaml-test-suite/S4JQ.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Spec Example 6.28. Non-Specific Tags - from: http://www.yaml.org/spec/1.2/spec.html#id2785512 - tags: spec tag - yaml: | - # Assuming conventional resolution: - - "12" - - 12 - - ! 12 - tree: | - +STR - +DOC - +SEQ - =VAL "12 - =VAL :12 - =VAL :12 - -SEQ - -DOC - -STR - json: | - [ - "12", - 12, - "12" - ] - dump: | - - "12" - - 12 - - ! 12 diff --git a/tests/yaml-test-suite/S4JQ/=== b/tests/yaml-test-suite/S4JQ/=== new file mode 100644 index 0000000..e3896f3 --- /dev/null +++ b/tests/yaml-test-suite/S4JQ/=== @@ -0,0 +1 @@ +Spec Example 6.28. Non-Specific Tags diff --git a/tests/yaml-test-suite/S4JQ/in.json b/tests/yaml-test-suite/S4JQ/in.json new file mode 100644 index 0000000..72d72b2 --- /dev/null +++ b/tests/yaml-test-suite/S4JQ/in.json @@ -0,0 +1,5 @@ +[ + "12", + 12, + "12" +] diff --git a/tests/yaml-test-suite/S4JQ/in.yaml b/tests/yaml-test-suite/S4JQ/in.yaml new file mode 100644 index 0000000..98aa565 --- /dev/null +++ b/tests/yaml-test-suite/S4JQ/in.yaml @@ -0,0 +1,4 @@ +# Assuming conventional resolution: +- "12" +- 12 +- ! 12 diff --git a/tests/yaml-test-suite/S4JQ/out.yaml b/tests/yaml-test-suite/S4JQ/out.yaml new file mode 100644 index 0000000..499d949 --- /dev/null +++ b/tests/yaml-test-suite/S4JQ/out.yaml @@ -0,0 +1,3 @@ +- "12" +- 12 +- ! 12 diff --git a/tests/yaml-test-suite/S4JQ/test.event b/tests/yaml-test-suite/S4JQ/test.event new file mode 100644 index 0000000..3f9e502 --- /dev/null +++ b/tests/yaml-test-suite/S4JQ/test.event @@ -0,0 +1,9 @@ ++STR ++DOC ++SEQ +=VAL "12 +=VAL :12 +=VAL :12 +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/S4T7.yaml b/tests/yaml-test-suite/S4T7.yaml deleted file mode 100644 index e09e55c..0000000 --- a/tests/yaml-test-suite/S4T7.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- name: Document with footer - from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/footer.tml - tags: mapping footer - yaml: | - aaa: bbb - ... - tree: | - +STR - +DOC - +MAP - =VAL :aaa - =VAL :bbb - -MAP - -DOC ... - -STR - json: | - { - "aaa": "bbb" - } diff --git a/tests/yaml-test-suite/S4T7/=== b/tests/yaml-test-suite/S4T7/=== new file mode 100644 index 0000000..e9ba53d --- /dev/null +++ b/tests/yaml-test-suite/S4T7/=== @@ -0,0 +1 @@ +Document with footer diff --git a/tests/yaml-test-suite/S4T7/in.json b/tests/yaml-test-suite/S4T7/in.json new file mode 100644 index 0000000..049aa9e --- /dev/null +++ b/tests/yaml-test-suite/S4T7/in.json @@ -0,0 +1,3 @@ +{ + "aaa": "bbb" +} diff --git a/tests/yaml-test-suite/S4T7/in.yaml b/tests/yaml-test-suite/S4T7/in.yaml new file mode 100644 index 0000000..4fc70de --- /dev/null +++ b/tests/yaml-test-suite/S4T7/in.yaml @@ -0,0 +1,2 @@ +aaa: bbb +... diff --git a/tests/yaml-test-suite/S4T7/test.event b/tests/yaml-test-suite/S4T7/test.event new file mode 100644 index 0000000..1e55d45 --- /dev/null +++ b/tests/yaml-test-suite/S4T7/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :aaa +=VAL :bbb +-MAP +-DOC ... +-STR diff --git a/tests/yaml-test-suite/S7BG.yaml b/tests/yaml-test-suite/S7BG.yaml deleted file mode 100644 index 3b35338..0000000 --- a/tests/yaml-test-suite/S7BG.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Colon followed by comma - from: '@perlpunk' - tags: scalar - yaml: | - --- - - :, - tree: | - +STR - +DOC --- - +SEQ - =VAL ::, - -SEQ - -DOC - -STR - json: | - [ - ":," - ] - dump: | - --- - - :, diff --git a/tests/yaml-test-suite/S7BG/=== b/tests/yaml-test-suite/S7BG/=== new file mode 100644 index 0000000..67bb0a5 --- /dev/null +++ b/tests/yaml-test-suite/S7BG/=== @@ -0,0 +1 @@ +Colon followed by comma diff --git a/tests/yaml-test-suite/S7BG/in.json b/tests/yaml-test-suite/S7BG/in.json new file mode 100644 index 0000000..eadfbdc --- /dev/null +++ b/tests/yaml-test-suite/S7BG/in.json @@ -0,0 +1,3 @@ +[ + ":," +] diff --git a/tests/yaml-test-suite/S7BG/in.yaml b/tests/yaml-test-suite/S7BG/in.yaml new file mode 100644 index 0000000..db7f229 --- /dev/null +++ b/tests/yaml-test-suite/S7BG/in.yaml @@ -0,0 +1,2 @@ +--- +- :, diff --git a/tests/yaml-test-suite/S7BG/out.yaml b/tests/yaml-test-suite/S7BG/out.yaml new file mode 100644 index 0000000..db7f229 --- /dev/null +++ b/tests/yaml-test-suite/S7BG/out.yaml @@ -0,0 +1,2 @@ +--- +- :, diff --git a/tests/yaml-test-suite/S7BG/test.event b/tests/yaml-test-suite/S7BG/test.event new file mode 100644 index 0000000..4c9bafd --- /dev/null +++ b/tests/yaml-test-suite/S7BG/test.event @@ -0,0 +1,7 @@ ++STR ++DOC --- ++SEQ +=VAL ::, +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/S98Z.yaml b/tests/yaml-test-suite/S98Z.yaml deleted file mode 100644 index 5ecb3bd..0000000 --- a/tests/yaml-test-suite/S98Z.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Block scalar with more spaces than first content line - from: '@perlpunk' - tags: error folded comment scalar whitespace - fail: true - yaml: | - empty block scalar: > - ␣ - ␣␣ - ␣␣␣ - # comment - tree: | - +STR - +DOC - +MAP - =VAL :empty block scalar diff --git a/tests/yaml-test-suite/S98Z/=== b/tests/yaml-test-suite/S98Z/=== new file mode 100644 index 0000000..ee72a12 --- /dev/null +++ b/tests/yaml-test-suite/S98Z/=== @@ -0,0 +1 @@ +Block scalar with more spaces than first content line diff --git a/tests/yaml-test-suite/S98Z/error b/tests/yaml-test-suite/S98Z/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/S98Z/in.yaml b/tests/yaml-test-suite/S98Z/in.yaml new file mode 100644 index 0000000..3574e02 --- /dev/null +++ b/tests/yaml-test-suite/S98Z/in.yaml @@ -0,0 +1,5 @@ +empty block scalar: > + + + + # comment diff --git a/tests/yaml-test-suite/S98Z/test.event b/tests/yaml-test-suite/S98Z/test.event new file mode 100644 index 0000000..1fbf5d0 --- /dev/null +++ b/tests/yaml-test-suite/S98Z/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :empty block scalar diff --git a/tests/yaml-test-suite/S9E8.yaml b/tests/yaml-test-suite/S9E8.yaml deleted file mode 100644 index 57e59a9..0000000 --- a/tests/yaml-test-suite/S9E8.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Spec Example 5.3. Block Structure Indicators - from: http://www.yaml.org/spec/1.2/spec.html#id2772312 - tags: explicit-key spec mapping sequence - yaml: | - sequence: - - one - - two - mapping: - ? sky - : blue - sea : green - tree: | - +STR - +DOC - +MAP - =VAL :sequence - +SEQ - =VAL :one - =VAL :two - -SEQ - =VAL :mapping - +MAP - =VAL :sky - =VAL :blue - =VAL :sea - =VAL :green - -MAP - -MAP - -DOC - -STR - json: | - { - "sequence": [ - "one", - "two" - ], - "mapping": { - "sky": "blue", - "sea": "green" - } - } - dump: | - sequence: - - one - - two - mapping: - sky: blue - sea: green diff --git a/tests/yaml-test-suite/S9E8/=== b/tests/yaml-test-suite/S9E8/=== new file mode 100644 index 0000000..ba7c441 --- /dev/null +++ b/tests/yaml-test-suite/S9E8/=== @@ -0,0 +1 @@ +Spec Example 5.3. Block Structure Indicators diff --git a/tests/yaml-test-suite/S9E8/in.json b/tests/yaml-test-suite/S9E8/in.json new file mode 100644 index 0000000..cecac0c --- /dev/null +++ b/tests/yaml-test-suite/S9E8/in.json @@ -0,0 +1,10 @@ +{ + "sequence": [ + "one", + "two" + ], + "mapping": { + "sky": "blue", + "sea": "green" + } +} diff --git a/tests/yaml-test-suite/S9E8/in.yaml b/tests/yaml-test-suite/S9E8/in.yaml new file mode 100644 index 0000000..608ea19 --- /dev/null +++ b/tests/yaml-test-suite/S9E8/in.yaml @@ -0,0 +1,7 @@ +sequence: +- one +- two +mapping: + ? sky + : blue + sea : green diff --git a/tests/yaml-test-suite/S9E8/out.yaml b/tests/yaml-test-suite/S9E8/out.yaml new file mode 100644 index 0000000..95a9880 --- /dev/null +++ b/tests/yaml-test-suite/S9E8/out.yaml @@ -0,0 +1,6 @@ +sequence: +- one +- two +mapping: + sky: blue + sea: green diff --git a/tests/yaml-test-suite/S9E8/test.event b/tests/yaml-test-suite/S9E8/test.event new file mode 100644 index 0000000..d3c22b9 --- /dev/null +++ b/tests/yaml-test-suite/S9E8/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++MAP +=VAL :sequence ++SEQ +=VAL :one +=VAL :two +-SEQ +=VAL :mapping ++MAP +=VAL :sky +=VAL :blue +=VAL :sea +=VAL :green +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/SBG9.yaml b/tests/yaml-test-suite/SBG9.yaml deleted file mode 100644 index 4d0d595..0000000 --- a/tests/yaml-test-suite/SBG9.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Flow Sequence in Flow Mapping - from: NimYAML tests - tags: complex-key sequence mapping flow - yaml: | - {a: [b, c], [d, e]: f} - tree: | - +STR - +DOC - +MAP {} - =VAL :a - +SEQ [] - =VAL :b - =VAL :c - -SEQ - +SEQ [] - =VAL :d - =VAL :e - -SEQ - =VAL :f - -MAP - -DOC - -STR - dump: | - a: - - b - - c - ? - d - - e - : f diff --git a/tests/yaml-test-suite/SBG9/=== b/tests/yaml-test-suite/SBG9/=== new file mode 100644 index 0000000..e8e13cd --- /dev/null +++ b/tests/yaml-test-suite/SBG9/=== @@ -0,0 +1 @@ +Flow Sequence in Flow Mapping diff --git a/tests/yaml-test-suite/SBG9/in.yaml b/tests/yaml-test-suite/SBG9/in.yaml new file mode 100644 index 0000000..e6e30e2 --- /dev/null +++ b/tests/yaml-test-suite/SBG9/in.yaml @@ -0,0 +1 @@ +{a: [b, c], [d, e]: f} diff --git a/tests/yaml-test-suite/SBG9/out.yaml b/tests/yaml-test-suite/SBG9/out.yaml new file mode 100644 index 0000000..c933a47 --- /dev/null +++ b/tests/yaml-test-suite/SBG9/out.yaml @@ -0,0 +1,6 @@ +a: +- b +- c +? - d + - e +: f diff --git a/tests/yaml-test-suite/SBG9/test.event b/tests/yaml-test-suite/SBG9/test.event new file mode 100644 index 0000000..dc986ab --- /dev/null +++ b/tests/yaml-test-suite/SBG9/test.event @@ -0,0 +1,16 @@ ++STR ++DOC ++MAP {} +=VAL :a ++SEQ [] +=VAL :b +=VAL :c +-SEQ ++SEQ [] +=VAL :d +=VAL :e +-SEQ +=VAL :f +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/SF5V.yaml b/tests/yaml-test-suite/SF5V.yaml deleted file mode 100644 index 0dd71d6..0000000 --- a/tests/yaml-test-suite/SF5V.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Duplicate YAML directive - from: '@perlpunk' - tags: directive error - fail: true - yaml: | - %YAML 1.2 - %YAML 1.2 - --- - tree: | - +STR diff --git a/tests/yaml-test-suite/SF5V/=== b/tests/yaml-test-suite/SF5V/=== new file mode 100644 index 0000000..26bda12 --- /dev/null +++ b/tests/yaml-test-suite/SF5V/=== @@ -0,0 +1 @@ +Duplicate YAML directive diff --git a/tests/yaml-test-suite/SF5V/error b/tests/yaml-test-suite/SF5V/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/SF5V/in.yaml b/tests/yaml-test-suite/SF5V/in.yaml new file mode 100644 index 0000000..cb5488f --- /dev/null +++ b/tests/yaml-test-suite/SF5V/in.yaml @@ -0,0 +1,3 @@ +%YAML 1.2 +%YAML 1.2 +--- diff --git a/tests/yaml-test-suite/SF5V/test.event b/tests/yaml-test-suite/SF5V/test.event new file mode 100644 index 0000000..e72d602 --- /dev/null +++ b/tests/yaml-test-suite/SF5V/test.event @@ -0,0 +1 @@ ++STR diff --git a/tests/yaml-test-suite/SKE5.yaml b/tests/yaml-test-suite/SKE5.yaml deleted file mode 100644 index f5014a5..0000000 --- a/tests/yaml-test-suite/SKE5.yaml +++ /dev/null @@ -1,34 +0,0 @@ ---- -- name: Anchor before zero indented sequence - from: '@perlpunk' - tags: anchor indent sequence - yaml: | - --- - seq: - &anchor - - a - - b - tree: | - +STR - +DOC --- - +MAP - =VAL :seq - +SEQ &anchor - =VAL :a - =VAL :b - -SEQ - -MAP - -DOC - -STR - json: | - { - "seq": [ - "a", - "b" - ] - } - dump: | - --- - seq: &anchor - - a - - b diff --git a/tests/yaml-test-suite/SKE5/=== b/tests/yaml-test-suite/SKE5/=== new file mode 100644 index 0000000..5dd89d5 --- /dev/null +++ b/tests/yaml-test-suite/SKE5/=== @@ -0,0 +1 @@ +Anchor before zero indented sequence diff --git a/tests/yaml-test-suite/SKE5/in.json b/tests/yaml-test-suite/SKE5/in.json new file mode 100644 index 0000000..8c9471e --- /dev/null +++ b/tests/yaml-test-suite/SKE5/in.json @@ -0,0 +1,6 @@ +{ + "seq": [ + "a", + "b" + ] +} diff --git a/tests/yaml-test-suite/SKE5/in.yaml b/tests/yaml-test-suite/SKE5/in.yaml new file mode 100644 index 0000000..6a8937a --- /dev/null +++ b/tests/yaml-test-suite/SKE5/in.yaml @@ -0,0 +1,5 @@ +--- +seq: + &anchor +- a +- b diff --git a/tests/yaml-test-suite/SKE5/out.yaml b/tests/yaml-test-suite/SKE5/out.yaml new file mode 100644 index 0000000..b4f50d8 --- /dev/null +++ b/tests/yaml-test-suite/SKE5/out.yaml @@ -0,0 +1,4 @@ +--- +seq: &anchor +- a +- b diff --git a/tests/yaml-test-suite/SKE5/test.event b/tests/yaml-test-suite/SKE5/test.event new file mode 100644 index 0000000..21cb837 --- /dev/null +++ b/tests/yaml-test-suite/SKE5/test.event @@ -0,0 +1,11 @@ ++STR ++DOC --- ++MAP +=VAL :seq ++SEQ &anchor +=VAL :a +=VAL :b +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/SM9W.yaml b/tests/yaml-test-suite/SM9W.yaml deleted file mode 100644 index 238712f..0000000 --- a/tests/yaml-test-suite/SM9W.yaml +++ /dev/null @@ -1,34 +0,0 @@ ---- -- name: Single character streams - from: '@ingydotnet' - tags: sequence - yaml: | - -∎ - tree: | - +STR - +DOC - +SEQ - =VAL : - -SEQ - -DOC - -STR - json: | - [null] - dump: | - - - -- tags: mapping - yaml: | - :∎ - tree: | - +STR - +DOC - +MAP - =VAL : - =VAL : - -MAP - -DOC - -STR - json: null - dump: | - : diff --git a/tests/yaml-test-suite/SM9W/00/=== b/tests/yaml-test-suite/SM9W/00/=== new file mode 100644 index 0000000..3042250 --- /dev/null +++ b/tests/yaml-test-suite/SM9W/00/=== @@ -0,0 +1 @@ +Single character streams diff --git a/tests/yaml-test-suite/SM9W/00/in.json b/tests/yaml-test-suite/SM9W/00/in.json new file mode 100644 index 0000000..62864b3 --- /dev/null +++ b/tests/yaml-test-suite/SM9W/00/in.json @@ -0,0 +1 @@ +[null] diff --git a/tests/yaml-test-suite/SM9W/00/in.yaml b/tests/yaml-test-suite/SM9W/00/in.yaml new file mode 100644 index 0000000..3cf20d5 --- /dev/null +++ b/tests/yaml-test-suite/SM9W/00/in.yaml @@ -0,0 +1 @@ +- \ No newline at end of file diff --git a/tests/yaml-test-suite/SM9W/00/out.yaml b/tests/yaml-test-suite/SM9W/00/out.yaml new file mode 100644 index 0000000..39cdd0d --- /dev/null +++ b/tests/yaml-test-suite/SM9W/00/out.yaml @@ -0,0 +1 @@ +- diff --git a/tests/yaml-test-suite/SM9W/00/test.event b/tests/yaml-test-suite/SM9W/00/test.event new file mode 100644 index 0000000..02b6399 --- /dev/null +++ b/tests/yaml-test-suite/SM9W/00/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ +=VAL : +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/SM9W/01/=== b/tests/yaml-test-suite/SM9W/01/=== new file mode 100644 index 0000000..3042250 --- /dev/null +++ b/tests/yaml-test-suite/SM9W/01/=== @@ -0,0 +1 @@ +Single character streams diff --git a/tests/yaml-test-suite/SM9W/01/in.yaml b/tests/yaml-test-suite/SM9W/01/in.yaml new file mode 100644 index 0000000..22ded55 --- /dev/null +++ b/tests/yaml-test-suite/SM9W/01/in.yaml @@ -0,0 +1 @@ +: \ No newline at end of file diff --git a/tests/yaml-test-suite/SM9W/01/out.yaml b/tests/yaml-test-suite/SM9W/01/out.yaml new file mode 100644 index 0000000..397db75 --- /dev/null +++ b/tests/yaml-test-suite/SM9W/01/out.yaml @@ -0,0 +1 @@ +: diff --git a/tests/yaml-test-suite/SM9W/01/test.event b/tests/yaml-test-suite/SM9W/01/test.event new file mode 100644 index 0000000..5e2623a --- /dev/null +++ b/tests/yaml-test-suite/SM9W/01/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL : +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/SR86.yaml b/tests/yaml-test-suite/SR86.yaml deleted file mode 100644 index a28bb3c..0000000 --- a/tests/yaml-test-suite/SR86.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Anchor plus Alias - from: '@perlpunk' - tags: alias error - fail: true - yaml: | - key1: &a value - key2: &b *a - tree: | - +STR - +DOC - +MAP - =VAL :key1 - =VAL &a :value - =VAL :key2 diff --git a/tests/yaml-test-suite/SR86/=== b/tests/yaml-test-suite/SR86/=== new file mode 100644 index 0000000..1e3d825 --- /dev/null +++ b/tests/yaml-test-suite/SR86/=== @@ -0,0 +1 @@ +Anchor plus Alias diff --git a/tests/yaml-test-suite/SR86/error b/tests/yaml-test-suite/SR86/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/SR86/in.yaml b/tests/yaml-test-suite/SR86/in.yaml new file mode 100644 index 0000000..09c3705 --- /dev/null +++ b/tests/yaml-test-suite/SR86/in.yaml @@ -0,0 +1,2 @@ +key1: &a value +key2: &b *a diff --git a/tests/yaml-test-suite/SR86/test.event b/tests/yaml-test-suite/SR86/test.event new file mode 100644 index 0000000..5ce7dda --- /dev/null +++ b/tests/yaml-test-suite/SR86/test.event @@ -0,0 +1,6 @@ ++STR ++DOC ++MAP +=VAL :key1 +=VAL &a :value +=VAL :key2 diff --git a/tests/yaml-test-suite/SSW6.yaml b/tests/yaml-test-suite/SSW6.yaml deleted file mode 100644 index aaf31b0..0000000 --- a/tests/yaml-test-suite/SSW6.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Spec Example 7.7. Single Quoted Characters [1.3] - from: 4GC6, modified for YAML 1.3 - tags: spec scalar single 1.3-mod - yaml: | - --- - 'here''s to "quotes"' - tree: | - +STR - +DOC --- - =VAL 'here's to "quotes" - -DOC - -STR - json: | - "here's to \"quotes\"" - dump: | - --- 'here''s to "quotes"' diff --git a/tests/yaml-test-suite/SSW6/=== b/tests/yaml-test-suite/SSW6/=== new file mode 100644 index 0000000..cfc2cfb --- /dev/null +++ b/tests/yaml-test-suite/SSW6/=== @@ -0,0 +1 @@ +Spec Example 7.7. Single Quoted Characters [1.3] diff --git a/tests/yaml-test-suite/SSW6/in.json b/tests/yaml-test-suite/SSW6/in.json new file mode 100644 index 0000000..fdc456c --- /dev/null +++ b/tests/yaml-test-suite/SSW6/in.json @@ -0,0 +1 @@ +"here's to \"quotes\"" diff --git a/tests/yaml-test-suite/SSW6/in.yaml b/tests/yaml-test-suite/SSW6/in.yaml new file mode 100644 index 0000000..15d41f0 --- /dev/null +++ b/tests/yaml-test-suite/SSW6/in.yaml @@ -0,0 +1,2 @@ +--- +'here''s to "quotes"' diff --git a/tests/yaml-test-suite/SSW6/out.yaml b/tests/yaml-test-suite/SSW6/out.yaml new file mode 100644 index 0000000..310f3c2 --- /dev/null +++ b/tests/yaml-test-suite/SSW6/out.yaml @@ -0,0 +1 @@ +--- 'here''s to "quotes"' diff --git a/tests/yaml-test-suite/SSW6/test.event b/tests/yaml-test-suite/SSW6/test.event new file mode 100644 index 0000000..7aa7100 --- /dev/null +++ b/tests/yaml-test-suite/SSW6/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL 'here's to "quotes" +-DOC +-STR diff --git a/tests/yaml-test-suite/SU5Z.yaml b/tests/yaml-test-suite/SU5Z.yaml deleted file mode 100644 index 4b9c56d..0000000 --- a/tests/yaml-test-suite/SU5Z.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Comment without whitespace after doublequoted scalar - from: '@perlpunk' - tags: comment error double whitespace - fail: true - yaml: | - key: "value"# invalid comment - tree: | - +STR - +DOC - +MAP - =VAL :key - =VAL "value diff --git a/tests/yaml-test-suite/SU5Z/=== b/tests/yaml-test-suite/SU5Z/=== new file mode 100644 index 0000000..dafb5bc --- /dev/null +++ b/tests/yaml-test-suite/SU5Z/=== @@ -0,0 +1 @@ +Comment without whitespace after doublequoted scalar diff --git a/tests/yaml-test-suite/SU5Z/error b/tests/yaml-test-suite/SU5Z/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/SU5Z/in.yaml b/tests/yaml-test-suite/SU5Z/in.yaml new file mode 100644 index 0000000..ec3e02e --- /dev/null +++ b/tests/yaml-test-suite/SU5Z/in.yaml @@ -0,0 +1 @@ +key: "value"# invalid comment diff --git a/tests/yaml-test-suite/SU5Z/test.event b/tests/yaml-test-suite/SU5Z/test.event new file mode 100644 index 0000000..77b4e02 --- /dev/null +++ b/tests/yaml-test-suite/SU5Z/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL :key +=VAL "value diff --git a/tests/yaml-test-suite/SU74.yaml b/tests/yaml-test-suite/SU74.yaml deleted file mode 100644 index e402f1c..0000000 --- a/tests/yaml-test-suite/SU74.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Anchor and alias as mapping key - from: '@perlpunk' - tags: error anchor alias mapping - fail: true - yaml: | - key1: &alias value1 - &b *alias : value2 - tree: | - +STR - +DOC - +MAP - =VAL :key1 - =VAL &alias :value1 diff --git a/tests/yaml-test-suite/SU74/=== b/tests/yaml-test-suite/SU74/=== new file mode 100644 index 0000000..6847599 --- /dev/null +++ b/tests/yaml-test-suite/SU74/=== @@ -0,0 +1 @@ +Anchor and alias as mapping key diff --git a/tests/yaml-test-suite/SU74/error b/tests/yaml-test-suite/SU74/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/SU74/in.yaml b/tests/yaml-test-suite/SU74/in.yaml new file mode 100644 index 0000000..14f338e --- /dev/null +++ b/tests/yaml-test-suite/SU74/in.yaml @@ -0,0 +1,2 @@ +key1: &alias value1 +&b *alias : value2 diff --git a/tests/yaml-test-suite/SU74/test.event b/tests/yaml-test-suite/SU74/test.event new file mode 100644 index 0000000..0ceec09 --- /dev/null +++ b/tests/yaml-test-suite/SU74/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL :key1 +=VAL &alias :value1 diff --git a/tests/yaml-test-suite/SY6V.yaml b/tests/yaml-test-suite/SY6V.yaml deleted file mode 100644 index 82986e5..0000000 --- a/tests/yaml-test-suite/SY6V.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -- name: Anchor before sequence entry on same line - from: '@perlpunk' - tags: anchor error sequence - fail: true - yaml: | - &anchor - sequence entry - tree: | - +STR diff --git a/tests/yaml-test-suite/SY6V/=== b/tests/yaml-test-suite/SY6V/=== new file mode 100644 index 0000000..bcfec27 --- /dev/null +++ b/tests/yaml-test-suite/SY6V/=== @@ -0,0 +1 @@ +Anchor before sequence entry on same line diff --git a/tests/yaml-test-suite/SY6V/error b/tests/yaml-test-suite/SY6V/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/SY6V/in.yaml b/tests/yaml-test-suite/SY6V/in.yaml new file mode 100644 index 0000000..9912e67 --- /dev/null +++ b/tests/yaml-test-suite/SY6V/in.yaml @@ -0,0 +1 @@ +&anchor - sequence entry diff --git a/tests/yaml-test-suite/SY6V/test.event b/tests/yaml-test-suite/SY6V/test.event new file mode 100644 index 0000000..e72d602 --- /dev/null +++ b/tests/yaml-test-suite/SY6V/test.event @@ -0,0 +1 @@ ++STR diff --git a/tests/yaml-test-suite/SYW4.yaml b/tests/yaml-test-suite/SYW4.yaml deleted file mode 100644 index a5a61b1..0000000 --- a/tests/yaml-test-suite/SYW4.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Spec Example 2.2. Mapping Scalars to Scalars - from: http://www.yaml.org/spec/1.2/spec.html#id2759963 - tags: spec scalar comment - yaml: | - hr: 65 # Home runs - avg: 0.278 # Batting average - rbi: 147 # Runs Batted In - tree: | - +STR - +DOC - +MAP - =VAL :hr - =VAL :65 - =VAL :avg - =VAL :0.278 - =VAL :rbi - =VAL :147 - -MAP - -DOC - -STR - json: | - { - "hr": 65, - "avg": 0.278, - "rbi": 147 - } - dump: | - hr: 65 - avg: 0.278 - rbi: 147 diff --git a/tests/yaml-test-suite/SYW4/=== b/tests/yaml-test-suite/SYW4/=== new file mode 100644 index 0000000..ea5bc24 --- /dev/null +++ b/tests/yaml-test-suite/SYW4/=== @@ -0,0 +1 @@ +Spec Example 2.2. Mapping Scalars to Scalars diff --git a/tests/yaml-test-suite/SYW4/in.json b/tests/yaml-test-suite/SYW4/in.json new file mode 100644 index 0000000..a32fbec --- /dev/null +++ b/tests/yaml-test-suite/SYW4/in.json @@ -0,0 +1,5 @@ +{ + "hr": 65, + "avg": 0.278, + "rbi": 147 +} diff --git a/tests/yaml-test-suite/SYW4/in.yaml b/tests/yaml-test-suite/SYW4/in.yaml new file mode 100644 index 0000000..7b7ec94 --- /dev/null +++ b/tests/yaml-test-suite/SYW4/in.yaml @@ -0,0 +1,3 @@ +hr: 65 # Home runs +avg: 0.278 # Batting average +rbi: 147 # Runs Batted In diff --git a/tests/yaml-test-suite/SYW4/out.yaml b/tests/yaml-test-suite/SYW4/out.yaml new file mode 100644 index 0000000..dc04ea1 --- /dev/null +++ b/tests/yaml-test-suite/SYW4/out.yaml @@ -0,0 +1,3 @@ +hr: 65 +avg: 0.278 +rbi: 147 diff --git a/tests/yaml-test-suite/SYW4/test.event b/tests/yaml-test-suite/SYW4/test.event new file mode 100644 index 0000000..4868b00 --- /dev/null +++ b/tests/yaml-test-suite/SYW4/test.event @@ -0,0 +1,12 @@ ++STR ++DOC ++MAP +=VAL :hr +=VAL :65 +=VAL :avg +=VAL :0.278 +=VAL :rbi +=VAL :147 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/T26H.yaml b/tests/yaml-test-suite/T26H.yaml deleted file mode 100644 index 843b3be..0000000 --- a/tests/yaml-test-suite/T26H.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- name: Spec Example 8.8. Literal Content [1.3] - from: DWX9, modified for YAML 1.3 - tags: spec literal scalar comment whitespace 1.3-mod - yaml: | - --- | - ␣ - ␣␣ - literal - ␣␣␣ - ␣␣ - text - - # Comment - tree: | - +STR - +DOC --- - =VAL |\n\nliteral\n \n\ntext\n - -DOC - -STR - json: | - "\n\nliteral\n \n\ntext\n" - dump: | - "\n\nliteral\n \n\ntext\n" - emit: | - --- | - - - literal - ␣␣␣ - - text diff --git a/tests/yaml-test-suite/T26H/=== b/tests/yaml-test-suite/T26H/=== new file mode 100644 index 0000000..64edd33 --- /dev/null +++ b/tests/yaml-test-suite/T26H/=== @@ -0,0 +1 @@ +Spec Example 8.8. Literal Content [1.3] diff --git a/tests/yaml-test-suite/T26H/emit.yaml b/tests/yaml-test-suite/T26H/emit.yaml new file mode 100644 index 0000000..75a3a83 --- /dev/null +++ b/tests/yaml-test-suite/T26H/emit.yaml @@ -0,0 +1,7 @@ +--- | + + + literal + + + text diff --git a/tests/yaml-test-suite/T26H/in.json b/tests/yaml-test-suite/T26H/in.json new file mode 100644 index 0000000..6383f8d --- /dev/null +++ b/tests/yaml-test-suite/T26H/in.json @@ -0,0 +1 @@ +"\n\nliteral\n \n\ntext\n" diff --git a/tests/yaml-test-suite/T26H/in.yaml b/tests/yaml-test-suite/T26H/in.yaml new file mode 100644 index 0000000..156b6d0 --- /dev/null +++ b/tests/yaml-test-suite/T26H/in.yaml @@ -0,0 +1,9 @@ +--- | + + + literal + + + text + + # Comment diff --git a/tests/yaml-test-suite/T26H/out.yaml b/tests/yaml-test-suite/T26H/out.yaml new file mode 100644 index 0000000..6383f8d --- /dev/null +++ b/tests/yaml-test-suite/T26H/out.yaml @@ -0,0 +1 @@ +"\n\nliteral\n \n\ntext\n" diff --git a/tests/yaml-test-suite/T26H/test.event b/tests/yaml-test-suite/T26H/test.event new file mode 100644 index 0000000..770297a --- /dev/null +++ b/tests/yaml-test-suite/T26H/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL |\n\nliteral\n \n\ntext\n +-DOC +-STR diff --git a/tests/yaml-test-suite/T4YY.yaml b/tests/yaml-test-suite/T4YY.yaml deleted file mode 100644 index bf230f6..0000000 --- a/tests/yaml-test-suite/T4YY.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- name: Spec Example 7.9. Single Quoted Lines [1.3] - from: PRH3, modified for YAML 1.3 - tags: single spec scalar whitespace 1.3-mod - yaml: | - --- - ' 1st non-empty - - 2nd non-empty␣ - 3rd non-empty ' - tree: | - +STR - +DOC --- - =VAL ' 1st non-empty\n2nd non-empty 3rd non-empty␣ - -DOC - -STR - json: | - " 1st non-empty\n2nd non-empty 3rd non-empty " - dump: | - ' 1st non-empty - - 2nd non-empty 3rd non-empty ' - emit: | - --- ' 1st non-empty - - 2nd non-empty 3rd non-empty ' diff --git a/tests/yaml-test-suite/T4YY/=== b/tests/yaml-test-suite/T4YY/=== new file mode 100644 index 0000000..2d49290 --- /dev/null +++ b/tests/yaml-test-suite/T4YY/=== @@ -0,0 +1 @@ +Spec Example 7.9. Single Quoted Lines [1.3] diff --git a/tests/yaml-test-suite/T4YY/emit.yaml b/tests/yaml-test-suite/T4YY/emit.yaml new file mode 100644 index 0000000..aa4c15e --- /dev/null +++ b/tests/yaml-test-suite/T4YY/emit.yaml @@ -0,0 +1,3 @@ +--- ' 1st non-empty + + 2nd non-empty 3rd non-empty ' diff --git a/tests/yaml-test-suite/T4YY/in.json b/tests/yaml-test-suite/T4YY/in.json new file mode 100644 index 0000000..2dfab84 --- /dev/null +++ b/tests/yaml-test-suite/T4YY/in.json @@ -0,0 +1 @@ +" 1st non-empty\n2nd non-empty 3rd non-empty " diff --git a/tests/yaml-test-suite/T4YY/in.yaml b/tests/yaml-test-suite/T4YY/in.yaml new file mode 100644 index 0000000..6cba7f1 --- /dev/null +++ b/tests/yaml-test-suite/T4YY/in.yaml @@ -0,0 +1,5 @@ +--- +' 1st non-empty + + 2nd non-empty + 3rd non-empty ' diff --git a/tests/yaml-test-suite/T4YY/out.yaml b/tests/yaml-test-suite/T4YY/out.yaml new file mode 100644 index 0000000..32a6943 --- /dev/null +++ b/tests/yaml-test-suite/T4YY/out.yaml @@ -0,0 +1,3 @@ +' 1st non-empty + + 2nd non-empty 3rd non-empty ' diff --git a/tests/yaml-test-suite/T4YY/test.event b/tests/yaml-test-suite/T4YY/test.event new file mode 100644 index 0000000..1ba7a09 --- /dev/null +++ b/tests/yaml-test-suite/T4YY/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL ' 1st non-empty\n2nd non-empty 3rd non-empty +-DOC +-STR diff --git a/tests/yaml-test-suite/T5N4.yaml b/tests/yaml-test-suite/T5N4.yaml deleted file mode 100644 index c7b5059..0000000 --- a/tests/yaml-test-suite/T5N4.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -- name: Spec Example 8.7. Literal Scalar [1.3] - from: M9B4, modified for YAML 1.3 - tags: spec literal scalar whitespace 1.3-mod - yaml: | - --- | - literal - ——»text - ↵ - ↵ - tree: | - +STR - +DOC --- - =VAL |literal\n\ttext\n - -DOC - -STR - json: | - "literal\n\ttext\n" - dump: | - "literal\n\ttext\n" - emit: | - --- | - literal - —»text diff --git a/tests/yaml-test-suite/T5N4/=== b/tests/yaml-test-suite/T5N4/=== new file mode 100644 index 0000000..f493fb8 --- /dev/null +++ b/tests/yaml-test-suite/T5N4/=== @@ -0,0 +1 @@ +Spec Example 8.7. Literal Scalar [1.3] diff --git a/tests/yaml-test-suite/T5N4/emit.yaml b/tests/yaml-test-suite/T5N4/emit.yaml new file mode 100644 index 0000000..5ae7d0a --- /dev/null +++ b/tests/yaml-test-suite/T5N4/emit.yaml @@ -0,0 +1,3 @@ +--- | + literal + text diff --git a/tests/yaml-test-suite/T5N4/in.json b/tests/yaml-test-suite/T5N4/in.json new file mode 100644 index 0000000..2e190c6 --- /dev/null +++ b/tests/yaml-test-suite/T5N4/in.json @@ -0,0 +1 @@ +"literal\n\ttext\n" diff --git a/tests/yaml-test-suite/T5N4/in.yaml b/tests/yaml-test-suite/T5N4/in.yaml new file mode 100644 index 0000000..7ca4172 --- /dev/null +++ b/tests/yaml-test-suite/T5N4/in.yaml @@ -0,0 +1,5 @@ +--- | + literal + text + + diff --git a/tests/yaml-test-suite/T5N4/out.yaml b/tests/yaml-test-suite/T5N4/out.yaml new file mode 100644 index 0000000..2e190c6 --- /dev/null +++ b/tests/yaml-test-suite/T5N4/out.yaml @@ -0,0 +1 @@ +"literal\n\ttext\n" diff --git a/tests/yaml-test-suite/T5N4/test.event b/tests/yaml-test-suite/T5N4/test.event new file mode 100644 index 0000000..edf0168 --- /dev/null +++ b/tests/yaml-test-suite/T5N4/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL |literal\n\ttext\n +-DOC +-STR diff --git a/tests/yaml-test-suite/T833.yaml b/tests/yaml-test-suite/T833.yaml deleted file mode 100644 index 5d6638b..0000000 --- a/tests/yaml-test-suite/T833.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Flow mapping missing a separating comma - from: '@perlpunk' - tags: error flow mapping - fail: true - yaml: | - --- - { - foo: 1 - bar: 2 } - tree: | - +STR - +DOC --- - +MAP - =VAL :foo diff --git a/tests/yaml-test-suite/T833/=== b/tests/yaml-test-suite/T833/=== new file mode 100644 index 0000000..3acf952 --- /dev/null +++ b/tests/yaml-test-suite/T833/=== @@ -0,0 +1 @@ +Flow mapping missing a separating comma diff --git a/tests/yaml-test-suite/T833/error b/tests/yaml-test-suite/T833/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/T833/in.yaml b/tests/yaml-test-suite/T833/in.yaml new file mode 100644 index 0000000..d35e395 --- /dev/null +++ b/tests/yaml-test-suite/T833/in.yaml @@ -0,0 +1,4 @@ +--- +{ + foo: 1 + bar: 2 } diff --git a/tests/yaml-test-suite/T833/test.event b/tests/yaml-test-suite/T833/test.event new file mode 100644 index 0000000..d88db72 --- /dev/null +++ b/tests/yaml-test-suite/T833/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++MAP +=VAL :foo diff --git a/tests/yaml-test-suite/TD5N.yaml b/tests/yaml-test-suite/TD5N.yaml deleted file mode 100644 index 2391b17..0000000 --- a/tests/yaml-test-suite/TD5N.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -- name: Invalid scalar after sequence - from: '@perlpunk' - tags: error sequence scalar - fail: true - yaml: | - - item1 - - item2 - invalid - tree: | - +STR - +DOC - +SEQ - =VAL :item1 - =VAL :item2 diff --git a/tests/yaml-test-suite/TD5N/=== b/tests/yaml-test-suite/TD5N/=== new file mode 100644 index 0000000..b388fd6 --- /dev/null +++ b/tests/yaml-test-suite/TD5N/=== @@ -0,0 +1 @@ +Invalid scalar after sequence diff --git a/tests/yaml-test-suite/TD5N/error b/tests/yaml-test-suite/TD5N/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/TD5N/in.yaml b/tests/yaml-test-suite/TD5N/in.yaml new file mode 100644 index 0000000..bc6ccbb --- /dev/null +++ b/tests/yaml-test-suite/TD5N/in.yaml @@ -0,0 +1,3 @@ +- item1 +- item2 +invalid diff --git a/tests/yaml-test-suite/TD5N/test.event b/tests/yaml-test-suite/TD5N/test.event new file mode 100644 index 0000000..fc4db33 --- /dev/null +++ b/tests/yaml-test-suite/TD5N/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++SEQ +=VAL :item1 +=VAL :item2 diff --git a/tests/yaml-test-suite/TE2A.yaml b/tests/yaml-test-suite/TE2A.yaml deleted file mode 100644 index 34968f3..0000000 --- a/tests/yaml-test-suite/TE2A.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Spec Example 8.16. Block Mappings - from: http://www.yaml.org/spec/1.2/spec.html#id2798147 - tags: spec mapping - yaml: | - block mapping: - key: value - tree: | - +STR - +DOC - +MAP - =VAL :block mapping - +MAP - =VAL :key - =VAL :value - -MAP - -MAP - -DOC - -STR - json: | - { - "block mapping": { - "key": "value" - } - } - dump: | - block mapping: - key: value diff --git a/tests/yaml-test-suite/TE2A/=== b/tests/yaml-test-suite/TE2A/=== new file mode 100644 index 0000000..6b25819 --- /dev/null +++ b/tests/yaml-test-suite/TE2A/=== @@ -0,0 +1 @@ +Spec Example 8.16. Block Mappings diff --git a/tests/yaml-test-suite/TE2A/in.json b/tests/yaml-test-suite/TE2A/in.json new file mode 100644 index 0000000..1f5b290 --- /dev/null +++ b/tests/yaml-test-suite/TE2A/in.json @@ -0,0 +1,5 @@ +{ + "block mapping": { + "key": "value" + } +} diff --git a/tests/yaml-test-suite/TE2A/in.yaml b/tests/yaml-test-suite/TE2A/in.yaml new file mode 100644 index 0000000..2ef9084 --- /dev/null +++ b/tests/yaml-test-suite/TE2A/in.yaml @@ -0,0 +1,2 @@ +block mapping: + key: value diff --git a/tests/yaml-test-suite/TE2A/out.yaml b/tests/yaml-test-suite/TE2A/out.yaml new file mode 100644 index 0000000..9d2c5b5 --- /dev/null +++ b/tests/yaml-test-suite/TE2A/out.yaml @@ -0,0 +1,2 @@ +block mapping: + key: value diff --git a/tests/yaml-test-suite/TE2A/test.event b/tests/yaml-test-suite/TE2A/test.event new file mode 100644 index 0000000..f97bcf5 --- /dev/null +++ b/tests/yaml-test-suite/TE2A/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++MAP +=VAL :block mapping ++MAP +=VAL :key +=VAL :value +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/TL85.yaml b/tests/yaml-test-suite/TL85.yaml deleted file mode 100644 index a091d1d..0000000 --- a/tests/yaml-test-suite/TL85.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- name: Spec Example 6.8. Flow Folding - from: http://www.yaml.org/spec/1.2/spec.html#id2779950 - tags: double spec whitespace scalar upto-1.2 - yaml: | - " - foo␣ - ␣ - —» bar - - baz - " - tree: | - +STR - +DOC - =VAL " foo\nbar\nbaz␣ - -DOC - -STR - json: | - " foo\nbar\nbaz " - dump: | - " foo\nbar\nbaz " diff --git a/tests/yaml-test-suite/TL85/=== b/tests/yaml-test-suite/TL85/=== new file mode 100644 index 0000000..000964b --- /dev/null +++ b/tests/yaml-test-suite/TL85/=== @@ -0,0 +1 @@ +Spec Example 6.8. Flow Folding diff --git a/tests/yaml-test-suite/TL85/in.json b/tests/yaml-test-suite/TL85/in.json new file mode 100644 index 0000000..0fcc9db --- /dev/null +++ b/tests/yaml-test-suite/TL85/in.json @@ -0,0 +1 @@ +" foo\nbar\nbaz " diff --git a/tests/yaml-test-suite/TL85/in.yaml b/tests/yaml-test-suite/TL85/in.yaml new file mode 100644 index 0000000..d6af812 --- /dev/null +++ b/tests/yaml-test-suite/TL85/in.yaml @@ -0,0 +1,7 @@ +" + foo + + bar + + baz +" diff --git a/tests/yaml-test-suite/TL85/out.yaml b/tests/yaml-test-suite/TL85/out.yaml new file mode 100644 index 0000000..0fcc9db --- /dev/null +++ b/tests/yaml-test-suite/TL85/out.yaml @@ -0,0 +1 @@ +" foo\nbar\nbaz " diff --git a/tests/yaml-test-suite/TL85/test.event b/tests/yaml-test-suite/TL85/test.event new file mode 100644 index 0000000..8e49b19 --- /dev/null +++ b/tests/yaml-test-suite/TL85/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL " foo\nbar\nbaz +-DOC +-STR diff --git a/tests/yaml-test-suite/TS54.yaml b/tests/yaml-test-suite/TS54.yaml deleted file mode 100644 index d1e9928..0000000 --- a/tests/yaml-test-suite/TS54.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Folded Block Scalar - from: NimYAML tests - tags: folded scalar 1.3-err - yaml: | - > - ab - cd - ␣ - ef - - - gh - tree: | - +STR - +DOC - =VAL >ab cd\nef\n\ngh\n - -DOC - -STR - json: | - "ab cd\nef\n\ngh\n" - dump: | - > - ab cd - - ef - - - gh diff --git a/tests/yaml-test-suite/TS54/=== b/tests/yaml-test-suite/TS54/=== new file mode 100644 index 0000000..67ea0fd --- /dev/null +++ b/tests/yaml-test-suite/TS54/=== @@ -0,0 +1 @@ +Folded Block Scalar diff --git a/tests/yaml-test-suite/TS54/in.json b/tests/yaml-test-suite/TS54/in.json new file mode 100644 index 0000000..c63e7ba --- /dev/null +++ b/tests/yaml-test-suite/TS54/in.json @@ -0,0 +1 @@ +"ab cd\nef\n\ngh\n" diff --git a/tests/yaml-test-suite/TS54/in.yaml b/tests/yaml-test-suite/TS54/in.yaml new file mode 100644 index 0000000..f63944e --- /dev/null +++ b/tests/yaml-test-suite/TS54/in.yaml @@ -0,0 +1,8 @@ +> + ab + cd + + ef + + + gh diff --git a/tests/yaml-test-suite/TS54/out.yaml b/tests/yaml-test-suite/TS54/out.yaml new file mode 100644 index 0000000..ded1d10 --- /dev/null +++ b/tests/yaml-test-suite/TS54/out.yaml @@ -0,0 +1,7 @@ +> + ab cd + + ef + + + gh diff --git a/tests/yaml-test-suite/TS54/test.event b/tests/yaml-test-suite/TS54/test.event new file mode 100644 index 0000000..8651776 --- /dev/null +++ b/tests/yaml-test-suite/TS54/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL >ab cd\nef\n\ngh\n +-DOC +-STR diff --git a/tests/yaml-test-suite/U3C3.yaml b/tests/yaml-test-suite/U3C3.yaml deleted file mode 100644 index 16988bf..0000000 --- a/tests/yaml-test-suite/U3C3.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: Spec Example 6.16. “TAG” directive - from: http://www.yaml.org/spec/1.2/spec.html#id2782252 - tags: spec header tag - yaml: | - %TAG !yaml! tag:yaml.org,2002: - --- - !yaml!str "foo" - tree: | - +STR - +DOC --- - =VAL "foo - -DOC - -STR - json: | - "foo" - dump: | - --- !!str "foo" diff --git a/tests/yaml-test-suite/U3C3/=== b/tests/yaml-test-suite/U3C3/=== new file mode 100644 index 0000000..3f15491 --- /dev/null +++ b/tests/yaml-test-suite/U3C3/=== @@ -0,0 +1 @@ +Spec Example 6.16. “TAG” directive diff --git a/tests/yaml-test-suite/U3C3/in.json b/tests/yaml-test-suite/U3C3/in.json new file mode 100644 index 0000000..810c96e --- /dev/null +++ b/tests/yaml-test-suite/U3C3/in.json @@ -0,0 +1 @@ +"foo" diff --git a/tests/yaml-test-suite/U3C3/in.yaml b/tests/yaml-test-suite/U3C3/in.yaml new file mode 100644 index 0000000..50f5ab9 --- /dev/null +++ b/tests/yaml-test-suite/U3C3/in.yaml @@ -0,0 +1,3 @@ +%TAG !yaml! tag:yaml.org,2002: +--- +!yaml!str "foo" diff --git a/tests/yaml-test-suite/U3C3/out.yaml b/tests/yaml-test-suite/U3C3/out.yaml new file mode 100644 index 0000000..1bafc6b --- /dev/null +++ b/tests/yaml-test-suite/U3C3/out.yaml @@ -0,0 +1 @@ +--- !!str "foo" diff --git a/tests/yaml-test-suite/U3C3/test.event b/tests/yaml-test-suite/U3C3/test.event new file mode 100644 index 0000000..b0ebd5f --- /dev/null +++ b/tests/yaml-test-suite/U3C3/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL "foo +-DOC +-STR diff --git a/tests/yaml-test-suite/U3XV.yaml b/tests/yaml-test-suite/U3XV.yaml deleted file mode 100644 index 761e8b4..0000000 --- a/tests/yaml-test-suite/U3XV.yaml +++ /dev/null @@ -1,92 +0,0 @@ ---- -- name: Node and Mapping Key Anchors - from: '@perlpunk' - tags: anchor comment 1.3-err - yaml: | - --- - top1: &node1 - &k1 key1: one - top2: &node2 # comment - key2: two - top3: - &k3 key3: three - top4: - &node4 - &k4 key4: four - top5: - &node5 - key5: five - top6: &val6 - six - top7: - &val7 seven - tree: | - +STR - +DOC --- - +MAP - =VAL :top1 - +MAP &node1 - =VAL &k1 :key1 - =VAL :one - -MAP - =VAL :top2 - +MAP &node2 - =VAL :key2 - =VAL :two - -MAP - =VAL :top3 - +MAP - =VAL &k3 :key3 - =VAL :three - -MAP - =VAL :top4 - +MAP &node4 - =VAL &k4 :key4 - =VAL :four - -MAP - =VAL :top5 - +MAP &node5 - =VAL :key5 - =VAL :five - -MAP - =VAL :top6 - =VAL &val6 :six - =VAL :top7 - =VAL &val7 :seven - -MAP - -DOC - -STR - json: | - { - "top1": { - "key1": "one" - }, - "top2": { - "key2": "two" - }, - "top3": { - "key3": "three" - }, - "top4": { - "key4": "four" - }, - "top5": { - "key5": "five" - }, - "top6": "six", - "top7": "seven" - } - dump: | - --- - top1: &node1 - &k1 key1: one - top2: &node2 - key2: two - top3: - &k3 key3: three - top4: &node4 - &k4 key4: four - top5: &node5 - key5: five - top6: &val6 six - top7: &val7 seven diff --git a/tests/yaml-test-suite/U3XV/=== b/tests/yaml-test-suite/U3XV/=== new file mode 100644 index 0000000..19f604b --- /dev/null +++ b/tests/yaml-test-suite/U3XV/=== @@ -0,0 +1 @@ +Node and Mapping Key Anchors diff --git a/tests/yaml-test-suite/U3XV/in.json b/tests/yaml-test-suite/U3XV/in.json new file mode 100644 index 0000000..7bc2e58 --- /dev/null +++ b/tests/yaml-test-suite/U3XV/in.json @@ -0,0 +1,19 @@ +{ + "top1": { + "key1": "one" + }, + "top2": { + "key2": "two" + }, + "top3": { + "key3": "three" + }, + "top4": { + "key4": "four" + }, + "top5": { + "key5": "five" + }, + "top6": "six", + "top7": "seven" +} diff --git a/tests/yaml-test-suite/U3XV/in.yaml b/tests/yaml-test-suite/U3XV/in.yaml new file mode 100644 index 0000000..76660a8 --- /dev/null +++ b/tests/yaml-test-suite/U3XV/in.yaml @@ -0,0 +1,17 @@ +--- +top1: &node1 + &k1 key1: one +top2: &node2 # comment + key2: two +top3: + &k3 key3: three +top4: + &node4 + &k4 key4: four +top5: + &node5 + key5: five +top6: &val6 + six +top7: + &val7 seven diff --git a/tests/yaml-test-suite/U3XV/out.yaml b/tests/yaml-test-suite/U3XV/out.yaml new file mode 100644 index 0000000..04c8302 --- /dev/null +++ b/tests/yaml-test-suite/U3XV/out.yaml @@ -0,0 +1,13 @@ +--- +top1: &node1 + &k1 key1: one +top2: &node2 + key2: two +top3: + &k3 key3: three +top4: &node4 + &k4 key4: four +top5: &node5 + key5: five +top6: &val6 six +top7: &val7 seven diff --git a/tests/yaml-test-suite/U3XV/test.event b/tests/yaml-test-suite/U3XV/test.event new file mode 100644 index 0000000..4b924ae --- /dev/null +++ b/tests/yaml-test-suite/U3XV/test.event @@ -0,0 +1,35 @@ ++STR ++DOC --- ++MAP +=VAL :top1 ++MAP &node1 +=VAL &k1 :key1 +=VAL :one +-MAP +=VAL :top2 ++MAP &node2 +=VAL :key2 +=VAL :two +-MAP +=VAL :top3 ++MAP +=VAL &k3 :key3 +=VAL :three +-MAP +=VAL :top4 ++MAP &node4 +=VAL &k4 :key4 +=VAL :four +-MAP +=VAL :top5 ++MAP &node5 +=VAL :key5 +=VAL :five +-MAP +=VAL :top6 +=VAL &val6 :six +=VAL :top7 +=VAL &val7 :seven +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/U44R.yaml b/tests/yaml-test-suite/U44R.yaml deleted file mode 100644 index 0347d3b..0000000 --- a/tests/yaml-test-suite/U44R.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- name: Bad indentation in mapping (2) - from: '@perlpunk' - tags: error mapping indent double - fail: true - yaml: | - map: - key1: "quoted1" - key2: "bad indentation" - tree: | - +STR - +DOC - +MAP - =VAL :map - +MAP - =VAL :key1 - =VAL "quoted1 diff --git a/tests/yaml-test-suite/U44R/=== b/tests/yaml-test-suite/U44R/=== new file mode 100644 index 0000000..56f2409 --- /dev/null +++ b/tests/yaml-test-suite/U44R/=== @@ -0,0 +1 @@ +Bad indentation in mapping (2) diff --git a/tests/yaml-test-suite/U44R/error b/tests/yaml-test-suite/U44R/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/U44R/in.yaml b/tests/yaml-test-suite/U44R/in.yaml new file mode 100644 index 0000000..de68a32 --- /dev/null +++ b/tests/yaml-test-suite/U44R/in.yaml @@ -0,0 +1,3 @@ +map: + key1: "quoted1" + key2: "bad indentation" diff --git a/tests/yaml-test-suite/U44R/test.event b/tests/yaml-test-suite/U44R/test.event new file mode 100644 index 0000000..416d1a1 --- /dev/null +++ b/tests/yaml-test-suite/U44R/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++MAP +=VAL :map ++MAP +=VAL :key1 +=VAL "quoted1 diff --git a/tests/yaml-test-suite/U99R.yaml b/tests/yaml-test-suite/U99R.yaml deleted file mode 100644 index 2de0c92..0000000 --- a/tests/yaml-test-suite/U99R.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Invalid comma in tag - from: '@perlpunk' - tags: error tag - fail: true - yaml: | - - !!str, xxx - tree: | - +STR - +DOC - +SEQ diff --git a/tests/yaml-test-suite/U99R/=== b/tests/yaml-test-suite/U99R/=== new file mode 100644 index 0000000..83ee537 --- /dev/null +++ b/tests/yaml-test-suite/U99R/=== @@ -0,0 +1 @@ +Invalid comma in tag diff --git a/tests/yaml-test-suite/U99R/error b/tests/yaml-test-suite/U99R/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/U99R/in.yaml b/tests/yaml-test-suite/U99R/in.yaml new file mode 100644 index 0000000..ba0c537 --- /dev/null +++ b/tests/yaml-test-suite/U99R/in.yaml @@ -0,0 +1 @@ +- !!str, xxx diff --git a/tests/yaml-test-suite/U99R/test.event b/tests/yaml-test-suite/U99R/test.event new file mode 100644 index 0000000..fba9e07 --- /dev/null +++ b/tests/yaml-test-suite/U99R/test.event @@ -0,0 +1,3 @@ ++STR ++DOC ++SEQ diff --git a/tests/yaml-test-suite/U9NS.yaml b/tests/yaml-test-suite/U9NS.yaml deleted file mode 100644 index c8ed11a..0000000 --- a/tests/yaml-test-suite/U9NS.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Spec Example 2.8. Play by Play Feed from a Game - from: http://www.yaml.org/spec/1.2/spec.html#id2760519 - tags: spec header - yaml: | - --- - time: 20:03:20 - player: Sammy Sosa - action: strike (miss) - ... - --- - time: 20:03:47 - player: Sammy Sosa - action: grand slam - ... - tree: | - +STR - +DOC --- - +MAP - =VAL :time - =VAL :20:03:20 - =VAL :player - =VAL :Sammy Sosa - =VAL :action - =VAL :strike (miss) - -MAP - -DOC ... - +DOC --- - +MAP - =VAL :time - =VAL :20:03:47 - =VAL :player - =VAL :Sammy Sosa - =VAL :action - =VAL :grand slam - -MAP - -DOC ... - -STR - json: | - { - "time": "20:03:20", - "player": "Sammy Sosa", - "action": "strike (miss)" - } - { - "time": "20:03:47", - "player": "Sammy Sosa", - "action": "grand slam" - } diff --git a/tests/yaml-test-suite/U9NS/=== b/tests/yaml-test-suite/U9NS/=== new file mode 100644 index 0000000..a9f9135 --- /dev/null +++ b/tests/yaml-test-suite/U9NS/=== @@ -0,0 +1 @@ +Spec Example 2.8. Play by Play Feed from a Game diff --git a/tests/yaml-test-suite/U9NS/in.json b/tests/yaml-test-suite/U9NS/in.json new file mode 100644 index 0000000..7bc7eac --- /dev/null +++ b/tests/yaml-test-suite/U9NS/in.json @@ -0,0 +1,10 @@ +{ + "time": "20:03:20", + "player": "Sammy Sosa", + "action": "strike (miss)" +} +{ + "time": "20:03:47", + "player": "Sammy Sosa", + "action": "grand slam" +} diff --git a/tests/yaml-test-suite/U9NS/in.yaml b/tests/yaml-test-suite/U9NS/in.yaml new file mode 100644 index 0000000..05e102d --- /dev/null +++ b/tests/yaml-test-suite/U9NS/in.yaml @@ -0,0 +1,10 @@ +--- +time: 20:03:20 +player: Sammy Sosa +action: strike (miss) +... +--- +time: 20:03:47 +player: Sammy Sosa +action: grand slam +... diff --git a/tests/yaml-test-suite/U9NS/test.event b/tests/yaml-test-suite/U9NS/test.event new file mode 100644 index 0000000..2e2b745 --- /dev/null +++ b/tests/yaml-test-suite/U9NS/test.event @@ -0,0 +1,22 @@ ++STR ++DOC --- ++MAP +=VAL :time +=VAL :20:03:20 +=VAL :player +=VAL :Sammy Sosa +=VAL :action +=VAL :strike (miss) +-MAP +-DOC ... ++DOC --- ++MAP +=VAL :time +=VAL :20:03:47 +=VAL :player +=VAL :Sammy Sosa +=VAL :action +=VAL :grand slam +-MAP +-DOC ... +-STR diff --git a/tests/yaml-test-suite/UDM2.yaml b/tests/yaml-test-suite/UDM2.yaml deleted file mode 100644 index a07694a..0000000 --- a/tests/yaml-test-suite/UDM2.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Plain URL in flow mapping - from: https://github.com/yaml/libyaml/pull/28 - tags: flow scalar - yaml: | - - { url: http://example.org } - tree: | - +STR - +DOC - +SEQ - +MAP {} - =VAL :url - =VAL :http://example.org - -MAP - -SEQ - -DOC - -STR - json: | - [ - { - "url": "http://example.org" - } - ] - dump: | - - url: http://example.org diff --git a/tests/yaml-test-suite/UDM2/=== b/tests/yaml-test-suite/UDM2/=== new file mode 100644 index 0000000..f5f87e7 --- /dev/null +++ b/tests/yaml-test-suite/UDM2/=== @@ -0,0 +1 @@ +Plain URL in flow mapping diff --git a/tests/yaml-test-suite/UDM2/in.json b/tests/yaml-test-suite/UDM2/in.json new file mode 100644 index 0000000..7f2c93d --- /dev/null +++ b/tests/yaml-test-suite/UDM2/in.json @@ -0,0 +1,5 @@ +[ + { + "url": "http://example.org" + } +] diff --git a/tests/yaml-test-suite/UDM2/in.yaml b/tests/yaml-test-suite/UDM2/in.yaml new file mode 100644 index 0000000..fa95c05 --- /dev/null +++ b/tests/yaml-test-suite/UDM2/in.yaml @@ -0,0 +1 @@ +- { url: http://example.org } diff --git a/tests/yaml-test-suite/UDM2/out.yaml b/tests/yaml-test-suite/UDM2/out.yaml new file mode 100644 index 0000000..5c181d5 --- /dev/null +++ b/tests/yaml-test-suite/UDM2/out.yaml @@ -0,0 +1 @@ +- url: http://example.org diff --git a/tests/yaml-test-suite/UDM2/test.event b/tests/yaml-test-suite/UDM2/test.event new file mode 100644 index 0000000..4d9d6c8 --- /dev/null +++ b/tests/yaml-test-suite/UDM2/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ ++MAP {} +=VAL :url +=VAL :http://example.org +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/UDR7.yaml b/tests/yaml-test-suite/UDR7.yaml deleted file mode 100644 index e070842..0000000 --- a/tests/yaml-test-suite/UDR7.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -- name: Spec Example 5.4. Flow Collection Indicators - from: http://www.yaml.org/spec/1.2/spec.html#id2772813 - tags: spec flow sequence mapping - yaml: | - sequence: [ one, two, ] - mapping: { sky: blue, sea: green } - tree: | - +STR - +DOC - +MAP - =VAL :sequence - +SEQ [] - =VAL :one - =VAL :two - -SEQ - =VAL :mapping - +MAP {} - =VAL :sky - =VAL :blue - =VAL :sea - =VAL :green - -MAP - -MAP - -DOC - -STR - json: | - { - "sequence": [ - "one", - "two" - ], - "mapping": { - "sky": "blue", - "sea": "green" - } - } - dump: | - sequence: - - one - - two - mapping: - sky: blue - sea: green diff --git a/tests/yaml-test-suite/UDR7/=== b/tests/yaml-test-suite/UDR7/=== new file mode 100644 index 0000000..7ea007e --- /dev/null +++ b/tests/yaml-test-suite/UDR7/=== @@ -0,0 +1 @@ +Spec Example 5.4. Flow Collection Indicators diff --git a/tests/yaml-test-suite/UDR7/in.json b/tests/yaml-test-suite/UDR7/in.json new file mode 100644 index 0000000..cecac0c --- /dev/null +++ b/tests/yaml-test-suite/UDR7/in.json @@ -0,0 +1,10 @@ +{ + "sequence": [ + "one", + "two" + ], + "mapping": { + "sky": "blue", + "sea": "green" + } +} diff --git a/tests/yaml-test-suite/UDR7/in.yaml b/tests/yaml-test-suite/UDR7/in.yaml new file mode 100644 index 0000000..df33847 --- /dev/null +++ b/tests/yaml-test-suite/UDR7/in.yaml @@ -0,0 +1,2 @@ +sequence: [ one, two, ] +mapping: { sky: blue, sea: green } diff --git a/tests/yaml-test-suite/UDR7/out.yaml b/tests/yaml-test-suite/UDR7/out.yaml new file mode 100644 index 0000000..95a9880 --- /dev/null +++ b/tests/yaml-test-suite/UDR7/out.yaml @@ -0,0 +1,6 @@ +sequence: +- one +- two +mapping: + sky: blue + sea: green diff --git a/tests/yaml-test-suite/UDR7/test.event b/tests/yaml-test-suite/UDR7/test.event new file mode 100644 index 0000000..652120c --- /dev/null +++ b/tests/yaml-test-suite/UDR7/test.event @@ -0,0 +1,18 @@ ++STR ++DOC ++MAP +=VAL :sequence ++SEQ [] +=VAL :one +=VAL :two +-SEQ +=VAL :mapping ++MAP {} +=VAL :sky +=VAL :blue +=VAL :sea +=VAL :green +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/UGM3.yaml b/tests/yaml-test-suite/UGM3.yaml deleted file mode 100644 index cf46bf2..0000000 --- a/tests/yaml-test-suite/UGM3.yaml +++ /dev/null @@ -1,163 +0,0 @@ ---- -- name: Spec Example 2.27. Invoice - from: http://www.yaml.org/spec/1.2/spec.html#id2761823 - tags: spec tag literal mapping sequence alias unknown-tag - yaml: | - --- ! - invoice: 34843 - date : 2001-01-23 - bill-to: &id001 - given : Chris - family : Dumars - address: - lines: | - 458 Walkman Dr. - Suite #292 - city : Royal Oak - state : MI - postal : 48046 - ship-to: *id001 - product: - - sku : BL394D - quantity : 4 - description : Basketball - price : 450.00 - - sku : BL4438H - quantity : 1 - description : Super Hoop - price : 2392.00 - tax : 251.42 - total: 4443.52 - comments: - Late afternoon is best. - Backup contact is Nancy - Billsmer @ 338-4338. - tree: | - +STR - +DOC --- - +MAP - =VAL :invoice - =VAL :34843 - =VAL :date - =VAL :2001-01-23 - =VAL :bill-to - +MAP &id001 - =VAL :given - =VAL :Chris - =VAL :family - =VAL :Dumars - =VAL :address - +MAP - =VAL :lines - =VAL |458 Walkman Dr.\nSuite #292\n - =VAL :city - =VAL :Royal Oak - =VAL :state - =VAL :MI - =VAL :postal - =VAL :48046 - -MAP - -MAP - =VAL :ship-to - =ALI *id001 - =VAL :product - +SEQ - +MAP - =VAL :sku - =VAL :BL394D - =VAL :quantity - =VAL :4 - =VAL :description - =VAL :Basketball - =VAL :price - =VAL :450.00 - -MAP - +MAP - =VAL :sku - =VAL :BL4438H - =VAL :quantity - =VAL :1 - =VAL :description - =VAL :Super Hoop - =VAL :price - =VAL :2392.00 - -MAP - -SEQ - =VAL :tax - =VAL :251.42 - =VAL :total - =VAL :4443.52 - =VAL :comments - =VAL :Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. - -MAP - -DOC - -STR - json: | - { - "invoice": 34843, - "date": "2001-01-23", - "bill-to": { - "given": "Chris", - "family": "Dumars", - "address": { - "lines": "458 Walkman Dr.\nSuite #292\n", - "city": "Royal Oak", - "state": "MI", - "postal": 48046 - } - }, - "ship-to": { - "given": "Chris", - "family": "Dumars", - "address": { - "lines": "458 Walkman Dr.\nSuite #292\n", - "city": "Royal Oak", - "state": "MI", - "postal": 48046 - } - }, - "product": [ - { - "sku": "BL394D", - "quantity": 4, - "description": "Basketball", - "price": 450 - }, - { - "sku": "BL4438H", - "quantity": 1, - "description": "Super Hoop", - "price": 2392 - } - ], - "tax": 251.42, - "total": 4443.52, - "comments": "Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338." - } - dump: | - --- ! - invoice: 34843 - date: 2001-01-23 - bill-to: &id001 - given: Chris - family: Dumars - address: - lines: | - 458 Walkman Dr. - Suite #292 - city: Royal Oak - state: MI - postal: 48046 - ship-to: *id001 - product: - - sku: BL394D - quantity: 4 - description: Basketball - price: 450.00 - - sku: BL4438H - quantity: 1 - description: Super Hoop - price: 2392.00 - tax: 251.42 - total: 4443.52 - comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. diff --git a/tests/yaml-test-suite/UGM3/=== b/tests/yaml-test-suite/UGM3/=== new file mode 100644 index 0000000..6f23b8f --- /dev/null +++ b/tests/yaml-test-suite/UGM3/=== @@ -0,0 +1 @@ +Spec Example 2.27. Invoice diff --git a/tests/yaml-test-suite/UGM3/in.json b/tests/yaml-test-suite/UGM3/in.json new file mode 100644 index 0000000..a710161 --- /dev/null +++ b/tests/yaml-test-suite/UGM3/in.json @@ -0,0 +1,41 @@ +{ + "invoice": 34843, + "date": "2001-01-23", + "bill-to": { + "given": "Chris", + "family": "Dumars", + "address": { + "lines": "458 Walkman Dr.\nSuite #292\n", + "city": "Royal Oak", + "state": "MI", + "postal": 48046 + } + }, + "ship-to": { + "given": "Chris", + "family": "Dumars", + "address": { + "lines": "458 Walkman Dr.\nSuite #292\n", + "city": "Royal Oak", + "state": "MI", + "postal": 48046 + } + }, + "product": [ + { + "sku": "BL394D", + "quantity": 4, + "description": "Basketball", + "price": 450 + }, + { + "sku": "BL4438H", + "quantity": 1, + "description": "Super Hoop", + "price": 2392 + } + ], + "tax": 251.42, + "total": 4443.52, + "comments": "Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338." +} diff --git a/tests/yaml-test-suite/UGM3/in.yaml b/tests/yaml-test-suite/UGM3/in.yaml new file mode 100644 index 0000000..4625739 --- /dev/null +++ b/tests/yaml-test-suite/UGM3/in.yaml @@ -0,0 +1,29 @@ +--- ! +invoice: 34843 +date : 2001-01-23 +bill-to: &id001 + given : Chris + family : Dumars + address: + lines: | + 458 Walkman Dr. + Suite #292 + city : Royal Oak + state : MI + postal : 48046 +ship-to: *id001 +product: + - sku : BL394D + quantity : 4 + description : Basketball + price : 450.00 + - sku : BL4438H + quantity : 1 + description : Super Hoop + price : 2392.00 +tax : 251.42 +total: 4443.52 +comments: + Late afternoon is best. + Backup contact is Nancy + Billsmer @ 338-4338. diff --git a/tests/yaml-test-suite/UGM3/out.yaml b/tests/yaml-test-suite/UGM3/out.yaml new file mode 100644 index 0000000..1a876c9 --- /dev/null +++ b/tests/yaml-test-suite/UGM3/out.yaml @@ -0,0 +1,26 @@ +--- ! +invoice: 34843 +date: 2001-01-23 +bill-to: &id001 + given: Chris + family: Dumars + address: + lines: | + 458 Walkman Dr. + Suite #292 + city: Royal Oak + state: MI + postal: 48046 +ship-to: *id001 +product: +- sku: BL394D + quantity: 4 + description: Basketball + price: 450.00 +- sku: BL4438H + quantity: 1 + description: Super Hoop + price: 2392.00 +tax: 251.42 +total: 4443.52 +comments: Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. diff --git a/tests/yaml-test-suite/UGM3/test.event b/tests/yaml-test-suite/UGM3/test.event new file mode 100644 index 0000000..fdd1b5f --- /dev/null +++ b/tests/yaml-test-suite/UGM3/test.event @@ -0,0 +1,59 @@ ++STR ++DOC --- ++MAP +=VAL :invoice +=VAL :34843 +=VAL :date +=VAL :2001-01-23 +=VAL :bill-to ++MAP &id001 +=VAL :given +=VAL :Chris +=VAL :family +=VAL :Dumars +=VAL :address ++MAP +=VAL :lines +=VAL |458 Walkman Dr.\nSuite #292\n +=VAL :city +=VAL :Royal Oak +=VAL :state +=VAL :MI +=VAL :postal +=VAL :48046 +-MAP +-MAP +=VAL :ship-to +=ALI *id001 +=VAL :product ++SEQ ++MAP +=VAL :sku +=VAL :BL394D +=VAL :quantity +=VAL :4 +=VAL :description +=VAL :Basketball +=VAL :price +=VAL :450.00 +-MAP ++MAP +=VAL :sku +=VAL :BL4438H +=VAL :quantity +=VAL :1 +=VAL :description +=VAL :Super Hoop +=VAL :price +=VAL :2392.00 +-MAP +-SEQ +=VAL :tax +=VAL :251.42 +=VAL :total +=VAL :4443.52 +=VAL :comments +=VAL :Late afternoon is best. Backup contact is Nancy Billsmer @ 338-4338. +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/UKK6.yaml b/tests/yaml-test-suite/UKK6.yaml deleted file mode 100644 index 2648ef1..0000000 --- a/tests/yaml-test-suite/UKK6.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -- name: Syntax character edge cases - from: '@ingydotnet' - tags: edge empty-key - yaml: | - - : - tree: | - +STR - +DOC - +SEQ - +MAP - =VAL : - =VAL : - -MAP - -SEQ - -DOC - -STR - -- yaml: | - :: - tree: | - +STR - +DOC - +MAP - =VAL :: - =VAL : - -MAP - -DOC - -STR - json: | - { - ":": null - } - -- yaml: | - ! - tree: | - +STR - +DOC - =VAL : - -DOC - -STR - json: null diff --git a/tests/yaml-test-suite/UKK6/00/=== b/tests/yaml-test-suite/UKK6/00/=== new file mode 100644 index 0000000..e80c494 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/00/=== @@ -0,0 +1 @@ +Syntax character edge cases diff --git a/tests/yaml-test-suite/UKK6/00/in.yaml b/tests/yaml-test-suite/UKK6/00/in.yaml new file mode 100644 index 0000000..e275119 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/00/in.yaml @@ -0,0 +1 @@ +- : diff --git a/tests/yaml-test-suite/UKK6/00/test.event b/tests/yaml-test-suite/UKK6/00/test.event new file mode 100644 index 0000000..ad12adf --- /dev/null +++ b/tests/yaml-test-suite/UKK6/00/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ ++MAP +=VAL : +=VAL : +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/UKK6/01/=== b/tests/yaml-test-suite/UKK6/01/=== new file mode 100644 index 0000000..e80c494 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/01/=== @@ -0,0 +1 @@ +Syntax character edge cases diff --git a/tests/yaml-test-suite/UKK6/01/in.json b/tests/yaml-test-suite/UKK6/01/in.json new file mode 100644 index 0000000..f32d2e7 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/01/in.json @@ -0,0 +1,3 @@ +{ + ":": null +} diff --git a/tests/yaml-test-suite/UKK6/01/in.yaml b/tests/yaml-test-suite/UKK6/01/in.yaml new file mode 100644 index 0000000..bef3763 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/01/in.yaml @@ -0,0 +1 @@ +:: diff --git a/tests/yaml-test-suite/UKK6/01/test.event b/tests/yaml-test-suite/UKK6/01/test.event new file mode 100644 index 0000000..2f9b508 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/01/test.event @@ -0,0 +1,8 @@ ++STR ++DOC ++MAP +=VAL :: +=VAL : +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/UKK6/02/=== b/tests/yaml-test-suite/UKK6/02/=== new file mode 100644 index 0000000..e80c494 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/02/=== @@ -0,0 +1 @@ +Syntax character edge cases diff --git a/tests/yaml-test-suite/UKK6/02/in.yaml b/tests/yaml-test-suite/UKK6/02/in.yaml new file mode 100644 index 0000000..cdf4cb4 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/02/in.yaml @@ -0,0 +1 @@ +! diff --git a/tests/yaml-test-suite/UKK6/02/test.event b/tests/yaml-test-suite/UKK6/02/test.event new file mode 100644 index 0000000..8370187 --- /dev/null +++ b/tests/yaml-test-suite/UKK6/02/test.event @@ -0,0 +1,5 @@ ++STR ++DOC +=VAL : +-DOC +-STR diff --git a/tests/yaml-test-suite/UT92.yaml b/tests/yaml-test-suite/UT92.yaml deleted file mode 100644 index 4652fb0..0000000 --- a/tests/yaml-test-suite/UT92.yaml +++ /dev/null @@ -1,35 +0,0 @@ ---- -- name: Spec Example 9.4. Explicit Documents - from: http://www.yaml.org/spec/1.2/spec.html#id2801448 - tags: flow spec header footer comment - yaml: | - --- - { matches - % : 20 } - ... - --- - # Empty - ... - tree: | - +STR - +DOC --- - +MAP {} - =VAL :matches % - =VAL :20 - -MAP - -DOC ... - +DOC --- - =VAL : - -DOC ... - -STR - json: | - { - "matches %": 20 - } - null - dump: | - --- - matches %: 20 - ... - --- - ... diff --git a/tests/yaml-test-suite/UT92/=== b/tests/yaml-test-suite/UT92/=== new file mode 100644 index 0000000..df1ebc9 --- /dev/null +++ b/tests/yaml-test-suite/UT92/=== @@ -0,0 +1 @@ +Spec Example 9.4. Explicit Documents diff --git a/tests/yaml-test-suite/UT92/in.json b/tests/yaml-test-suite/UT92/in.json new file mode 100644 index 0000000..587bbf4 --- /dev/null +++ b/tests/yaml-test-suite/UT92/in.json @@ -0,0 +1,4 @@ +{ + "matches %": 20 +} +null diff --git a/tests/yaml-test-suite/UT92/in.yaml b/tests/yaml-test-suite/UT92/in.yaml new file mode 100644 index 0000000..bc363b1 --- /dev/null +++ b/tests/yaml-test-suite/UT92/in.yaml @@ -0,0 +1,7 @@ +--- +{ matches +% : 20 } +... +--- +# Empty +... diff --git a/tests/yaml-test-suite/UT92/out.yaml b/tests/yaml-test-suite/UT92/out.yaml new file mode 100644 index 0000000..3763137 --- /dev/null +++ b/tests/yaml-test-suite/UT92/out.yaml @@ -0,0 +1,5 @@ +--- +matches %: 20 +... +--- +... diff --git a/tests/yaml-test-suite/UT92/test.event b/tests/yaml-test-suite/UT92/test.event new file mode 100644 index 0000000..9a04f4d --- /dev/null +++ b/tests/yaml-test-suite/UT92/test.event @@ -0,0 +1,11 @@ ++STR ++DOC --- ++MAP {} +=VAL :matches % +=VAL :20 +-MAP +-DOC ... ++DOC --- +=VAL : +-DOC ... +-STR diff --git a/tests/yaml-test-suite/UV7Q.yaml b/tests/yaml-test-suite/UV7Q.yaml deleted file mode 100644 index 0caf960..0000000 --- a/tests/yaml-test-suite/UV7Q.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Legal tab after indentation - from: '@ingydotnet' - tags: indent whitespace - yaml: | - x: - - x - ——»x - tree: | - +STR - +DOC - +MAP - =VAL :x - +SEQ - =VAL :x x - -SEQ - -MAP - -DOC - -STR - json: | - { - "x": [ - "x x" - ] - } - dump: | - x: - - x x diff --git a/tests/yaml-test-suite/UV7Q/=== b/tests/yaml-test-suite/UV7Q/=== new file mode 100644 index 0000000..4708174 --- /dev/null +++ b/tests/yaml-test-suite/UV7Q/=== @@ -0,0 +1 @@ +Legal tab after indentation diff --git a/tests/yaml-test-suite/UV7Q/in.json b/tests/yaml-test-suite/UV7Q/in.json new file mode 100644 index 0000000..571dd36 --- /dev/null +++ b/tests/yaml-test-suite/UV7Q/in.json @@ -0,0 +1,5 @@ +{ + "x": [ + "x x" + ] +} diff --git a/tests/yaml-test-suite/UV7Q/in.yaml b/tests/yaml-test-suite/UV7Q/in.yaml new file mode 100644 index 0000000..7daa0a6 --- /dev/null +++ b/tests/yaml-test-suite/UV7Q/in.yaml @@ -0,0 +1,3 @@ +x: + - x + x diff --git a/tests/yaml-test-suite/UV7Q/out.yaml b/tests/yaml-test-suite/UV7Q/out.yaml new file mode 100644 index 0000000..80abc43 --- /dev/null +++ b/tests/yaml-test-suite/UV7Q/out.yaml @@ -0,0 +1,2 @@ +x: +- x x diff --git a/tests/yaml-test-suite/UV7Q/test.event b/tests/yaml-test-suite/UV7Q/test.event new file mode 100644 index 0000000..a580d3d --- /dev/null +++ b/tests/yaml-test-suite/UV7Q/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :x ++SEQ +=VAL :x x +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/V55R.yaml b/tests/yaml-test-suite/V55R.yaml deleted file mode 100644 index 1335d60..0000000 --- a/tests/yaml-test-suite/V55R.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -- name: Aliases in Block Sequence - from: NimYAML tests - tags: alias sequence - yaml: | - - &a a - - &b b - - *a - - *b - tree: | - +STR - +DOC - +SEQ - =VAL &a :a - =VAL &b :b - =ALI *a - =ALI *b - -SEQ - -DOC - -STR - json: | - [ - "a", - "b", - "a", - "b" - ] diff --git a/tests/yaml-test-suite/V55R/=== b/tests/yaml-test-suite/V55R/=== new file mode 100644 index 0000000..6f33623 --- /dev/null +++ b/tests/yaml-test-suite/V55R/=== @@ -0,0 +1 @@ +Aliases in Block Sequence diff --git a/tests/yaml-test-suite/V55R/in.json b/tests/yaml-test-suite/V55R/in.json new file mode 100644 index 0000000..b2810bc --- /dev/null +++ b/tests/yaml-test-suite/V55R/in.json @@ -0,0 +1,6 @@ +[ + "a", + "b", + "a", + "b" +] diff --git a/tests/yaml-test-suite/V55R/in.yaml b/tests/yaml-test-suite/V55R/in.yaml new file mode 100644 index 0000000..b3c45b5 --- /dev/null +++ b/tests/yaml-test-suite/V55R/in.yaml @@ -0,0 +1,4 @@ +- &a a +- &b b +- *a +- *b diff --git a/tests/yaml-test-suite/V55R/test.event b/tests/yaml-test-suite/V55R/test.event new file mode 100644 index 0000000..d60de06 --- /dev/null +++ b/tests/yaml-test-suite/V55R/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++SEQ +=VAL &a :a +=VAL &b :b +=ALI *a +=ALI *b +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/V9D5.yaml b/tests/yaml-test-suite/V9D5.yaml deleted file mode 100644 index a06fdc4..0000000 --- a/tests/yaml-test-suite/V9D5.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- name: Spec Example 8.19. Compact Block Mappings - from: http://www.yaml.org/spec/1.2/spec.html#id2799091 - tags: complex-key explicit-key spec mapping - yaml: | - - sun: yellow - - ? earth: blue - : moon: white - tree: | - +STR - +DOC - +SEQ - +MAP - =VAL :sun - =VAL :yellow - -MAP - +MAP - +MAP - =VAL :earth - =VAL :blue - -MAP - +MAP - =VAL :moon - =VAL :white - -MAP - -MAP - -SEQ - -DOC - -STR diff --git a/tests/yaml-test-suite/V9D5/=== b/tests/yaml-test-suite/V9D5/=== new file mode 100644 index 0000000..fa0784f --- /dev/null +++ b/tests/yaml-test-suite/V9D5/=== @@ -0,0 +1 @@ +Spec Example 8.19. Compact Block Mappings diff --git a/tests/yaml-test-suite/V9D5/in.yaml b/tests/yaml-test-suite/V9D5/in.yaml new file mode 100644 index 0000000..d675cfd --- /dev/null +++ b/tests/yaml-test-suite/V9D5/in.yaml @@ -0,0 +1,3 @@ +- sun: yellow +- ? earth: blue + : moon: white diff --git a/tests/yaml-test-suite/V9D5/test.event b/tests/yaml-test-suite/V9D5/test.event new file mode 100644 index 0000000..e682110 --- /dev/null +++ b/tests/yaml-test-suite/V9D5/test.event @@ -0,0 +1,20 @@ ++STR ++DOC ++SEQ ++MAP +=VAL :sun +=VAL :yellow +-MAP ++MAP ++MAP +=VAL :earth +=VAL :blue +-MAP ++MAP +=VAL :moon +=VAL :white +-MAP +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/VJP3.yaml b/tests/yaml-test-suite/VJP3.yaml deleted file mode 100644 index 76a5c68..0000000 --- a/tests/yaml-test-suite/VJP3.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Flow collections over many lines - from: '@ingydotnet' - tags: flow indent - fail: true - yaml: | - k: { - k - : - v - } - tree: | - +STR - +DOC - +MAP - =VAL :k - +MAP {} - -- yaml: | - k: { - k - : - v - } - tree: | - +STR - +DOC - +MAP - =VAL :k - +MAP {} - =VAL :k - =VAL :v - -MAP - -MAP - -DOC - -STR - json: | - { - "k" : { - "k" : "v" - } - } - dump: | - --- - k: - k: v - emit: | - k: - k: v diff --git a/tests/yaml-test-suite/VJP3/00/=== b/tests/yaml-test-suite/VJP3/00/=== new file mode 100644 index 0000000..fe649f6 --- /dev/null +++ b/tests/yaml-test-suite/VJP3/00/=== @@ -0,0 +1 @@ +Flow collections over many lines diff --git a/tests/yaml-test-suite/VJP3/00/error b/tests/yaml-test-suite/VJP3/00/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/VJP3/00/in.yaml b/tests/yaml-test-suite/VJP3/00/in.yaml new file mode 100644 index 0000000..79c6eda --- /dev/null +++ b/tests/yaml-test-suite/VJP3/00/in.yaml @@ -0,0 +1,5 @@ +k: { +k +: +v +} diff --git a/tests/yaml-test-suite/VJP3/00/test.event b/tests/yaml-test-suite/VJP3/00/test.event new file mode 100644 index 0000000..1a791d8 --- /dev/null +++ b/tests/yaml-test-suite/VJP3/00/test.event @@ -0,0 +1,5 @@ ++STR ++DOC ++MAP +=VAL :k ++MAP {} diff --git a/tests/yaml-test-suite/VJP3/01/=== b/tests/yaml-test-suite/VJP3/01/=== new file mode 100644 index 0000000..fe649f6 --- /dev/null +++ b/tests/yaml-test-suite/VJP3/01/=== @@ -0,0 +1 @@ +Flow collections over many lines diff --git a/tests/yaml-test-suite/VJP3/01/emit.yaml b/tests/yaml-test-suite/VJP3/01/emit.yaml new file mode 100644 index 0000000..01579d0 --- /dev/null +++ b/tests/yaml-test-suite/VJP3/01/emit.yaml @@ -0,0 +1,2 @@ +k: + k: v diff --git a/tests/yaml-test-suite/VJP3/01/in.json b/tests/yaml-test-suite/VJP3/01/in.json new file mode 100644 index 0000000..ebcd68c --- /dev/null +++ b/tests/yaml-test-suite/VJP3/01/in.json @@ -0,0 +1,5 @@ +{ + "k" : { + "k" : "v" + } +} diff --git a/tests/yaml-test-suite/VJP3/01/in.yaml b/tests/yaml-test-suite/VJP3/01/in.yaml new file mode 100644 index 0000000..1d71c2a --- /dev/null +++ b/tests/yaml-test-suite/VJP3/01/in.yaml @@ -0,0 +1,5 @@ +k: { + k + : + v + } diff --git a/tests/yaml-test-suite/VJP3/01/out.yaml b/tests/yaml-test-suite/VJP3/01/out.yaml new file mode 100644 index 0000000..a9cc2d3 --- /dev/null +++ b/tests/yaml-test-suite/VJP3/01/out.yaml @@ -0,0 +1,3 @@ +--- +k: + k: v diff --git a/tests/yaml-test-suite/VJP3/01/test.event b/tests/yaml-test-suite/VJP3/01/test.event new file mode 100644 index 0000000..b515ee4 --- /dev/null +++ b/tests/yaml-test-suite/VJP3/01/test.event @@ -0,0 +1,11 @@ ++STR ++DOC ++MAP +=VAL :k ++MAP {} +=VAL :k +=VAL :v +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/W42U.yaml b/tests/yaml-test-suite/W42U.yaml deleted file mode 100644 index 2c52f96..0000000 --- a/tests/yaml-test-suite/W42U.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -- name: Spec Example 8.15. Block Sequence Entry Types - from: http://www.yaml.org/spec/1.2/spec.html#id2797944 - tags: comment spec literal sequence - yaml: | - - # Empty - - | - block node - - - one # Compact - - two # sequence - - one: two # Compact mapping - tree: | - +STR - +DOC - +SEQ - =VAL : - =VAL |block node\n - +SEQ - =VAL :one - =VAL :two - -SEQ - +MAP - =VAL :one - =VAL :two - -MAP - -SEQ - -DOC - -STR - json: | - [ - null, - "block node\n", - [ - "one", - "two" - ], - { - "one": "two" - } - ] - dump: | - - - - | - block node - - - one - - two - - one: two diff --git a/tests/yaml-test-suite/W42U/=== b/tests/yaml-test-suite/W42U/=== new file mode 100644 index 0000000..50ba048 --- /dev/null +++ b/tests/yaml-test-suite/W42U/=== @@ -0,0 +1 @@ +Spec Example 8.15. Block Sequence Entry Types diff --git a/tests/yaml-test-suite/W42U/in.json b/tests/yaml-test-suite/W42U/in.json new file mode 100644 index 0000000..b277eb8 --- /dev/null +++ b/tests/yaml-test-suite/W42U/in.json @@ -0,0 +1,11 @@ +[ + null, + "block node\n", + [ + "one", + "two" + ], + { + "one": "two" + } +] diff --git a/tests/yaml-test-suite/W42U/in.yaml b/tests/yaml-test-suite/W42U/in.yaml new file mode 100644 index 0000000..35ac923 --- /dev/null +++ b/tests/yaml-test-suite/W42U/in.yaml @@ -0,0 +1,6 @@ +- # Empty +- | + block node +- - one # Compact + - two # sequence +- one: two # Compact mapping diff --git a/tests/yaml-test-suite/W42U/out.yaml b/tests/yaml-test-suite/W42U/out.yaml new file mode 100644 index 0000000..e29b441 --- /dev/null +++ b/tests/yaml-test-suite/W42U/out.yaml @@ -0,0 +1,6 @@ +- +- | + block node +- - one + - two +- one: two diff --git a/tests/yaml-test-suite/W42U/test.event b/tests/yaml-test-suite/W42U/test.event new file mode 100644 index 0000000..20ed214 --- /dev/null +++ b/tests/yaml-test-suite/W42U/test.event @@ -0,0 +1,16 @@ ++STR ++DOC ++SEQ +=VAL : +=VAL |block node\n ++SEQ +=VAL :one +=VAL :two +-SEQ ++MAP +=VAL :one +=VAL :two +-MAP +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/W4TN.yaml b/tests/yaml-test-suite/W4TN.yaml deleted file mode 100644 index ca41ac7..0000000 --- a/tests/yaml-test-suite/W4TN.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -- name: Spec Example 9.5. Directives Documents - from: http://www.yaml.org/spec/1.2/spec.html#id2801606 - tags: spec header footer 1.3-err - yaml: | - %YAML 1.2 - --- | - %!PS-Adobe-2.0 - ... - %YAML 1.2 - --- - # Empty - ... - tree: | - +STR - +DOC --- - =VAL |%!PS-Adobe-2.0\n - -DOC ... - +DOC --- - =VAL : - -DOC ... - -STR - json: | - "%!PS-Adobe-2.0\n" - null - dump: | - --- | - %!PS-Adobe-2.0 - ... - --- - ... diff --git a/tests/yaml-test-suite/W4TN/=== b/tests/yaml-test-suite/W4TN/=== new file mode 100644 index 0000000..99f0c8f --- /dev/null +++ b/tests/yaml-test-suite/W4TN/=== @@ -0,0 +1 @@ +Spec Example 9.5. Directives Documents diff --git a/tests/yaml-test-suite/W4TN/in.json b/tests/yaml-test-suite/W4TN/in.json new file mode 100644 index 0000000..c9dfdfe --- /dev/null +++ b/tests/yaml-test-suite/W4TN/in.json @@ -0,0 +1,2 @@ +"%!PS-Adobe-2.0\n" +null diff --git a/tests/yaml-test-suite/W4TN/in.yaml b/tests/yaml-test-suite/W4TN/in.yaml new file mode 100644 index 0000000..82de01b --- /dev/null +++ b/tests/yaml-test-suite/W4TN/in.yaml @@ -0,0 +1,8 @@ +%YAML 1.2 +--- | +%!PS-Adobe-2.0 +... +%YAML 1.2 +--- +# Empty +... diff --git a/tests/yaml-test-suite/W4TN/out.yaml b/tests/yaml-test-suite/W4TN/out.yaml new file mode 100644 index 0000000..1884959 --- /dev/null +++ b/tests/yaml-test-suite/W4TN/out.yaml @@ -0,0 +1,5 @@ +--- | + %!PS-Adobe-2.0 +... +--- +... diff --git a/tests/yaml-test-suite/W4TN/test.event b/tests/yaml-test-suite/W4TN/test.event new file mode 100644 index 0000000..c1fdc9e --- /dev/null +++ b/tests/yaml-test-suite/W4TN/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- +=VAL |%!PS-Adobe-2.0\n +-DOC ... ++DOC --- +=VAL : +-DOC ... +-STR diff --git a/tests/yaml-test-suite/W5VH.yaml b/tests/yaml-test-suite/W5VH.yaml deleted file mode 100644 index bcf069e..0000000 --- a/tests/yaml-test-suite/W5VH.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Allowed characters in alias - from: '@perlpunk' - tags: alias 1.3-err - yaml: | - a: &:@*!$": scalar a - b: *:@*!$": - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL &:@*!$": :scalar a - =VAL :b - =ALI *:@*!$": - -MAP - -DOC - -STR - json: | - { - "a": "scalar a", - "b": "scalar a" - } diff --git a/tests/yaml-test-suite/W5VH/=== b/tests/yaml-test-suite/W5VH/=== new file mode 100644 index 0000000..0006c2c --- /dev/null +++ b/tests/yaml-test-suite/W5VH/=== @@ -0,0 +1 @@ +Allowed characters in alias diff --git a/tests/yaml-test-suite/W5VH/in.json b/tests/yaml-test-suite/W5VH/in.json new file mode 100644 index 0000000..d2a0de4 --- /dev/null +++ b/tests/yaml-test-suite/W5VH/in.json @@ -0,0 +1,4 @@ +{ + "a": "scalar a", + "b": "scalar a" +} diff --git a/tests/yaml-test-suite/W5VH/in.yaml b/tests/yaml-test-suite/W5VH/in.yaml new file mode 100644 index 0000000..43c7a15 --- /dev/null +++ b/tests/yaml-test-suite/W5VH/in.yaml @@ -0,0 +1,2 @@ +a: &:@*!$": scalar a +b: *:@*!$": diff --git a/tests/yaml-test-suite/W5VH/test.event b/tests/yaml-test-suite/W5VH/test.event new file mode 100644 index 0000000..e09fdf8 --- /dev/null +++ b/tests/yaml-test-suite/W5VH/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL &:@*!$": :scalar a +=VAL :b +=ALI *:@*!$": +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/W9L4.yaml b/tests/yaml-test-suite/W9L4.yaml deleted file mode 100644 index 016f15b..0000000 --- a/tests/yaml-test-suite/W9L4.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Literal block scalar with more spaces in first line - from: '@perlpunk' - tags: error literal whitespace - fail: true - yaml: | - --- - block scalar: | - ␣␣␣␣␣ - more spaces at the beginning - are invalid - tree: | - +STR - +DOC --- - +MAP - =VAL :block scalar diff --git a/tests/yaml-test-suite/W9L4/=== b/tests/yaml-test-suite/W9L4/=== new file mode 100644 index 0000000..a2dc608 --- /dev/null +++ b/tests/yaml-test-suite/W9L4/=== @@ -0,0 +1 @@ +Literal block scalar with more spaces in first line diff --git a/tests/yaml-test-suite/W9L4/error b/tests/yaml-test-suite/W9L4/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/W9L4/in.yaml b/tests/yaml-test-suite/W9L4/in.yaml new file mode 100644 index 0000000..7b15d0c --- /dev/null +++ b/tests/yaml-test-suite/W9L4/in.yaml @@ -0,0 +1,5 @@ +--- +block scalar: | + + more spaces at the beginning + are invalid diff --git a/tests/yaml-test-suite/W9L4/test.event b/tests/yaml-test-suite/W9L4/test.event new file mode 100644 index 0000000..7f1aaeb --- /dev/null +++ b/tests/yaml-test-suite/W9L4/test.event @@ -0,0 +1,4 @@ ++STR ++DOC --- ++MAP +=VAL :block scalar diff --git a/tests/yaml-test-suite/WZ62.yaml b/tests/yaml-test-suite/WZ62.yaml deleted file mode 100644 index 0af62ad..0000000 --- a/tests/yaml-test-suite/WZ62.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -- name: Spec Example 7.2. Empty Content - from: http://www.yaml.org/spec/1.2/spec.html#id2786720 - tags: spec flow scalar tag - yaml: | - { - foo : !!str, - !!str : bar, - } - tree: | - +STR - +DOC - +MAP {} - =VAL :foo - =VAL : - =VAL : - =VAL :bar - -MAP - -DOC - -STR - json: | - { - "foo": "", - "": "bar" - } - dump: | - foo: !!str - !!str : bar diff --git a/tests/yaml-test-suite/WZ62/=== b/tests/yaml-test-suite/WZ62/=== new file mode 100644 index 0000000..1ff4ac0 --- /dev/null +++ b/tests/yaml-test-suite/WZ62/=== @@ -0,0 +1 @@ +Spec Example 7.2. Empty Content diff --git a/tests/yaml-test-suite/WZ62/in.json b/tests/yaml-test-suite/WZ62/in.json new file mode 100644 index 0000000..e1b8322 --- /dev/null +++ b/tests/yaml-test-suite/WZ62/in.json @@ -0,0 +1,4 @@ +{ + "foo": "", + "": "bar" +} diff --git a/tests/yaml-test-suite/WZ62/in.yaml b/tests/yaml-test-suite/WZ62/in.yaml new file mode 100644 index 0000000..aa86103 --- /dev/null +++ b/tests/yaml-test-suite/WZ62/in.yaml @@ -0,0 +1,4 @@ +{ + foo : !!str, + !!str : bar, +} diff --git a/tests/yaml-test-suite/WZ62/out.yaml b/tests/yaml-test-suite/WZ62/out.yaml new file mode 100644 index 0000000..73021af --- /dev/null +++ b/tests/yaml-test-suite/WZ62/out.yaml @@ -0,0 +1,2 @@ +foo: !!str +!!str : bar diff --git a/tests/yaml-test-suite/WZ62/test.event b/tests/yaml-test-suite/WZ62/test.event new file mode 100644 index 0000000..d127c08 --- /dev/null +++ b/tests/yaml-test-suite/WZ62/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP {} +=VAL :foo +=VAL : +=VAL : +=VAL :bar +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/X38W.yaml b/tests/yaml-test-suite/X38W.yaml deleted file mode 100644 index c5b1910..0000000 --- a/tests/yaml-test-suite/X38W.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Aliases in Flow Objects - from: NimYAML tests - tags: alias complex-key flow - yaml: | - { &a [a, &b b]: *b, *a : [c, *b, d]} - tree: | - +STR - +DOC - +MAP {} - +SEQ [] &a - =VAL :a - =VAL &b :b - -SEQ - =ALI *b - =ALI *a - +SEQ [] - =VAL :c - =ALI *b - =VAL :d - -SEQ - -MAP - -DOC - -STR - dump: | - ? &a - - a - - &b b - : *b - *a : - - c - - *b - - d diff --git a/tests/yaml-test-suite/X38W/=== b/tests/yaml-test-suite/X38W/=== new file mode 100644 index 0000000..31a8870 --- /dev/null +++ b/tests/yaml-test-suite/X38W/=== @@ -0,0 +1 @@ +Aliases in Flow Objects diff --git a/tests/yaml-test-suite/X38W/in.yaml b/tests/yaml-test-suite/X38W/in.yaml new file mode 100644 index 0000000..4772110 --- /dev/null +++ b/tests/yaml-test-suite/X38W/in.yaml @@ -0,0 +1 @@ +{ &a [a, &b b]: *b, *a : [c, *b, d]} diff --git a/tests/yaml-test-suite/X38W/out.yaml b/tests/yaml-test-suite/X38W/out.yaml new file mode 100644 index 0000000..f540cfe --- /dev/null +++ b/tests/yaml-test-suite/X38W/out.yaml @@ -0,0 +1,8 @@ +? &a +- a +- &b b +: *b +*a : +- c +- *b +- d diff --git a/tests/yaml-test-suite/X38W/test.event b/tests/yaml-test-suite/X38W/test.event new file mode 100644 index 0000000..2d6a86d --- /dev/null +++ b/tests/yaml-test-suite/X38W/test.event @@ -0,0 +1,17 @@ ++STR ++DOC ++MAP {} ++SEQ [] &a +=VAL :a +=VAL &b :b +-SEQ +=ALI *b +=ALI *a ++SEQ [] +=VAL :c +=ALI *b +=VAL :d +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/X4QW.yaml b/tests/yaml-test-suite/X4QW.yaml deleted file mode 100644 index 69651b8..0000000 --- a/tests/yaml-test-suite/X4QW.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Comment without whitespace after block scalar indicator - from: '@perlpunk' - tags: folded comment error whitespace - fail: true - yaml: | - block: ># comment - scalar - tree: | - +STR - +DOC - +MAP - =VAL :block diff --git a/tests/yaml-test-suite/X4QW/=== b/tests/yaml-test-suite/X4QW/=== new file mode 100644 index 0000000..abc0c39 --- /dev/null +++ b/tests/yaml-test-suite/X4QW/=== @@ -0,0 +1 @@ +Comment without whitespace after block scalar indicator diff --git a/tests/yaml-test-suite/X4QW/error b/tests/yaml-test-suite/X4QW/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/X4QW/in.yaml b/tests/yaml-test-suite/X4QW/in.yaml new file mode 100644 index 0000000..0444f18 --- /dev/null +++ b/tests/yaml-test-suite/X4QW/in.yaml @@ -0,0 +1,2 @@ +block: ># comment + scalar diff --git a/tests/yaml-test-suite/X4QW/test.event b/tests/yaml-test-suite/X4QW/test.event new file mode 100644 index 0000000..a0e77d6 --- /dev/null +++ b/tests/yaml-test-suite/X4QW/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :block diff --git a/tests/yaml-test-suite/X8DW.yaml b/tests/yaml-test-suite/X8DW.yaml deleted file mode 100644 index 56f36d0..0000000 --- a/tests/yaml-test-suite/X8DW.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -- name: Explicit key and value seperated by comment - from: '@perlpunk' - tags: comment explicit-key mapping - yaml: | - --- - ? key - # comment - : value - tree: | - +STR - +DOC --- - +MAP - =VAL :key - =VAL :value - -MAP - -DOC - -STR - json: | - { - "key": "value" - } - dump: | - --- - key: value diff --git a/tests/yaml-test-suite/X8DW/=== b/tests/yaml-test-suite/X8DW/=== new file mode 100644 index 0000000..76e7212 --- /dev/null +++ b/tests/yaml-test-suite/X8DW/=== @@ -0,0 +1 @@ +Explicit key and value seperated by comment diff --git a/tests/yaml-test-suite/X8DW/in.json b/tests/yaml-test-suite/X8DW/in.json new file mode 100644 index 0000000..7a9e864 --- /dev/null +++ b/tests/yaml-test-suite/X8DW/in.json @@ -0,0 +1,3 @@ +{ + "key": "value" +} diff --git a/tests/yaml-test-suite/X8DW/in.yaml b/tests/yaml-test-suite/X8DW/in.yaml new file mode 100644 index 0000000..22911fc --- /dev/null +++ b/tests/yaml-test-suite/X8DW/in.yaml @@ -0,0 +1,4 @@ +--- +? key +# comment +: value diff --git a/tests/yaml-test-suite/X8DW/out.yaml b/tests/yaml-test-suite/X8DW/out.yaml new file mode 100644 index 0000000..25a2fe4 --- /dev/null +++ b/tests/yaml-test-suite/X8DW/out.yaml @@ -0,0 +1,2 @@ +--- +key: value diff --git a/tests/yaml-test-suite/X8DW/test.event b/tests/yaml-test-suite/X8DW/test.event new file mode 100644 index 0000000..16023e0 --- /dev/null +++ b/tests/yaml-test-suite/X8DW/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP +=VAL :key +=VAL :value +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/XLQ9.yaml b/tests/yaml-test-suite/XLQ9.yaml deleted file mode 100644 index d894fe8..0000000 --- a/tests/yaml-test-suite/XLQ9.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- name: Multiline scalar that looks like a YAML directive - from: '@perlpunk' - tags: directive scalar - yaml: | - --- - scalar - %YAML 1.2 - tree: | - +STR - +DOC --- - =VAL :scalar %YAML 1.2 - -DOC - -STR - json: | - "scalar %YAML 1.2" - dump: | - --- scalar %YAML 1.2 - ... diff --git a/tests/yaml-test-suite/XLQ9/=== b/tests/yaml-test-suite/XLQ9/=== new file mode 100644 index 0000000..a62dc34 --- /dev/null +++ b/tests/yaml-test-suite/XLQ9/=== @@ -0,0 +1 @@ +Multiline scalar that looks like a YAML directive diff --git a/tests/yaml-test-suite/XLQ9/in.json b/tests/yaml-test-suite/XLQ9/in.json new file mode 100644 index 0000000..20ec09f --- /dev/null +++ b/tests/yaml-test-suite/XLQ9/in.json @@ -0,0 +1 @@ +"scalar %YAML 1.2" diff --git a/tests/yaml-test-suite/XLQ9/in.yaml b/tests/yaml-test-suite/XLQ9/in.yaml new file mode 100644 index 0000000..dbe36b9 --- /dev/null +++ b/tests/yaml-test-suite/XLQ9/in.yaml @@ -0,0 +1,3 @@ +--- +scalar +%YAML 1.2 diff --git a/tests/yaml-test-suite/XLQ9/out.yaml b/tests/yaml-test-suite/XLQ9/out.yaml new file mode 100644 index 0000000..1d2d27c --- /dev/null +++ b/tests/yaml-test-suite/XLQ9/out.yaml @@ -0,0 +1,2 @@ +--- scalar %YAML 1.2 +... diff --git a/tests/yaml-test-suite/XLQ9/test.event b/tests/yaml-test-suite/XLQ9/test.event new file mode 100644 index 0000000..820a33c --- /dev/null +++ b/tests/yaml-test-suite/XLQ9/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- +=VAL :scalar %YAML 1.2 +-DOC +-STR diff --git a/tests/yaml-test-suite/XV9V.yaml b/tests/yaml-test-suite/XV9V.yaml deleted file mode 100644 index 57b18fb..0000000 --- a/tests/yaml-test-suite/XV9V.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Spec Example 6.5. Empty Lines [1.3] - from: 5GBF, modified for YAML 1.3 - tags: literal spec scalar 1.3-mod - yaml: | - Folding: - "Empty line - - as a line feed" - Chomping: | - Clipped empty lines - ␣ - ↵ - tree: | - +STR - +DOC - +MAP - =VAL :Folding - =VAL "Empty line\nas a line feed - =VAL :Chomping - =VAL |Clipped empty lines\n - -MAP - -DOC - -STR - json: | - { - "Folding": "Empty line\nas a line feed", - "Chomping": "Clipped empty lines\n" - } - dump: | - Folding: "Empty line\nas a line feed" - Chomping: | - Clipped empty lines diff --git a/tests/yaml-test-suite/XV9V/=== b/tests/yaml-test-suite/XV9V/=== new file mode 100644 index 0000000..b002190 --- /dev/null +++ b/tests/yaml-test-suite/XV9V/=== @@ -0,0 +1 @@ +Spec Example 6.5. Empty Lines [1.3] diff --git a/tests/yaml-test-suite/XV9V/in.json b/tests/yaml-test-suite/XV9V/in.json new file mode 100644 index 0000000..41a96a1 --- /dev/null +++ b/tests/yaml-test-suite/XV9V/in.json @@ -0,0 +1,4 @@ +{ + "Folding": "Empty line\nas a line feed", + "Chomping": "Clipped empty lines\n" +} diff --git a/tests/yaml-test-suite/XV9V/in.yaml b/tests/yaml-test-suite/XV9V/in.yaml new file mode 100644 index 0000000..c7775c4 --- /dev/null +++ b/tests/yaml-test-suite/XV9V/in.yaml @@ -0,0 +1,8 @@ +Folding: + "Empty line + + as a line feed" +Chomping: | + Clipped empty lines + + diff --git a/tests/yaml-test-suite/XV9V/out.yaml b/tests/yaml-test-suite/XV9V/out.yaml new file mode 100644 index 0000000..c91fcdd --- /dev/null +++ b/tests/yaml-test-suite/XV9V/out.yaml @@ -0,0 +1,3 @@ +Folding: "Empty line\nas a line feed" +Chomping: | + Clipped empty lines diff --git a/tests/yaml-test-suite/XV9V/test.event b/tests/yaml-test-suite/XV9V/test.event new file mode 100644 index 0000000..1acf1f8 --- /dev/null +++ b/tests/yaml-test-suite/XV9V/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :Folding +=VAL "Empty line\nas a line feed +=VAL :Chomping +=VAL |Clipped empty lines\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/XW4D.yaml b/tests/yaml-test-suite/XW4D.yaml deleted file mode 100644 index 2acbdb0..0000000 --- a/tests/yaml-test-suite/XW4D.yaml +++ /dev/null @@ -1,59 +0,0 @@ ---- -- name: Various Trailing Comments - from: '@perlpunk' - tags: comment explicit-key folded 1.3-err - yaml: | - a: "double - quotes" # lala - b: plain - value # lala - c : #lala - d - ? # lala - - seq1 - : # lala - - #lala - seq2 - e: - &node # lala - - x: y - block: > # lala - abcde - tree: | - +STR - +DOC - +MAP - =VAL :a - =VAL "double quotes - =VAL :b - =VAL :plain value - =VAL :c - =VAL :d - +SEQ - =VAL :seq1 - -SEQ - +SEQ - =VAL :seq2 - -SEQ - =VAL :e - +SEQ &node - +MAP - =VAL :x - =VAL :y - -MAP - -SEQ - =VAL :block - =VAL >abcde\n - -MAP - -DOC - -STR - dump: | - a: "double quotes" - b: plain value - c: d - ? - seq1 - : - seq2 - e: &node - - x: y - block: > - abcde diff --git a/tests/yaml-test-suite/XW4D/=== b/tests/yaml-test-suite/XW4D/=== new file mode 100644 index 0000000..07131dc --- /dev/null +++ b/tests/yaml-test-suite/XW4D/=== @@ -0,0 +1 @@ +Various Trailing Comments diff --git a/tests/yaml-test-suite/XW4D/in.yaml b/tests/yaml-test-suite/XW4D/in.yaml new file mode 100644 index 0000000..4fcc93e --- /dev/null +++ b/tests/yaml-test-suite/XW4D/in.yaml @@ -0,0 +1,16 @@ +a: "double + quotes" # lala +b: plain + value # lala +c : #lala + d +? # lala + - seq1 +: # lala + - #lala + seq2 +e: + &node # lala + - x: y +block: > # lala + abcde diff --git a/tests/yaml-test-suite/XW4D/out.yaml b/tests/yaml-test-suite/XW4D/out.yaml new file mode 100644 index 0000000..d964a91 --- /dev/null +++ b/tests/yaml-test-suite/XW4D/out.yaml @@ -0,0 +1,9 @@ +a: "double quotes" +b: plain value +c: d +? - seq1 +: - seq2 +e: &node +- x: y +block: > + abcde diff --git a/tests/yaml-test-suite/XW4D/test.event b/tests/yaml-test-suite/XW4D/test.event new file mode 100644 index 0000000..fc2031d --- /dev/null +++ b/tests/yaml-test-suite/XW4D/test.event @@ -0,0 +1,27 @@ ++STR ++DOC ++MAP +=VAL :a +=VAL "double quotes +=VAL :b +=VAL :plain value +=VAL :c +=VAL :d ++SEQ +=VAL :seq1 +-SEQ ++SEQ +=VAL :seq2 +-SEQ +=VAL :e ++SEQ &node ++MAP +=VAL :x +=VAL :y +-MAP +-SEQ +=VAL :block +=VAL >abcde\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/Y2GN.yaml b/tests/yaml-test-suite/Y2GN.yaml deleted file mode 100644 index 103d793..0000000 --- a/tests/yaml-test-suite/Y2GN.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Anchor with colon in the middle - from: '@perlpunk' - tags: anchor - yaml: | - --- - key: &an:chor value - tree: | - +STR - +DOC --- - +MAP - =VAL :key - =VAL &an:chor :value - -MAP - -DOC - -STR - json: | - { - "key": "value" - } - dump: | - --- - key: &an:chor value diff --git a/tests/yaml-test-suite/Y2GN/=== b/tests/yaml-test-suite/Y2GN/=== new file mode 100644 index 0000000..87481a5 --- /dev/null +++ b/tests/yaml-test-suite/Y2GN/=== @@ -0,0 +1 @@ +Anchor with colon in the middle diff --git a/tests/yaml-test-suite/Y2GN/in.json b/tests/yaml-test-suite/Y2GN/in.json new file mode 100644 index 0000000..7a9e864 --- /dev/null +++ b/tests/yaml-test-suite/Y2GN/in.json @@ -0,0 +1,3 @@ +{ + "key": "value" +} diff --git a/tests/yaml-test-suite/Y2GN/in.yaml b/tests/yaml-test-suite/Y2GN/in.yaml new file mode 100644 index 0000000..ec2bb92 --- /dev/null +++ b/tests/yaml-test-suite/Y2GN/in.yaml @@ -0,0 +1,2 @@ +--- +key: &an:chor value diff --git a/tests/yaml-test-suite/Y2GN/out.yaml b/tests/yaml-test-suite/Y2GN/out.yaml new file mode 100644 index 0000000..ec2bb92 --- /dev/null +++ b/tests/yaml-test-suite/Y2GN/out.yaml @@ -0,0 +1,2 @@ +--- +key: &an:chor value diff --git a/tests/yaml-test-suite/Y2GN/test.event b/tests/yaml-test-suite/Y2GN/test.event new file mode 100644 index 0000000..8cc245f --- /dev/null +++ b/tests/yaml-test-suite/Y2GN/test.event @@ -0,0 +1,8 @@ ++STR ++DOC --- ++MAP +=VAL :key +=VAL &an:chor :value +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/Y79Y.yaml b/tests/yaml-test-suite/Y79Y.yaml deleted file mode 100644 index 7bd9a16..0000000 --- a/tests/yaml-test-suite/Y79Y.yaml +++ /dev/null @@ -1,119 +0,0 @@ ---- -- name: Tabs in various contexts - from: '@ingydotnet' - tags: whitespace - fail: true - yaml: | - foo: | - ————» - bar: 1 - tree: | - +STR - +DOC - +MAP - =VAL :foo - -- yaml: | - foo: | - ———» - bar: 1 - tree: | - +STR - +DOC - +MAP - =VAL :foo - =VAL |\t\n - =VAL :bar - =VAL :1 - -MAP - -DOC - -STR - json: | - { - "foo": "\t\n", - "bar": 1 - } - dump: | - foo: | - ———» - bar: 1 - -- yaml: | - - [ - ————» - foo - ] - tree: | - +STR - +DOC - +SEQ - +SEQ [] - =VAL :foo - -SEQ - -SEQ - -DOC - -STR - json: | - [ - [ - "foo" - ] - ] - dump: | - - - foo - -- fail: true - yaml: | - - [ - ————»foo, - foo - ] - tree: | - +STR - +DOC - +SEQ - +SEQ [] - json: null - -- fail: true - yaml: | - -———»- - -- fail: true - yaml: | - - ——»- - -- fail: true - yaml: | - ?———»- - -- fail: true - yaml: | - ? - - :———»- - -- fail: true - yaml: | - ?———»key: - -- fail: true - yaml: | - ? key: - :———»key: - -- yaml: | - -———»-1 - tree: | - +STR - +DOC - +SEQ - =VAL :-1 - -SEQ - -DOC - -STR - json: | - [ - -1 - ] - dump: | - - -1 diff --git a/tests/yaml-test-suite/Y79Y/000/=== b/tests/yaml-test-suite/Y79Y/000/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/000/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/000/error b/tests/yaml-test-suite/Y79Y/000/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Y79Y/000/in.yaml b/tests/yaml-test-suite/Y79Y/000/in.yaml new file mode 100644 index 0000000..4e55271 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/000/in.yaml @@ -0,0 +1,3 @@ +foo: | + +bar: 1 diff --git a/tests/yaml-test-suite/Y79Y/000/test.event b/tests/yaml-test-suite/Y79Y/000/test.event new file mode 100644 index 0000000..a29c31a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/000/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :foo diff --git a/tests/yaml-test-suite/Y79Y/001/=== b/tests/yaml-test-suite/Y79Y/001/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/001/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/001/in.json b/tests/yaml-test-suite/Y79Y/001/in.json new file mode 100644 index 0000000..687c550 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/001/in.json @@ -0,0 +1,4 @@ +{ + "foo": "\t\n", + "bar": 1 +} diff --git a/tests/yaml-test-suite/Y79Y/001/in.yaml b/tests/yaml-test-suite/Y79Y/001/in.yaml new file mode 100644 index 0000000..3c2e414 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/001/in.yaml @@ -0,0 +1,3 @@ +foo: | + +bar: 1 diff --git a/tests/yaml-test-suite/Y79Y/001/out.yaml b/tests/yaml-test-suite/Y79Y/001/out.yaml new file mode 100644 index 0000000..9368450 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/001/out.yaml @@ -0,0 +1,3 @@ +foo: | + +bar: 1 diff --git a/tests/yaml-test-suite/Y79Y/001/test.event b/tests/yaml-test-suite/Y79Y/001/test.event new file mode 100644 index 0000000..1bd7876 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/001/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :foo +=VAL |\t\n +=VAL :bar +=VAL :1 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/Y79Y/002/=== b/tests/yaml-test-suite/Y79Y/002/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/002/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/002/in.json b/tests/yaml-test-suite/Y79Y/002/in.json new file mode 100644 index 0000000..4e8764e --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/002/in.json @@ -0,0 +1,5 @@ +[ + [ + "foo" + ] +] diff --git a/tests/yaml-test-suite/Y79Y/002/in.yaml b/tests/yaml-test-suite/Y79Y/002/in.yaml new file mode 100644 index 0000000..6b6ad5d --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/002/in.yaml @@ -0,0 +1,4 @@ +- [ + + foo + ] diff --git a/tests/yaml-test-suite/Y79Y/002/out.yaml b/tests/yaml-test-suite/Y79Y/002/out.yaml new file mode 100644 index 0000000..ea92929 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/002/out.yaml @@ -0,0 +1 @@ +- - foo diff --git a/tests/yaml-test-suite/Y79Y/002/test.event b/tests/yaml-test-suite/Y79Y/002/test.event new file mode 100644 index 0000000..2401c05 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/002/test.event @@ -0,0 +1,9 @@ ++STR ++DOC ++SEQ ++SEQ [] +=VAL :foo +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/Y79Y/003/=== b/tests/yaml-test-suite/Y79Y/003/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/003/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/003/error b/tests/yaml-test-suite/Y79Y/003/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Y79Y/003/in.yaml b/tests/yaml-test-suite/Y79Y/003/in.yaml new file mode 100644 index 0000000..8585471 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/003/in.yaml @@ -0,0 +1,4 @@ +- [ + foo, + foo + ] diff --git a/tests/yaml-test-suite/Y79Y/003/out.yaml b/tests/yaml-test-suite/Y79Y/003/out.yaml new file mode 100644 index 0000000..ea92929 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/003/out.yaml @@ -0,0 +1 @@ +- - foo diff --git a/tests/yaml-test-suite/Y79Y/003/test.event b/tests/yaml-test-suite/Y79Y/003/test.event new file mode 100644 index 0000000..ff5ba2a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/003/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ ++SEQ [] diff --git a/tests/yaml-test-suite/Y79Y/004/=== b/tests/yaml-test-suite/Y79Y/004/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/004/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/004/error b/tests/yaml-test-suite/Y79Y/004/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Y79Y/004/in.yaml b/tests/yaml-test-suite/Y79Y/004/in.yaml new file mode 100644 index 0000000..0806e5a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/004/in.yaml @@ -0,0 +1 @@ +- - diff --git a/tests/yaml-test-suite/Y79Y/004/out.yaml b/tests/yaml-test-suite/Y79Y/004/out.yaml new file mode 100644 index 0000000..ea92929 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/004/out.yaml @@ -0,0 +1 @@ +- - foo diff --git a/tests/yaml-test-suite/Y79Y/004/test.event b/tests/yaml-test-suite/Y79Y/004/test.event new file mode 100644 index 0000000..ff5ba2a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/004/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ ++SEQ [] diff --git a/tests/yaml-test-suite/Y79Y/005/=== b/tests/yaml-test-suite/Y79Y/005/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/005/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/005/error b/tests/yaml-test-suite/Y79Y/005/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Y79Y/005/in.yaml b/tests/yaml-test-suite/Y79Y/005/in.yaml new file mode 100644 index 0000000..ec67404 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/005/in.yaml @@ -0,0 +1 @@ +- - diff --git a/tests/yaml-test-suite/Y79Y/005/out.yaml b/tests/yaml-test-suite/Y79Y/005/out.yaml new file mode 100644 index 0000000..ea92929 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/005/out.yaml @@ -0,0 +1 @@ +- - foo diff --git a/tests/yaml-test-suite/Y79Y/005/test.event b/tests/yaml-test-suite/Y79Y/005/test.event new file mode 100644 index 0000000..ff5ba2a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/005/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ ++SEQ [] diff --git a/tests/yaml-test-suite/Y79Y/006/=== b/tests/yaml-test-suite/Y79Y/006/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/006/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/006/error b/tests/yaml-test-suite/Y79Y/006/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Y79Y/006/in.yaml b/tests/yaml-test-suite/Y79Y/006/in.yaml new file mode 100644 index 0000000..5c42b44 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/006/in.yaml @@ -0,0 +1 @@ +? - diff --git a/tests/yaml-test-suite/Y79Y/006/out.yaml b/tests/yaml-test-suite/Y79Y/006/out.yaml new file mode 100644 index 0000000..ea92929 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/006/out.yaml @@ -0,0 +1 @@ +- - foo diff --git a/tests/yaml-test-suite/Y79Y/006/test.event b/tests/yaml-test-suite/Y79Y/006/test.event new file mode 100644 index 0000000..ff5ba2a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/006/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ ++SEQ [] diff --git a/tests/yaml-test-suite/Y79Y/007/=== b/tests/yaml-test-suite/Y79Y/007/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/007/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/007/error b/tests/yaml-test-suite/Y79Y/007/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Y79Y/007/in.yaml b/tests/yaml-test-suite/Y79Y/007/in.yaml new file mode 100644 index 0000000..4f3691a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/007/in.yaml @@ -0,0 +1,2 @@ +? - +: - diff --git a/tests/yaml-test-suite/Y79Y/007/out.yaml b/tests/yaml-test-suite/Y79Y/007/out.yaml new file mode 100644 index 0000000..ea92929 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/007/out.yaml @@ -0,0 +1 @@ +- - foo diff --git a/tests/yaml-test-suite/Y79Y/007/test.event b/tests/yaml-test-suite/Y79Y/007/test.event new file mode 100644 index 0000000..ff5ba2a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/007/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ ++SEQ [] diff --git a/tests/yaml-test-suite/Y79Y/008/=== b/tests/yaml-test-suite/Y79Y/008/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/008/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/008/error b/tests/yaml-test-suite/Y79Y/008/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Y79Y/008/in.yaml b/tests/yaml-test-suite/Y79Y/008/in.yaml new file mode 100644 index 0000000..b9a50bb --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/008/in.yaml @@ -0,0 +1 @@ +? key: diff --git a/tests/yaml-test-suite/Y79Y/008/out.yaml b/tests/yaml-test-suite/Y79Y/008/out.yaml new file mode 100644 index 0000000..ea92929 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/008/out.yaml @@ -0,0 +1 @@ +- - foo diff --git a/tests/yaml-test-suite/Y79Y/008/test.event b/tests/yaml-test-suite/Y79Y/008/test.event new file mode 100644 index 0000000..ff5ba2a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/008/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ ++SEQ [] diff --git a/tests/yaml-test-suite/Y79Y/009/=== b/tests/yaml-test-suite/Y79Y/009/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/009/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/009/error b/tests/yaml-test-suite/Y79Y/009/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/Y79Y/009/in.yaml b/tests/yaml-test-suite/Y79Y/009/in.yaml new file mode 100644 index 0000000..851a621 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/009/in.yaml @@ -0,0 +1,2 @@ +? key: +: key: diff --git a/tests/yaml-test-suite/Y79Y/009/out.yaml b/tests/yaml-test-suite/Y79Y/009/out.yaml new file mode 100644 index 0000000..ea92929 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/009/out.yaml @@ -0,0 +1 @@ +- - foo diff --git a/tests/yaml-test-suite/Y79Y/009/test.event b/tests/yaml-test-suite/Y79Y/009/test.event new file mode 100644 index 0000000..ff5ba2a --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/009/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ ++SEQ [] diff --git a/tests/yaml-test-suite/Y79Y/010/=== b/tests/yaml-test-suite/Y79Y/010/=== new file mode 100644 index 0000000..cb38fbd --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/010/=== @@ -0,0 +1 @@ +Tabs in various contexts diff --git a/tests/yaml-test-suite/Y79Y/010/in.json b/tests/yaml-test-suite/Y79Y/010/in.json new file mode 100644 index 0000000..4c1600d --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/010/in.json @@ -0,0 +1,3 @@ +[ + -1 +] diff --git a/tests/yaml-test-suite/Y79Y/010/in.yaml b/tests/yaml-test-suite/Y79Y/010/in.yaml new file mode 100644 index 0000000..763ef1b --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/010/in.yaml @@ -0,0 +1 @@ +- -1 diff --git a/tests/yaml-test-suite/Y79Y/010/out.yaml b/tests/yaml-test-suite/Y79Y/010/out.yaml new file mode 100644 index 0000000..9572567 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/010/out.yaml @@ -0,0 +1 @@ +- -1 diff --git a/tests/yaml-test-suite/Y79Y/010/test.event b/tests/yaml-test-suite/Y79Y/010/test.event new file mode 100644 index 0000000..8d71c76 --- /dev/null +++ b/tests/yaml-test-suite/Y79Y/010/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ +=VAL :-1 +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/YD5X.yaml b/tests/yaml-test-suite/YD5X.yaml deleted file mode 100644 index 5dee2f0..0000000 --- a/tests/yaml-test-suite/YD5X.yaml +++ /dev/null @@ -1,58 +0,0 @@ ---- -- name: Spec Example 2.5. Sequence of Sequences - from: http://www.yaml.org/spec/1.2/spec.html#id2760351 - tags: spec sequence - yaml: | - - [name , hr, avg ] - - [Mark McGwire, 65, 0.278] - - [Sammy Sosa , 63, 0.288] - tree: | - +STR - +DOC - +SEQ - +SEQ [] - =VAL :name - =VAL :hr - =VAL :avg - -SEQ - +SEQ [] - =VAL :Mark McGwire - =VAL :65 - =VAL :0.278 - -SEQ - +SEQ [] - =VAL :Sammy Sosa - =VAL :63 - =VAL :0.288 - -SEQ - -SEQ - -DOC - -STR - json: | - [ - [ - "name", - "hr", - "avg" - ], - [ - "Mark McGwire", - 65, - 0.278 - ], - [ - "Sammy Sosa", - 63, - 0.288 - ] - ] - dump: | - - - name - - hr - - avg - - - Mark McGwire - - 65 - - 0.278 - - - Sammy Sosa - - 63 - - 0.288 diff --git a/tests/yaml-test-suite/YD5X/=== b/tests/yaml-test-suite/YD5X/=== new file mode 100644 index 0000000..5561238 --- /dev/null +++ b/tests/yaml-test-suite/YD5X/=== @@ -0,0 +1 @@ +Spec Example 2.5. Sequence of Sequences diff --git a/tests/yaml-test-suite/YD5X/in.json b/tests/yaml-test-suite/YD5X/in.json new file mode 100644 index 0000000..45d384a --- /dev/null +++ b/tests/yaml-test-suite/YD5X/in.json @@ -0,0 +1,17 @@ +[ + [ + "name", + "hr", + "avg" + ], + [ + "Mark McGwire", + 65, + 0.278 + ], + [ + "Sammy Sosa", + 63, + 0.288 + ] +] diff --git a/tests/yaml-test-suite/YD5X/in.yaml b/tests/yaml-test-suite/YD5X/in.yaml new file mode 100644 index 0000000..cdd7770 --- /dev/null +++ b/tests/yaml-test-suite/YD5X/in.yaml @@ -0,0 +1,3 @@ +- [name , hr, avg ] +- [Mark McGwire, 65, 0.278] +- [Sammy Sosa , 63, 0.288] diff --git a/tests/yaml-test-suite/YD5X/out.yaml b/tests/yaml-test-suite/YD5X/out.yaml new file mode 100644 index 0000000..69fd197 --- /dev/null +++ b/tests/yaml-test-suite/YD5X/out.yaml @@ -0,0 +1,9 @@ +- - name + - hr + - avg +- - Mark McGwire + - 65 + - 0.278 +- - Sammy Sosa + - 63 + - 0.288 diff --git a/tests/yaml-test-suite/YD5X/test.event b/tests/yaml-test-suite/YD5X/test.event new file mode 100644 index 0000000..2fa8b2a --- /dev/null +++ b/tests/yaml-test-suite/YD5X/test.event @@ -0,0 +1,21 @@ ++STR ++DOC ++SEQ ++SEQ [] +=VAL :name +=VAL :hr +=VAL :avg +-SEQ ++SEQ [] +=VAL :Mark McGwire +=VAL :65 +=VAL :0.278 +-SEQ ++SEQ [] +=VAL :Sammy Sosa +=VAL :63 +=VAL :0.288 +-SEQ +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/YJV2.yaml b/tests/yaml-test-suite/YJV2.yaml deleted file mode 100644 index 80a6c19..0000000 --- a/tests/yaml-test-suite/YJV2.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- name: Dash in flow sequence - from: '@ingydotnet' - tags: flow sequence - fail: true - yaml: | - [-] - tree: | - +STR - +DOC - +SEQ [] diff --git a/tests/yaml-test-suite/YJV2/=== b/tests/yaml-test-suite/YJV2/=== new file mode 100644 index 0000000..a7c71b4 --- /dev/null +++ b/tests/yaml-test-suite/YJV2/=== @@ -0,0 +1 @@ +Dash in flow sequence diff --git a/tests/yaml-test-suite/YJV2/error b/tests/yaml-test-suite/YJV2/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/YJV2/in.yaml b/tests/yaml-test-suite/YJV2/in.yaml new file mode 100644 index 0000000..4cce7dc --- /dev/null +++ b/tests/yaml-test-suite/YJV2/in.yaml @@ -0,0 +1 @@ +[-] diff --git a/tests/yaml-test-suite/YJV2/test.event b/tests/yaml-test-suite/YJV2/test.event new file mode 100644 index 0000000..b1282c7 --- /dev/null +++ b/tests/yaml-test-suite/YJV2/test.event @@ -0,0 +1,3 @@ ++STR ++DOC ++SEQ [] diff --git a/tests/yaml-test-suite/Z67P.yaml b/tests/yaml-test-suite/Z67P.yaml deleted file mode 100644 index 7816433..0000000 --- a/tests/yaml-test-suite/Z67P.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -- name: Spec Example 8.21. Block Scalar Nodes [1.3] - from: M5C3, modified for YAML 1.3 - tags: indent spec literal folded tag local-tag 1.3-mod - yaml: | - literal: |2 - value - folded: !foo >1 - value - tree: | - +STR - +DOC - +MAP - =VAL :literal - =VAL |value\n - =VAL :folded - =VAL >value\n - -MAP - -DOC - -STR - json: | - { - "literal": "value\n", - "folded": "value\n" - } - dump: | - literal: | - value - folded: !foo > - value diff --git a/tests/yaml-test-suite/Z67P/=== b/tests/yaml-test-suite/Z67P/=== new file mode 100644 index 0000000..e3e6c01 --- /dev/null +++ b/tests/yaml-test-suite/Z67P/=== @@ -0,0 +1 @@ +Spec Example 8.21. Block Scalar Nodes [1.3] diff --git a/tests/yaml-test-suite/Z67P/in.json b/tests/yaml-test-suite/Z67P/in.json new file mode 100644 index 0000000..f1eedb0 --- /dev/null +++ b/tests/yaml-test-suite/Z67P/in.json @@ -0,0 +1,4 @@ +{ + "literal": "value\n", + "folded": "value\n" +} diff --git a/tests/yaml-test-suite/Z67P/in.yaml b/tests/yaml-test-suite/Z67P/in.yaml new file mode 100644 index 0000000..69122ac --- /dev/null +++ b/tests/yaml-test-suite/Z67P/in.yaml @@ -0,0 +1,4 @@ +literal: |2 + value +folded: !foo >1 + value diff --git a/tests/yaml-test-suite/Z67P/out.yaml b/tests/yaml-test-suite/Z67P/out.yaml new file mode 100644 index 0000000..0645c55 --- /dev/null +++ b/tests/yaml-test-suite/Z67P/out.yaml @@ -0,0 +1,4 @@ +literal: | + value +folded: !foo > + value diff --git a/tests/yaml-test-suite/Z67P/test.event b/tests/yaml-test-suite/Z67P/test.event new file mode 100644 index 0000000..fcebe87 --- /dev/null +++ b/tests/yaml-test-suite/Z67P/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL :literal +=VAL |value\n +=VAL :folded +=VAL >value\n +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/Z9M4.yaml b/tests/yaml-test-suite/Z9M4.yaml deleted file mode 100644 index 27d22d6..0000000 --- a/tests/yaml-test-suite/Z9M4.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Spec Example 6.22. Global Tag Prefix - from: http://www.yaml.org/spec/1.2/spec.html#id2783726 - tags: spec header tag unknown-tag - yaml: | - %TAG !e! tag:example.com,2000:app/ - --- - - !e!foo "bar" - tree: | - +STR - +DOC --- - +SEQ - =VAL "bar - -SEQ - -DOC - -STR - json: | - [ - "bar" - ] - dump: | - --- - - ! "bar" diff --git a/tests/yaml-test-suite/Z9M4/=== b/tests/yaml-test-suite/Z9M4/=== new file mode 100644 index 0000000..4b76516 --- /dev/null +++ b/tests/yaml-test-suite/Z9M4/=== @@ -0,0 +1 @@ +Spec Example 6.22. Global Tag Prefix diff --git a/tests/yaml-test-suite/Z9M4/in.json b/tests/yaml-test-suite/Z9M4/in.json new file mode 100644 index 0000000..248299a --- /dev/null +++ b/tests/yaml-test-suite/Z9M4/in.json @@ -0,0 +1,3 @@ +[ + "bar" +] diff --git a/tests/yaml-test-suite/Z9M4/in.yaml b/tests/yaml-test-suite/Z9M4/in.yaml new file mode 100644 index 0000000..eedfe04 --- /dev/null +++ b/tests/yaml-test-suite/Z9M4/in.yaml @@ -0,0 +1,3 @@ +%TAG !e! tag:example.com,2000:app/ +--- +- !e!foo "bar" diff --git a/tests/yaml-test-suite/Z9M4/out.yaml b/tests/yaml-test-suite/Z9M4/out.yaml new file mode 100644 index 0000000..81d5a89 --- /dev/null +++ b/tests/yaml-test-suite/Z9M4/out.yaml @@ -0,0 +1,2 @@ +--- +- ! "bar" diff --git a/tests/yaml-test-suite/Z9M4/test.event b/tests/yaml-test-suite/Z9M4/test.event new file mode 100644 index 0000000..9b9478c --- /dev/null +++ b/tests/yaml-test-suite/Z9M4/test.event @@ -0,0 +1,7 @@ ++STR ++DOC --- ++SEQ +=VAL "bar +-SEQ +-DOC +-STR diff --git a/tests/yaml-test-suite/ZCZ6.yaml b/tests/yaml-test-suite/ZCZ6.yaml deleted file mode 100644 index 582021a..0000000 --- a/tests/yaml-test-suite/ZCZ6.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- name: Invalid mapping in plain single line value - from: https://gist.github.com/anonymous/0c8db51d151baf8113205ba3ce71d1b4 via @ingydotnet - tags: error mapping scalar - fail: true - yaml: | - a: b: c: d - tree: | - +STR - +DOC - +MAP - =VAL :a diff --git a/tests/yaml-test-suite/ZCZ6/=== b/tests/yaml-test-suite/ZCZ6/=== new file mode 100644 index 0000000..e28b1c9 --- /dev/null +++ b/tests/yaml-test-suite/ZCZ6/=== @@ -0,0 +1 @@ +Invalid mapping in plain single line value diff --git a/tests/yaml-test-suite/ZCZ6/error b/tests/yaml-test-suite/ZCZ6/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/ZCZ6/in.yaml b/tests/yaml-test-suite/ZCZ6/in.yaml new file mode 100644 index 0000000..c47fb7c --- /dev/null +++ b/tests/yaml-test-suite/ZCZ6/in.yaml @@ -0,0 +1 @@ +a: b: c: d diff --git a/tests/yaml-test-suite/ZCZ6/test.event b/tests/yaml-test-suite/ZCZ6/test.event new file mode 100644 index 0000000..21d292e --- /dev/null +++ b/tests/yaml-test-suite/ZCZ6/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++MAP +=VAL :a diff --git a/tests/yaml-test-suite/ZF4X.yaml b/tests/yaml-test-suite/ZF4X.yaml deleted file mode 100644 index 3eaaee2..0000000 --- a/tests/yaml-test-suite/ZF4X.yaml +++ /dev/null @@ -1,49 +0,0 @@ ---- -- name: Spec Example 2.6. Mapping of Mappings - from: http://www.yaml.org/spec/1.2/spec.html#id2760372 - tags: flow spec mapping - yaml: | - Mark McGwire: {hr: 65, avg: 0.278} - Sammy Sosa: { - hr: 63, - avg: 0.288 - } - tree: | - +STR - +DOC - +MAP - =VAL :Mark McGwire - +MAP {} - =VAL :hr - =VAL :65 - =VAL :avg - =VAL :0.278 - -MAP - =VAL :Sammy Sosa - +MAP {} - =VAL :hr - =VAL :63 - =VAL :avg - =VAL :0.288 - -MAP - -MAP - -DOC - -STR - json: | - { - "Mark McGwire": { - "hr": 65, - "avg": 0.278 - }, - "Sammy Sosa": { - "hr": 63, - "avg": 0.288 - } - } - dump: | - Mark McGwire: - hr: 65 - avg: 0.278 - Sammy Sosa: - hr: 63 - avg: 0.288 diff --git a/tests/yaml-test-suite/ZF4X/=== b/tests/yaml-test-suite/ZF4X/=== new file mode 100644 index 0000000..7c1c062 --- /dev/null +++ b/tests/yaml-test-suite/ZF4X/=== @@ -0,0 +1 @@ +Spec Example 2.6. Mapping of Mappings diff --git a/tests/yaml-test-suite/ZF4X/in.json b/tests/yaml-test-suite/ZF4X/in.json new file mode 100644 index 0000000..425e548 --- /dev/null +++ b/tests/yaml-test-suite/ZF4X/in.json @@ -0,0 +1,10 @@ +{ + "Mark McGwire": { + "hr": 65, + "avg": 0.278 + }, + "Sammy Sosa": { + "hr": 63, + "avg": 0.288 + } +} diff --git a/tests/yaml-test-suite/ZF4X/in.yaml b/tests/yaml-test-suite/ZF4X/in.yaml new file mode 100644 index 0000000..7a957b2 --- /dev/null +++ b/tests/yaml-test-suite/ZF4X/in.yaml @@ -0,0 +1,5 @@ +Mark McGwire: {hr: 65, avg: 0.278} +Sammy Sosa: { + hr: 63, + avg: 0.288 + } diff --git a/tests/yaml-test-suite/ZF4X/out.yaml b/tests/yaml-test-suite/ZF4X/out.yaml new file mode 100644 index 0000000..5ba2494 --- /dev/null +++ b/tests/yaml-test-suite/ZF4X/out.yaml @@ -0,0 +1,6 @@ +Mark McGwire: + hr: 65 + avg: 0.278 +Sammy Sosa: + hr: 63 + avg: 0.288 diff --git a/tests/yaml-test-suite/ZF4X/test.event b/tests/yaml-test-suite/ZF4X/test.event new file mode 100644 index 0000000..8d0d5ab --- /dev/null +++ b/tests/yaml-test-suite/ZF4X/test.event @@ -0,0 +1,20 @@ ++STR ++DOC ++MAP +=VAL :Mark McGwire ++MAP {} +=VAL :hr +=VAL :65 +=VAL :avg +=VAL :0.278 +-MAP +=VAL :Sammy Sosa ++MAP {} +=VAL :hr +=VAL :63 +=VAL :avg +=VAL :0.288 +-MAP +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/ZH7C.yaml b/tests/yaml-test-suite/ZH7C.yaml deleted file mode 100644 index ae04318..0000000 --- a/tests/yaml-test-suite/ZH7C.yaml +++ /dev/null @@ -1,23 +0,0 @@ ---- -- name: Anchors in Mapping - from: NimYAML tests - tags: anchor mapping - yaml: | - &a a: b - c: &d d - tree: | - +STR - +DOC - +MAP - =VAL &a :a - =VAL :b - =VAL :c - =VAL &d :d - -MAP - -DOC - -STR - json: | - { - "a": "b", - "c": "d" - } diff --git a/tests/yaml-test-suite/ZH7C/=== b/tests/yaml-test-suite/ZH7C/=== new file mode 100644 index 0000000..6fc2eb2 --- /dev/null +++ b/tests/yaml-test-suite/ZH7C/=== @@ -0,0 +1 @@ +Anchors in Mapping diff --git a/tests/yaml-test-suite/ZH7C/in.json b/tests/yaml-test-suite/ZH7C/in.json new file mode 100644 index 0000000..bc92764 --- /dev/null +++ b/tests/yaml-test-suite/ZH7C/in.json @@ -0,0 +1,4 @@ +{ + "a": "b", + "c": "d" +} diff --git a/tests/yaml-test-suite/ZH7C/in.yaml b/tests/yaml-test-suite/ZH7C/in.yaml new file mode 100644 index 0000000..64d718f --- /dev/null +++ b/tests/yaml-test-suite/ZH7C/in.yaml @@ -0,0 +1,2 @@ +&a a: b +c: &d d diff --git a/tests/yaml-test-suite/ZH7C/test.event b/tests/yaml-test-suite/ZH7C/test.event new file mode 100644 index 0000000..f94dba0 --- /dev/null +++ b/tests/yaml-test-suite/ZH7C/test.event @@ -0,0 +1,10 @@ ++STR ++DOC ++MAP +=VAL &a :a +=VAL :b +=VAL :c +=VAL &d :d +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/ZK9H.yaml b/tests/yaml-test-suite/ZK9H.yaml deleted file mode 100644 index 4b6b8b5..0000000 --- a/tests/yaml-test-suite/ZK9H.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -- name: Nested top level flow mapping - from: '@perlpunk' - tags: flow indent mapping sequence - yaml: | - { key: [[[ - value - ]]] - } - tree: | - +STR - +DOC - +MAP {} - =VAL :key - +SEQ [] - +SEQ [] - +SEQ [] - =VAL :value - -SEQ - -SEQ - -SEQ - -MAP - -DOC - -STR - json: | - { - "key": [ - [ - [ - "value" - ] - ] - ] - } - dump: | - key: - - - - value diff --git a/tests/yaml-test-suite/ZK9H/=== b/tests/yaml-test-suite/ZK9H/=== new file mode 100644 index 0000000..15baecb --- /dev/null +++ b/tests/yaml-test-suite/ZK9H/=== @@ -0,0 +1 @@ +Nested top level flow mapping diff --git a/tests/yaml-test-suite/ZK9H/in.json b/tests/yaml-test-suite/ZK9H/in.json new file mode 100644 index 0000000..69b8133 --- /dev/null +++ b/tests/yaml-test-suite/ZK9H/in.json @@ -0,0 +1,9 @@ +{ + "key": [ + [ + [ + "value" + ] + ] + ] +} diff --git a/tests/yaml-test-suite/ZK9H/in.yaml b/tests/yaml-test-suite/ZK9H/in.yaml new file mode 100644 index 0000000..eb177c6 --- /dev/null +++ b/tests/yaml-test-suite/ZK9H/in.yaml @@ -0,0 +1,4 @@ +{ key: [[[ + value + ]]] +} diff --git a/tests/yaml-test-suite/ZK9H/out.yaml b/tests/yaml-test-suite/ZK9H/out.yaml new file mode 100644 index 0000000..3fd0c69 --- /dev/null +++ b/tests/yaml-test-suite/ZK9H/out.yaml @@ -0,0 +1,2 @@ +key: +- - - value diff --git a/tests/yaml-test-suite/ZK9H/test.event b/tests/yaml-test-suite/ZK9H/test.event new file mode 100644 index 0000000..5462946 --- /dev/null +++ b/tests/yaml-test-suite/ZK9H/test.event @@ -0,0 +1,14 @@ ++STR ++DOC ++MAP {} +=VAL :key ++SEQ [] ++SEQ [] ++SEQ [] +=VAL :value +-SEQ +-SEQ +-SEQ +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/ZL4Z.yaml b/tests/yaml-test-suite/ZL4Z.yaml deleted file mode 100644 index 9dc05a0..0000000 --- a/tests/yaml-test-suite/ZL4Z.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -- name: Invalid nested mapping - from: '@perlpunk' - tags: error mapping - fail: true - yaml: | - --- - a: 'b': c - tree: | - +STR - +DOC --- - +MAP - =VAL :a - =VAL 'b diff --git a/tests/yaml-test-suite/ZL4Z/=== b/tests/yaml-test-suite/ZL4Z/=== new file mode 100644 index 0000000..3eadf41 --- /dev/null +++ b/tests/yaml-test-suite/ZL4Z/=== @@ -0,0 +1 @@ +Invalid nested mapping diff --git a/tests/yaml-test-suite/ZL4Z/error b/tests/yaml-test-suite/ZL4Z/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/ZL4Z/in.yaml b/tests/yaml-test-suite/ZL4Z/in.yaml new file mode 100644 index 0000000..798dbbb --- /dev/null +++ b/tests/yaml-test-suite/ZL4Z/in.yaml @@ -0,0 +1,2 @@ +--- +a: 'b': c diff --git a/tests/yaml-test-suite/ZL4Z/test.event b/tests/yaml-test-suite/ZL4Z/test.event new file mode 100644 index 0000000..cb568a4 --- /dev/null +++ b/tests/yaml-test-suite/ZL4Z/test.event @@ -0,0 +1,5 @@ ++STR ++DOC --- ++MAP +=VAL :a +=VAL 'b diff --git a/tests/yaml-test-suite/ZVH3.yaml b/tests/yaml-test-suite/ZVH3.yaml deleted file mode 100644 index c64c026..0000000 --- a/tests/yaml-test-suite/ZVH3.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- name: Wrong indented sequence item - from: '@perlpunk' - tags: error sequence indent - fail: true - yaml: | - - key: value - - item1 - tree: | - +STR - +DOC - +SEQ - +MAP - =VAL :key - =VAL :value - -MAP diff --git a/tests/yaml-test-suite/ZVH3/=== b/tests/yaml-test-suite/ZVH3/=== new file mode 100644 index 0000000..cbac67a --- /dev/null +++ b/tests/yaml-test-suite/ZVH3/=== @@ -0,0 +1 @@ +Wrong indented sequence item diff --git a/tests/yaml-test-suite/ZVH3/error b/tests/yaml-test-suite/ZVH3/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/ZVH3/in.yaml b/tests/yaml-test-suite/ZVH3/in.yaml new file mode 100644 index 0000000..9db12c9 --- /dev/null +++ b/tests/yaml-test-suite/ZVH3/in.yaml @@ -0,0 +1,2 @@ +- key: value + - item1 diff --git a/tests/yaml-test-suite/ZVH3/test.event b/tests/yaml-test-suite/ZVH3/test.event new file mode 100644 index 0000000..c38cb76 --- /dev/null +++ b/tests/yaml-test-suite/ZVH3/test.event @@ -0,0 +1,7 @@ ++STR ++DOC ++SEQ ++MAP +=VAL :key +=VAL :value +-MAP diff --git a/tests/yaml-test-suite/ZWK4.yaml b/tests/yaml-test-suite/ZWK4.yaml deleted file mode 100644 index 39abebf..0000000 --- a/tests/yaml-test-suite/ZWK4.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -- name: Key with anchor after missing explicit mapping value - from: '@perlpunk' - tags: anchor explicit-key mapping - yaml: | - --- - a: 1 - ? b - &anchor c: 3 - tree: | - +STR - +DOC --- - +MAP - =VAL :a - =VAL :1 - =VAL :b - =VAL : - =VAL &anchor :c - =VAL :3 - -MAP - -DOC - -STR - json: | - { - "a": 1, - "b": null, - "c": 3 - } - dump: | - --- - a: 1 - b: - &anchor c: 3 diff --git a/tests/yaml-test-suite/ZWK4/=== b/tests/yaml-test-suite/ZWK4/=== new file mode 100644 index 0000000..bc2e301 --- /dev/null +++ b/tests/yaml-test-suite/ZWK4/=== @@ -0,0 +1 @@ +Key with anchor after missing explicit mapping value diff --git a/tests/yaml-test-suite/ZWK4/in.json b/tests/yaml-test-suite/ZWK4/in.json new file mode 100644 index 0000000..ede92b9 --- /dev/null +++ b/tests/yaml-test-suite/ZWK4/in.json @@ -0,0 +1,5 @@ +{ + "a": 1, + "b": null, + "c": 3 +} diff --git a/tests/yaml-test-suite/ZWK4/in.yaml b/tests/yaml-test-suite/ZWK4/in.yaml new file mode 100644 index 0000000..b6fca2a --- /dev/null +++ b/tests/yaml-test-suite/ZWK4/in.yaml @@ -0,0 +1,4 @@ +--- +a: 1 +? b +&anchor c: 3 diff --git a/tests/yaml-test-suite/ZWK4/out.yaml b/tests/yaml-test-suite/ZWK4/out.yaml new file mode 100644 index 0000000..8c72d03 --- /dev/null +++ b/tests/yaml-test-suite/ZWK4/out.yaml @@ -0,0 +1,4 @@ +--- +a: 1 +b: +&anchor c: 3 diff --git a/tests/yaml-test-suite/ZWK4/test.event b/tests/yaml-test-suite/ZWK4/test.event new file mode 100644 index 0000000..ccd5f7a --- /dev/null +++ b/tests/yaml-test-suite/ZWK4/test.event @@ -0,0 +1,12 @@ ++STR ++DOC --- ++MAP +=VAL :a +=VAL :1 +=VAL :b +=VAL : +=VAL &anchor :c +=VAL :3 +-MAP +-DOC +-STR diff --git a/tests/yaml-test-suite/ZXT5.yaml b/tests/yaml-test-suite/ZXT5.yaml deleted file mode 100644 index 34e6ec9..0000000 --- a/tests/yaml-test-suite/ZXT5.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- name: Implicit key followed by newline and adjacent value - from: '@perlpunk' - tags: error flow mapping sequence - fail: true - yaml: | - [ "key" - :value ] - tree: | - +STR - +DOC - +SEQ [] - =VAL "key diff --git a/tests/yaml-test-suite/ZXT5/=== b/tests/yaml-test-suite/ZXT5/=== new file mode 100644 index 0000000..5027391 --- /dev/null +++ b/tests/yaml-test-suite/ZXT5/=== @@ -0,0 +1 @@ +Implicit key followed by newline and adjacent value diff --git a/tests/yaml-test-suite/ZXT5/error b/tests/yaml-test-suite/ZXT5/error new file mode 100644 index 0000000..e69de29 diff --git a/tests/yaml-test-suite/ZXT5/in.yaml b/tests/yaml-test-suite/ZXT5/in.yaml new file mode 100644 index 0000000..be1ccf2 --- /dev/null +++ b/tests/yaml-test-suite/ZXT5/in.yaml @@ -0,0 +1,2 @@ +[ "key" + :value ] diff --git a/tests/yaml-test-suite/ZXT5/test.event b/tests/yaml-test-suite/ZXT5/test.event new file mode 100644 index 0000000..352ead1 --- /dev/null +++ b/tests/yaml-test-suite/ZXT5/test.event @@ -0,0 +1,4 @@ ++STR ++DOC ++SEQ [] +=VAL "key diff --git a/tests/yaml-test-suite/ZYU8.yaml b/tests/yaml-test-suite/ZYU8.yaml deleted file mode 100644 index 646da1b..0000000 --- a/tests/yaml-test-suite/ZYU8.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -- skip: true - note: The following cases are valid YAML according to the 1.2 productions but - not at all usefully valid. We don't want to encourage parsers to support - them when we'll likely make them invalid later. - also: MU58 - name: Directive variants - from: '@ingydotnet' - tags: directive - yaml: | - %YAML1.1 - --- - tree: | - +STR - +DOC --- - =VAL : - -DOC - -STR - json: | - null - -- yaml: | - %*** - --- - -- yaml: | - %YAML 1.1 1.2 - --- - -- yaml: | - %YAML 1.12345 - --- diff --git a/tests/yaml-test-suite/name/aliases-in-block-sequence b/tests/yaml-test-suite/name/aliases-in-block-sequence new file mode 120000 index 0000000..89e7076 --- /dev/null +++ b/tests/yaml-test-suite/name/aliases-in-block-sequence @@ -0,0 +1 @@ +../V55R \ No newline at end of file diff --git a/tests/yaml-test-suite/name/aliases-in-explicit-block-mapping b/tests/yaml-test-suite/name/aliases-in-explicit-block-mapping new file mode 120000 index 0000000..6aaadf3 --- /dev/null +++ b/tests/yaml-test-suite/name/aliases-in-explicit-block-mapping @@ -0,0 +1 @@ +../6M2F \ No newline at end of file diff --git a/tests/yaml-test-suite/name/aliases-in-flow-objects b/tests/yaml-test-suite/name/aliases-in-flow-objects new file mode 120000 index 0000000..66f6746 --- /dev/null +++ b/tests/yaml-test-suite/name/aliases-in-flow-objects @@ -0,0 +1 @@ +../X38W \ No newline at end of file diff --git a/tests/yaml-test-suite/name/aliases-in-implicit-block-mapping b/tests/yaml-test-suite/name/aliases-in-implicit-block-mapping new file mode 120000 index 0000000..1db5237 --- /dev/null +++ b/tests/yaml-test-suite/name/aliases-in-implicit-block-mapping @@ -0,0 +1 @@ +../E76Z \ No newline at end of file diff --git a/tests/yaml-test-suite/name/allowed-characters-in-alias b/tests/yaml-test-suite/name/allowed-characters-in-alias new file mode 120000 index 0000000..fd72ffa --- /dev/null +++ b/tests/yaml-test-suite/name/allowed-characters-in-alias @@ -0,0 +1 @@ +../W5VH \ No newline at end of file diff --git a/tests/yaml-test-suite/name/allowed-characters-in-keys b/tests/yaml-test-suite/name/allowed-characters-in-keys new file mode 120000 index 0000000..d671c64 --- /dev/null +++ b/tests/yaml-test-suite/name/allowed-characters-in-keys @@ -0,0 +1 @@ +../2EBW \ No newline at end of file diff --git a/tests/yaml-test-suite/name/allowed-characters-in-plain-scalars b/tests/yaml-test-suite/name/allowed-characters-in-plain-scalars new file mode 120000 index 0000000..d15ad46 --- /dev/null +++ b/tests/yaml-test-suite/name/allowed-characters-in-plain-scalars @@ -0,0 +1 @@ +../FBC9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/allowed-characters-in-quoted-mapping-key b/tests/yaml-test-suite/name/allowed-characters-in-quoted-mapping-key new file mode 120000 index 0000000..26a6210 --- /dev/null +++ b/tests/yaml-test-suite/name/allowed-characters-in-quoted-mapping-key @@ -0,0 +1 @@ +../6SLA \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchor-and-alias-as-mapping-key b/tests/yaml-test-suite/name/anchor-and-alias-as-mapping-key new file mode 120000 index 0000000..ed45d0c --- /dev/null +++ b/tests/yaml-test-suite/name/anchor-and-alias-as-mapping-key @@ -0,0 +1 @@ +../SU74 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchor-before-sequence-entry-on-same-line b/tests/yaml-test-suite/name/anchor-before-sequence-entry-on-same-line new file mode 120000 index 0000000..b6bda18 --- /dev/null +++ b/tests/yaml-test-suite/name/anchor-before-sequence-entry-on-same-line @@ -0,0 +1 @@ +../SY6V \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchor-before-zero-indented-sequence b/tests/yaml-test-suite/name/anchor-before-zero-indented-sequence new file mode 120000 index 0000000..670a4ee --- /dev/null +++ b/tests/yaml-test-suite/name/anchor-before-zero-indented-sequence @@ -0,0 +1 @@ +../SKE5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchor-for-empty-node b/tests/yaml-test-suite/name/anchor-for-empty-node new file mode 120000 index 0000000..623377a --- /dev/null +++ b/tests/yaml-test-suite/name/anchor-for-empty-node @@ -0,0 +1 @@ +../6KGN \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchor-plus-alias b/tests/yaml-test-suite/name/anchor-plus-alias new file mode 120000 index 0000000..0edbefd --- /dev/null +++ b/tests/yaml-test-suite/name/anchor-plus-alias @@ -0,0 +1 @@ +../SR86 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchor-with-colon-in-the-middle b/tests/yaml-test-suite/name/anchor-with-colon-in-the-middle new file mode 120000 index 0000000..dc0ef1f --- /dev/null +++ b/tests/yaml-test-suite/name/anchor-with-colon-in-the-middle @@ -0,0 +1 @@ +../Y2GN \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchor-with-unicode-character b/tests/yaml-test-suite/name/anchor-with-unicode-character new file mode 120000 index 0000000..8cba082 --- /dev/null +++ b/tests/yaml-test-suite/name/anchor-with-unicode-character @@ -0,0 +1 @@ +../8XYN \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchors-and-tags b/tests/yaml-test-suite/name/anchors-and-tags new file mode 120000 index 0000000..6ee64dd --- /dev/null +++ b/tests/yaml-test-suite/name/anchors-and-tags @@ -0,0 +1 @@ +../F2C7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchors-in-mapping b/tests/yaml-test-suite/name/anchors-in-mapping new file mode 120000 index 0000000..2aa2556 --- /dev/null +++ b/tests/yaml-test-suite/name/anchors-in-mapping @@ -0,0 +1 @@ +../ZH7C \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchors-on-empty-scalars b/tests/yaml-test-suite/name/anchors-on-empty-scalars new file mode 120000 index 0000000..dcae270 --- /dev/null +++ b/tests/yaml-test-suite/name/anchors-on-empty-scalars @@ -0,0 +1 @@ +../PW8X \ No newline at end of file diff --git a/tests/yaml-test-suite/name/anchors-with-colon-in-name b/tests/yaml-test-suite/name/anchors-with-colon-in-name new file mode 120000 index 0000000..07d3331 --- /dev/null +++ b/tests/yaml-test-suite/name/anchors-with-colon-in-name @@ -0,0 +1 @@ +../2SXE \ No newline at end of file diff --git a/tests/yaml-test-suite/name/backslashes-in-singlequotes b/tests/yaml-test-suite/name/backslashes-in-singlequotes new file mode 120000 index 0000000..970ee85 --- /dev/null +++ b/tests/yaml-test-suite/name/backslashes-in-singlequotes @@ -0,0 +1 @@ +../6H3V \ No newline at end of file diff --git a/tests/yaml-test-suite/name/bad-indentation-in-mapping b/tests/yaml-test-suite/name/bad-indentation-in-mapping new file mode 120000 index 0000000..4770d9c --- /dev/null +++ b/tests/yaml-test-suite/name/bad-indentation-in-mapping @@ -0,0 +1 @@ +../N4JP \ No newline at end of file diff --git a/tests/yaml-test-suite/name/bad-indentation-in-mapping-2 b/tests/yaml-test-suite/name/bad-indentation-in-mapping-2 new file mode 120000 index 0000000..0b80d4f --- /dev/null +++ b/tests/yaml-test-suite/name/bad-indentation-in-mapping-2 @@ -0,0 +1 @@ +../U44R \ No newline at end of file diff --git a/tests/yaml-test-suite/name/bare-document-after-document-end-marker b/tests/yaml-test-suite/name/bare-document-after-document-end-marker new file mode 120000 index 0000000..88da66a --- /dev/null +++ b/tests/yaml-test-suite/name/bare-document-after-document-end-marker @@ -0,0 +1 @@ +../7Z25 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/blank-lines b/tests/yaml-test-suite/name/blank-lines new file mode 120000 index 0000000..541684d --- /dev/null +++ b/tests/yaml-test-suite/name/blank-lines @@ -0,0 +1 @@ +../H2RW \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-mapping-with-missing-keys b/tests/yaml-test-suite/name/block-mapping-with-missing-keys new file mode 120000 index 0000000..20d6417 --- /dev/null +++ b/tests/yaml-test-suite/name/block-mapping-with-missing-keys @@ -0,0 +1 @@ +../2JQS \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-mapping-with-missing-values b/tests/yaml-test-suite/name/block-mapping-with-missing-values new file mode 120000 index 0000000..3d62e06 --- /dev/null +++ b/tests/yaml-test-suite/name/block-mapping-with-missing-values @@ -0,0 +1 @@ +../7W2P \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-mapping-with-multiline-scalars b/tests/yaml-test-suite/name/block-mapping-with-multiline-scalars new file mode 120000 index 0000000..7526142 --- /dev/null +++ b/tests/yaml-test-suite/name/block-mapping-with-multiline-scalars @@ -0,0 +1 @@ +../JTV5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-mappings-in-block-sequence b/tests/yaml-test-suite/name/block-mappings-in-block-sequence new file mode 120000 index 0000000..94b6ac0 --- /dev/null +++ b/tests/yaml-test-suite/name/block-mappings-in-block-sequence @@ -0,0 +1 @@ +../93JH \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-scalar-indicator-order b/tests/yaml-test-suite/name/block-scalar-indicator-order new file mode 120000 index 0000000..cbc53ea --- /dev/null +++ b/tests/yaml-test-suite/name/block-scalar-indicator-order @@ -0,0 +1 @@ +../D83L \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-scalar-keep b/tests/yaml-test-suite/name/block-scalar-keep new file mode 120000 index 0000000..4c19584 --- /dev/null +++ b/tests/yaml-test-suite/name/block-scalar-keep @@ -0,0 +1 @@ +../6FWR \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-scalar-strip b/tests/yaml-test-suite/name/block-scalar-strip new file mode 120000 index 0000000..c5ac7d2 --- /dev/null +++ b/tests/yaml-test-suite/name/block-scalar-strip @@ -0,0 +1 @@ +../MYW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-scalar-strip-1-3 b/tests/yaml-test-suite/name/block-scalar-strip-1-3 new file mode 120000 index 0000000..d1a2b88 --- /dev/null +++ b/tests/yaml-test-suite/name/block-scalar-strip-1-3 @@ -0,0 +1 @@ +../753E \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-scalar-with-more-spaces-than-first-content-line b/tests/yaml-test-suite/name/block-scalar-with-more-spaces-than-first-content-line new file mode 120000 index 0000000..5e6cd6c --- /dev/null +++ b/tests/yaml-test-suite/name/block-scalar-with-more-spaces-than-first-content-line @@ -0,0 +1 @@ +../S98Z \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-scalar-with-wrong-indented-line-after-spaces-only b/tests/yaml-test-suite/name/block-scalar-with-wrong-indented-line-after-spaces-only new file mode 120000 index 0000000..1d9d76e --- /dev/null +++ b/tests/yaml-test-suite/name/block-scalar-with-wrong-indented-line-after-spaces-only @@ -0,0 +1 @@ +../5LLU \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-sequence-in-block-mapping b/tests/yaml-test-suite/name/block-sequence-in-block-mapping new file mode 120000 index 0000000..51f3e9d --- /dev/null +++ b/tests/yaml-test-suite/name/block-sequence-in-block-mapping @@ -0,0 +1 @@ +../8QBE \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-sequence-in-block-sequence b/tests/yaml-test-suite/name/block-sequence-in-block-sequence new file mode 120000 index 0000000..b838502 --- /dev/null +++ b/tests/yaml-test-suite/name/block-sequence-in-block-sequence @@ -0,0 +1 @@ +../3ALJ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-sequence-indentation b/tests/yaml-test-suite/name/block-sequence-indentation new file mode 120000 index 0000000..022ba09 --- /dev/null +++ b/tests/yaml-test-suite/name/block-sequence-indentation @@ -0,0 +1 @@ +../M6YH \ No newline at end of file diff --git a/tests/yaml-test-suite/name/block-submapping b/tests/yaml-test-suite/name/block-submapping new file mode 120000 index 0000000..4e11886 --- /dev/null +++ b/tests/yaml-test-suite/name/block-submapping @@ -0,0 +1 @@ +../KMK3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/colon-and-adjacent-value-after-comment-on-next-line b/tests/yaml-test-suite/name/colon-and-adjacent-value-after-comment-on-next-line new file mode 120000 index 0000000..5c1dfd7 --- /dev/null +++ b/tests/yaml-test-suite/name/colon-and-adjacent-value-after-comment-on-next-line @@ -0,0 +1 @@ +../K3WX \ No newline at end of file diff --git a/tests/yaml-test-suite/name/colon-and-adjacent-value-on-next-line b/tests/yaml-test-suite/name/colon-and-adjacent-value-on-next-line new file mode 120000 index 0000000..2d77c8e --- /dev/null +++ b/tests/yaml-test-suite/name/colon-and-adjacent-value-on-next-line @@ -0,0 +1 @@ +../5MUD \ No newline at end of file diff --git a/tests/yaml-test-suite/name/colon-at-the-beginning-of-adjacent-flow-scalar b/tests/yaml-test-suite/name/colon-at-the-beginning-of-adjacent-flow-scalar new file mode 120000 index 0000000..7d2d565 --- /dev/null +++ b/tests/yaml-test-suite/name/colon-at-the-beginning-of-adjacent-flow-scalar @@ -0,0 +1 @@ +../5T43 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/colon-followed-by-comma b/tests/yaml-test-suite/name/colon-followed-by-comma new file mode 120000 index 0000000..33f5235 --- /dev/null +++ b/tests/yaml-test-suite/name/colon-followed-by-comma @@ -0,0 +1 @@ +../S7BG \ No newline at end of file diff --git a/tests/yaml-test-suite/name/colon-in-double-quoted-string b/tests/yaml-test-suite/name/colon-in-double-quoted-string new file mode 120000 index 0000000..4f2b2b3 --- /dev/null +++ b/tests/yaml-test-suite/name/colon-in-double-quoted-string @@ -0,0 +1 @@ +../4UYU \ No newline at end of file diff --git a/tests/yaml-test-suite/name/comment-and-document-end-marker b/tests/yaml-test-suite/name/comment-and-document-end-marker new file mode 120000 index 0000000..1950cbc --- /dev/null +++ b/tests/yaml-test-suite/name/comment-and-document-end-marker @@ -0,0 +1 @@ +../QT73 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/comment-between-plain-scalar-lines b/tests/yaml-test-suite/name/comment-between-plain-scalar-lines new file mode 120000 index 0000000..490ee72 --- /dev/null +++ b/tests/yaml-test-suite/name/comment-between-plain-scalar-lines @@ -0,0 +1 @@ +../BS4K \ No newline at end of file diff --git a/tests/yaml-test-suite/name/comment-in-flow-sequence-before-comma b/tests/yaml-test-suite/name/comment-in-flow-sequence-before-comma new file mode 120000 index 0000000..8fe0512 --- /dev/null +++ b/tests/yaml-test-suite/name/comment-in-flow-sequence-before-comma @@ -0,0 +1 @@ +../7TMG \ No newline at end of file diff --git a/tests/yaml-test-suite/name/comment-in-plain-multiline-value b/tests/yaml-test-suite/name/comment-in-plain-multiline-value new file mode 120000 index 0000000..702eb47 --- /dev/null +++ b/tests/yaml-test-suite/name/comment-in-plain-multiline-value @@ -0,0 +1 @@ +../8XDJ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/comment-that-looks-like-a-mapping-key b/tests/yaml-test-suite/name/comment-that-looks-like-a-mapping-key new file mode 120000 index 0000000..0e4113d --- /dev/null +++ b/tests/yaml-test-suite/name/comment-that-looks-like-a-mapping-key @@ -0,0 +1 @@ +../GDY7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/comment-without-whitespace-after-block-scalar-indicator b/tests/yaml-test-suite/name/comment-without-whitespace-after-block-scalar-indicator new file mode 120000 index 0000000..9a20d51 --- /dev/null +++ b/tests/yaml-test-suite/name/comment-without-whitespace-after-block-scalar-indicator @@ -0,0 +1 @@ +../X4QW \ No newline at end of file diff --git a/tests/yaml-test-suite/name/comment-without-whitespace-after-doublequoted-scalar b/tests/yaml-test-suite/name/comment-without-whitespace-after-doublequoted-scalar new file mode 120000 index 0000000..386563a --- /dev/null +++ b/tests/yaml-test-suite/name/comment-without-whitespace-after-doublequoted-scalar @@ -0,0 +1 @@ +../SU5Z \ No newline at end of file diff --git a/tests/yaml-test-suite/name/construct-binary b/tests/yaml-test-suite/name/construct-binary new file mode 120000 index 0000000..b323be5 --- /dev/null +++ b/tests/yaml-test-suite/name/construct-binary @@ -0,0 +1 @@ +../565N \ No newline at end of file diff --git a/tests/yaml-test-suite/name/dash-in-flow-sequence b/tests/yaml-test-suite/name/dash-in-flow-sequence new file mode 120000 index 0000000..6792a0f --- /dev/null +++ b/tests/yaml-test-suite/name/dash-in-flow-sequence @@ -0,0 +1 @@ +../YJV2 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/directive-by-itself-with-no-document b/tests/yaml-test-suite/name/directive-by-itself-with-no-document new file mode 120000 index 0000000..d8c2dbe --- /dev/null +++ b/tests/yaml-test-suite/name/directive-by-itself-with-no-document @@ -0,0 +1 @@ +../9MMA \ No newline at end of file diff --git a/tests/yaml-test-suite/name/directive-variants b/tests/yaml-test-suite/name/directive-variants new file mode 120000 index 0000000..d595302 --- /dev/null +++ b/tests/yaml-test-suite/name/directive-variants @@ -0,0 +1 @@ +../MUS6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/directive-without-document b/tests/yaml-test-suite/name/directive-without-document new file mode 120000 index 0000000..db7db52 --- /dev/null +++ b/tests/yaml-test-suite/name/directive-without-document @@ -0,0 +1 @@ +../B63P \ No newline at end of file diff --git a/tests/yaml-test-suite/name/document-end-marker b/tests/yaml-test-suite/name/document-end-marker new file mode 120000 index 0000000..ace26f4 --- /dev/null +++ b/tests/yaml-test-suite/name/document-end-marker @@ -0,0 +1 @@ +../HWV9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/document-start-on-last-line b/tests/yaml-test-suite/name/document-start-on-last-line new file mode 120000 index 0000000..ae929ed --- /dev/null +++ b/tests/yaml-test-suite/name/document-start-on-last-line @@ -0,0 +1 @@ +../PUW8 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/document-with-footer b/tests/yaml-test-suite/name/document-with-footer new file mode 120000 index 0000000..bf9be20 --- /dev/null +++ b/tests/yaml-test-suite/name/document-with-footer @@ -0,0 +1 @@ +../S4T7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/double-quoted-scalar-with-escaped-single-quote b/tests/yaml-test-suite/name/double-quoted-scalar-with-escaped-single-quote new file mode 120000 index 0000000..500439c --- /dev/null +++ b/tests/yaml-test-suite/name/double-quoted-scalar-with-escaped-single-quote @@ -0,0 +1 @@ +../HRE5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/double-quoted-string-without-closing-quote b/tests/yaml-test-suite/name/double-quoted-string-without-closing-quote new file mode 120000 index 0000000..d911572 --- /dev/null +++ b/tests/yaml-test-suite/name/double-quoted-string-without-closing-quote @@ -0,0 +1 @@ +../CQ3W \ No newline at end of file diff --git a/tests/yaml-test-suite/name/doublequoted-scalar-starting-with-a-tab b/tests/yaml-test-suite/name/doublequoted-scalar-starting-with-a-tab new file mode 120000 index 0000000..d8b5434 --- /dev/null +++ b/tests/yaml-test-suite/name/doublequoted-scalar-starting-with-a-tab @@ -0,0 +1 @@ +../CPZ3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/duplicate-yaml-directive b/tests/yaml-test-suite/name/duplicate-yaml-directive new file mode 120000 index 0000000..5edfffb --- /dev/null +++ b/tests/yaml-test-suite/name/duplicate-yaml-directive @@ -0,0 +1 @@ +../SF5V \ No newline at end of file diff --git a/tests/yaml-test-suite/name/empty-flow-collections b/tests/yaml-test-suite/name/empty-flow-collections new file mode 120000 index 0000000..2a4a058 --- /dev/null +++ b/tests/yaml-test-suite/name/empty-flow-collections @@ -0,0 +1 @@ +../7ZZ5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/empty-implicit-key-in-single-pair-flow-sequences b/tests/yaml-test-suite/name/empty-implicit-key-in-single-pair-flow-sequences new file mode 120000 index 0000000..2f06d2b --- /dev/null +++ b/tests/yaml-test-suite/name/empty-implicit-key-in-single-pair-flow-sequences @@ -0,0 +1 @@ +../CFD4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/empty-keys-in-block-and-flow-mapping b/tests/yaml-test-suite/name/empty-keys-in-block-and-flow-mapping new file mode 120000 index 0000000..01a1bfb --- /dev/null +++ b/tests/yaml-test-suite/name/empty-keys-in-block-and-flow-mapping @@ -0,0 +1 @@ +../NKF9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/empty-lines-at-end-of-document b/tests/yaml-test-suite/name/empty-lines-at-end-of-document new file mode 120000 index 0000000..4377f94 --- /dev/null +++ b/tests/yaml-test-suite/name/empty-lines-at-end-of-document @@ -0,0 +1 @@ +../NHX8 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/empty-lines-between-mapping-elements b/tests/yaml-test-suite/name/empty-lines-between-mapping-elements new file mode 120000 index 0000000..23cfff7 --- /dev/null +++ b/tests/yaml-test-suite/name/empty-lines-between-mapping-elements @@ -0,0 +1 @@ +../J7VC \ No newline at end of file diff --git a/tests/yaml-test-suite/name/empty-stream b/tests/yaml-test-suite/name/empty-stream new file mode 120000 index 0000000..8fba3b7 --- /dev/null +++ b/tests/yaml-test-suite/name/empty-stream @@ -0,0 +1 @@ +../AVM7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/escaped-slash-in-double-quotes b/tests/yaml-test-suite/name/escaped-slash-in-double-quotes new file mode 120000 index 0000000..35e4601 --- /dev/null +++ b/tests/yaml-test-suite/name/escaped-slash-in-double-quotes @@ -0,0 +1 @@ +../3UYS \ No newline at end of file diff --git a/tests/yaml-test-suite/name/explicit-key-and-value-seperated-by-comment b/tests/yaml-test-suite/name/explicit-key-and-value-seperated-by-comment new file mode 120000 index 0000000..8f145fc --- /dev/null +++ b/tests/yaml-test-suite/name/explicit-key-and-value-seperated-by-comment @@ -0,0 +1 @@ +../X8DW \ No newline at end of file diff --git a/tests/yaml-test-suite/name/explicit-non-specific-tag b/tests/yaml-test-suite/name/explicit-non-specific-tag new file mode 120000 index 0000000..7256823 --- /dev/null +++ b/tests/yaml-test-suite/name/explicit-non-specific-tag @@ -0,0 +1 @@ +../8MK2 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/explicit-non-specific-tag-1-3 b/tests/yaml-test-suite/name/explicit-non-specific-tag-1-3 new file mode 120000 index 0000000..29bc647 --- /dev/null +++ b/tests/yaml-test-suite/name/explicit-non-specific-tag-1-3 @@ -0,0 +1 @@ +../52DL \ No newline at end of file diff --git a/tests/yaml-test-suite/name/extra-words-on-yaml-directive b/tests/yaml-test-suite/name/extra-words-on-yaml-directive new file mode 120000 index 0000000..9cac001 --- /dev/null +++ b/tests/yaml-test-suite/name/extra-words-on-yaml-directive @@ -0,0 +1 @@ +../H7TQ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-collections-over-many-lines b/tests/yaml-test-suite/name/flow-collections-over-many-lines new file mode 120000 index 0000000..9d76807 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-collections-over-many-lines @@ -0,0 +1 @@ +../VJP3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-mapping b/tests/yaml-test-suite/name/flow-mapping new file mode 120000 index 0000000..4997ec5 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-mapping @@ -0,0 +1 @@ +../54T7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-mapping-colon-on-line-after-key b/tests/yaml-test-suite/name/flow-mapping-colon-on-line-after-key new file mode 120000 index 0000000..43a3d11 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-mapping-colon-on-line-after-key @@ -0,0 +1 @@ +../4MUZ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-mapping-edge-cases b/tests/yaml-test-suite/name/flow-mapping-edge-cases new file mode 120000 index 0000000..b9a3359 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-mapping-edge-cases @@ -0,0 +1 @@ +../58MP \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-mapping-in-block-sequence b/tests/yaml-test-suite/name/flow-mapping-in-block-sequence new file mode 120000 index 0000000..9602190 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-mapping-in-block-sequence @@ -0,0 +1 @@ +../MXS3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-mapping-key-on-two-lines b/tests/yaml-test-suite/name/flow-mapping-key-on-two-lines new file mode 120000 index 0000000..b6b53a2 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-mapping-key-on-two-lines @@ -0,0 +1 @@ +../C2SP \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-mapping-missing-a-separating-comma b/tests/yaml-test-suite/name/flow-mapping-missing-a-separating-comma new file mode 120000 index 0000000..ab02164 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-mapping-missing-a-separating-comma @@ -0,0 +1 @@ +../T833 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-mapping-separate-values b/tests/yaml-test-suite/name/flow-mapping-separate-values new file mode 120000 index 0000000..f417c9e --- /dev/null +++ b/tests/yaml-test-suite/name/flow-mapping-separate-values @@ -0,0 +1 @@ +../4ABK \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-sequence b/tests/yaml-test-suite/name/flow-sequence new file mode 120000 index 0000000..38aa9f0 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-sequence @@ -0,0 +1 @@ +../DHP8 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-sequence-in-block-mapping b/tests/yaml-test-suite/name/flow-sequence-in-block-mapping new file mode 120000 index 0000000..5b2043e --- /dev/null +++ b/tests/yaml-test-suite/name/flow-sequence-in-block-mapping @@ -0,0 +1 @@ +../D88J \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-sequence-in-flow-mapping b/tests/yaml-test-suite/name/flow-sequence-in-flow-mapping new file mode 120000 index 0000000..f8412f4 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-sequence-in-flow-mapping @@ -0,0 +1 @@ +../SBG9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-sequence-in-flow-sequence b/tests/yaml-test-suite/name/flow-sequence-in-flow-sequence new file mode 120000 index 0000000..d8783d5 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-sequence-in-flow-sequence @@ -0,0 +1 @@ +../FUP4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-sequence-with-invalid-comma-at-the-beginning b/tests/yaml-test-suite/name/flow-sequence-with-invalid-comma-at-the-beginning new file mode 120000 index 0000000..f37da2d --- /dev/null +++ b/tests/yaml-test-suite/name/flow-sequence-with-invalid-comma-at-the-beginning @@ -0,0 +1 @@ +../9MAG \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-sequence-with-invalid-extra-closing-bracket b/tests/yaml-test-suite/name/flow-sequence-with-invalid-extra-closing-bracket new file mode 120000 index 0000000..6972f71 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-sequence-with-invalid-extra-closing-bracket @@ -0,0 +1 @@ +../4H7K \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-sequence-with-invalid-extra-comma b/tests/yaml-test-suite/name/flow-sequence-with-invalid-extra-comma new file mode 120000 index 0000000..52b7857 --- /dev/null +++ b/tests/yaml-test-suite/name/flow-sequence-with-invalid-extra-comma @@ -0,0 +1 @@ +../CTN5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/flow-sequence-without-closing-bracket b/tests/yaml-test-suite/name/flow-sequence-without-closing-bracket new file mode 120000 index 0000000..207d7ee --- /dev/null +++ b/tests/yaml-test-suite/name/flow-sequence-without-closing-bracket @@ -0,0 +1 @@ +../6JTT \ No newline at end of file diff --git a/tests/yaml-test-suite/name/folded-block-scalar b/tests/yaml-test-suite/name/folded-block-scalar new file mode 120000 index 0000000..32f2e0c --- /dev/null +++ b/tests/yaml-test-suite/name/folded-block-scalar @@ -0,0 +1 @@ +../TS54 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/folded-block-scalar-1-3 b/tests/yaml-test-suite/name/folded-block-scalar-1-3 new file mode 120000 index 0000000..99a74c9 --- /dev/null +++ b/tests/yaml-test-suite/name/folded-block-scalar-1-3 @@ -0,0 +1 @@ +../4Q9F \ No newline at end of file diff --git a/tests/yaml-test-suite/name/implicit-flow-mapping-key-on-one-line b/tests/yaml-test-suite/name/implicit-flow-mapping-key-on-one-line new file mode 120000 index 0000000..f917364 --- /dev/null +++ b/tests/yaml-test-suite/name/implicit-flow-mapping-key-on-one-line @@ -0,0 +1 @@ +../LX3P \ No newline at end of file diff --git a/tests/yaml-test-suite/name/implicit-key-followed-by-newline b/tests/yaml-test-suite/name/implicit-key-followed-by-newline new file mode 120000 index 0000000..2e8696d --- /dev/null +++ b/tests/yaml-test-suite/name/implicit-key-followed-by-newline @@ -0,0 +1 @@ +../DK4H \ No newline at end of file diff --git a/tests/yaml-test-suite/name/implicit-key-followed-by-newline-and-adjacent-value b/tests/yaml-test-suite/name/implicit-key-followed-by-newline-and-adjacent-value new file mode 120000 index 0000000..0e47753 --- /dev/null +++ b/tests/yaml-test-suite/name/implicit-key-followed-by-newline-and-adjacent-value @@ -0,0 +1 @@ +../ZXT5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/inline-tabs-in-double-quoted b/tests/yaml-test-suite/name/inline-tabs-in-double-quoted new file mode 120000 index 0000000..5676278 --- /dev/null +++ b/tests/yaml-test-suite/name/inline-tabs-in-double-quoted @@ -0,0 +1 @@ +../KH5V \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-anchor-in-zero-indented-sequence b/tests/yaml-test-suite/name/invalid-anchor-in-zero-indented-sequence new file mode 120000 index 0000000..b14987e --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-anchor-in-zero-indented-sequence @@ -0,0 +1 @@ +../G9HC \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-block-mapping-key-on-same-line-as-previous-key b/tests/yaml-test-suite/name/invalid-block-mapping-key-on-same-line-as-previous-key new file mode 120000 index 0000000..bc304b5 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-block-mapping-key-on-same-line-as-previous-key @@ -0,0 +1 @@ +../62EZ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-comma-in-tag b/tests/yaml-test-suite/name/invalid-comma-in-tag new file mode 120000 index 0000000..ba5c8bb --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-comma-in-tag @@ -0,0 +1 @@ +../U99R \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-comment-after-comma b/tests/yaml-test-suite/name/invalid-comment-after-comma new file mode 120000 index 0000000..9b2337f --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-comment-after-comma @@ -0,0 +1 @@ +../CVW2 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-comment-after-end-of-flow-sequence b/tests/yaml-test-suite/name/invalid-comment-after-end-of-flow-sequence new file mode 120000 index 0000000..015afca --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-comment-after-end-of-flow-sequence @@ -0,0 +1 @@ +../9JBA \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-content-after-document-end-marker b/tests/yaml-test-suite/name/invalid-content-after-document-end-marker new file mode 120000 index 0000000..f4ccbca --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-content-after-document-end-marker @@ -0,0 +1 @@ +../3HFZ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-document-end-marker-in-single-quoted-string b/tests/yaml-test-suite/name/invalid-document-end-marker-in-single-quoted-string new file mode 120000 index 0000000..5ce9ce6 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-document-end-marker-in-single-quoted-string @@ -0,0 +1 @@ +../RXY3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-document-markers-in-flow-style b/tests/yaml-test-suite/name/invalid-document-markers-in-flow-style new file mode 120000 index 0000000..5511fe4 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-document-markers-in-flow-style @@ -0,0 +1 @@ +../N782 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-document-start-marker-in-doublequoted-tring b/tests/yaml-test-suite/name/invalid-document-start-marker-in-doublequoted-tring new file mode 120000 index 0000000..ab64f82 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-document-start-marker-in-doublequoted-tring @@ -0,0 +1 @@ +../5TRB \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-escape-in-double-quoted-string b/tests/yaml-test-suite/name/invalid-escape-in-double-quoted-string new file mode 120000 index 0000000..8d2be55 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-escape-in-double-quoted-string @@ -0,0 +1 @@ +../55WF \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-item-after-end-of-flow-sequence b/tests/yaml-test-suite/name/invalid-item-after-end-of-flow-sequence new file mode 120000 index 0000000..65df031 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-item-after-end-of-flow-sequence @@ -0,0 +1 @@ +../KS4U \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-mapping-after-sequence b/tests/yaml-test-suite/name/invalid-mapping-after-sequence new file mode 120000 index 0000000..00bdd64 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-mapping-after-sequence @@ -0,0 +1 @@ +../BD7L \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-mapping-in-plain-multiline b/tests/yaml-test-suite/name/invalid-mapping-in-plain-multiline new file mode 120000 index 0000000..ab3ade0 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-mapping-in-plain-multiline @@ -0,0 +1 @@ +../2CMS \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-mapping-in-plain-scalar b/tests/yaml-test-suite/name/invalid-mapping-in-plain-scalar new file mode 120000 index 0000000..e4b2eea --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-mapping-in-plain-scalar @@ -0,0 +1 @@ +../HU3P \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-mapping-in-plain-single-line-value b/tests/yaml-test-suite/name/invalid-mapping-in-plain-single-line-value new file mode 120000 index 0000000..9cbefb9 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-mapping-in-plain-single-line-value @@ -0,0 +1 @@ +../ZCZ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-nested-mapping b/tests/yaml-test-suite/name/invalid-nested-mapping new file mode 120000 index 0000000..bf52dd3 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-nested-mapping @@ -0,0 +1 @@ +../ZL4Z \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-scalar-after-sequence b/tests/yaml-test-suite/name/invalid-scalar-after-sequence new file mode 120000 index 0000000..66e95b5 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-scalar-after-sequence @@ -0,0 +1 @@ +../TD5N \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-scalar-at-the-end-of-mapping b/tests/yaml-test-suite/name/invalid-scalar-at-the-end-of-mapping new file mode 120000 index 0000000..cd95136 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-scalar-at-the-end-of-mapping @@ -0,0 +1 @@ +../9CWY \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-scalar-at-the-end-of-sequence b/tests/yaml-test-suite/name/invalid-scalar-at-the-end-of-sequence new file mode 120000 index 0000000..ff40964 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-scalar-at-the-end-of-sequence @@ -0,0 +1 @@ +../6S55 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-sequene-item-on-same-line-as-previous-item b/tests/yaml-test-suite/name/invalid-sequene-item-on-same-line-as-previous-item new file mode 120000 index 0000000..56e913c --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-sequene-item-on-same-line-as-previous-item @@ -0,0 +1 @@ +../P2EQ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-tabs-as-indendation-in-a-mapping b/tests/yaml-test-suite/name/invalid-tabs-as-indendation-in-a-mapping new file mode 120000 index 0000000..6d69cc7 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-tabs-as-indendation-in-a-mapping @@ -0,0 +1 @@ +../4EJS \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-tag b/tests/yaml-test-suite/name/invalid-tag new file mode 120000 index 0000000..86519c9 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-tag @@ -0,0 +1 @@ +../LHL4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-text-after-block-scalar-indicator b/tests/yaml-test-suite/name/invalid-text-after-block-scalar-indicator new file mode 120000 index 0000000..eb6ae1e --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-text-after-block-scalar-indicator @@ -0,0 +1 @@ +../S4GJ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/invalid-value-after-mapping b/tests/yaml-test-suite/name/invalid-value-after-mapping new file mode 120000 index 0000000..b0ebc34 --- /dev/null +++ b/tests/yaml-test-suite/name/invalid-value-after-mapping @@ -0,0 +1 @@ +../236B \ No newline at end of file diff --git a/tests/yaml-test-suite/name/key-with-anchor-after-missing-explicit-mapping-value b/tests/yaml-test-suite/name/key-with-anchor-after-missing-explicit-mapping-value new file mode 120000 index 0000000..95b57a8 --- /dev/null +++ b/tests/yaml-test-suite/name/key-with-anchor-after-missing-explicit-mapping-value @@ -0,0 +1 @@ +../ZWK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/leading-tab-content-in-literals b/tests/yaml-test-suite/name/leading-tab-content-in-literals new file mode 120000 index 0000000..ef0e8a3 --- /dev/null +++ b/tests/yaml-test-suite/name/leading-tab-content-in-literals @@ -0,0 +1 @@ +../96NN \ No newline at end of file diff --git a/tests/yaml-test-suite/name/leading-tabs-in-double-quoted b/tests/yaml-test-suite/name/leading-tabs-in-double-quoted new file mode 120000 index 0000000..707a44f --- /dev/null +++ b/tests/yaml-test-suite/name/leading-tabs-in-double-quoted @@ -0,0 +1 @@ +../3RLN \ No newline at end of file diff --git a/tests/yaml-test-suite/name/legal-tab-after-indentation b/tests/yaml-test-suite/name/legal-tab-after-indentation new file mode 120000 index 0000000..c5741b8 --- /dev/null +++ b/tests/yaml-test-suite/name/legal-tab-after-indentation @@ -0,0 +1 @@ +../UV7Q \ No newline at end of file diff --git a/tests/yaml-test-suite/name/literal-block-scalar b/tests/yaml-test-suite/name/literal-block-scalar new file mode 120000 index 0000000..438df4a --- /dev/null +++ b/tests/yaml-test-suite/name/literal-block-scalar @@ -0,0 +1 @@ +../M29M \ No newline at end of file diff --git a/tests/yaml-test-suite/name/literal-block-scalar-with-more-spaces-in-first-line b/tests/yaml-test-suite/name/literal-block-scalar-with-more-spaces-in-first-line new file mode 120000 index 0000000..242746f --- /dev/null +++ b/tests/yaml-test-suite/name/literal-block-scalar-with-more-spaces-in-first-line @@ -0,0 +1 @@ +../W9L4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/literal-modifers b/tests/yaml-test-suite/name/literal-modifers new file mode 120000 index 0000000..6217fbc --- /dev/null +++ b/tests/yaml-test-suite/name/literal-modifers @@ -0,0 +1 @@ +../2G84 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/literal-scalars b/tests/yaml-test-suite/name/literal-scalars new file mode 120000 index 0000000..f200a15 --- /dev/null +++ b/tests/yaml-test-suite/name/literal-scalars @@ -0,0 +1 @@ +../4WA9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/literal-unicode b/tests/yaml-test-suite/name/literal-unicode new file mode 120000 index 0000000..4bbee7e --- /dev/null +++ b/tests/yaml-test-suite/name/literal-unicode @@ -0,0 +1 @@ +../H3Z8 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/lookahead-test-cases b/tests/yaml-test-suite/name/lookahead-test-cases new file mode 120000 index 0000000..64ef2a8 --- /dev/null +++ b/tests/yaml-test-suite/name/lookahead-test-cases @@ -0,0 +1 @@ +../AZW3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/mapping-key-and-flow-sequence-item-anchors b/tests/yaml-test-suite/name/mapping-key-and-flow-sequence-item-anchors new file mode 120000 index 0000000..0709181 --- /dev/null +++ b/tests/yaml-test-suite/name/mapping-key-and-flow-sequence-item-anchors @@ -0,0 +1 @@ +../6BFJ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/mapping-starting-at-line b/tests/yaml-test-suite/name/mapping-starting-at-line new file mode 120000 index 0000000..0776343 --- /dev/null +++ b/tests/yaml-test-suite/name/mapping-starting-at-line @@ -0,0 +1 @@ +../9KBC \ No newline at end of file diff --git a/tests/yaml-test-suite/name/mapping-with-anchor-on-document-start-line b/tests/yaml-test-suite/name/mapping-with-anchor-on-document-start-line new file mode 120000 index 0000000..c36bdda --- /dev/null +++ b/tests/yaml-test-suite/name/mapping-with-anchor-on-document-start-line @@ -0,0 +1 @@ +../CXX2 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/missing-colon b/tests/yaml-test-suite/name/missing-colon new file mode 120000 index 0000000..35a9116 --- /dev/null +++ b/tests/yaml-test-suite/name/missing-colon @@ -0,0 +1 @@ +../7MNF \ No newline at end of file diff --git a/tests/yaml-test-suite/name/missing-comma-in-flow b/tests/yaml-test-suite/name/missing-comma-in-flow new file mode 120000 index 0000000..9df7918 --- /dev/null +++ b/tests/yaml-test-suite/name/missing-comma-in-flow @@ -0,0 +1 @@ +../CML9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/missing-document-end-marker-before-directive b/tests/yaml-test-suite/name/missing-document-end-marker-before-directive new file mode 120000 index 0000000..d3bb987 --- /dev/null +++ b/tests/yaml-test-suite/name/missing-document-end-marker-before-directive @@ -0,0 +1 @@ +../EB22 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/mixed-block-mapping-explicit-to-implicit b/tests/yaml-test-suite/name/mixed-block-mapping-explicit-to-implicit new file mode 120000 index 0000000..c679e13 --- /dev/null +++ b/tests/yaml-test-suite/name/mixed-block-mapping-explicit-to-implicit @@ -0,0 +1 @@ +../GH63 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/mixed-block-mapping-implicit-to-explicit b/tests/yaml-test-suite/name/mixed-block-mapping-implicit-to-explicit new file mode 120000 index 0000000..218cb46 --- /dev/null +++ b/tests/yaml-test-suite/name/mixed-block-mapping-implicit-to-explicit @@ -0,0 +1 @@ +../RR7F \ No newline at end of file diff --git a/tests/yaml-test-suite/name/more-indented-lines-at-the-beginning-of-folded-block-scalars b/tests/yaml-test-suite/name/more-indented-lines-at-the-beginning-of-folded-block-scalars new file mode 120000 index 0000000..dd6dc60 --- /dev/null +++ b/tests/yaml-test-suite/name/more-indented-lines-at-the-beginning-of-folded-block-scalars @@ -0,0 +1 @@ +../F6MC \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multi-level-mapping-indent b/tests/yaml-test-suite/name/multi-level-mapping-indent new file mode 120000 index 0000000..3160c55 --- /dev/null +++ b/tests/yaml-test-suite/name/multi-level-mapping-indent @@ -0,0 +1 @@ +../9FMG \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-double-quoted-flow-mapping-key b/tests/yaml-test-suite/name/multiline-double-quoted-flow-mapping-key new file mode 120000 index 0000000..406346a --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-double-quoted-flow-mapping-key @@ -0,0 +1 @@ +../9SA2 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-double-quoted-implicit-keys b/tests/yaml-test-suite/name/multiline-double-quoted-implicit-keys new file mode 120000 index 0000000..d3557c6 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-double-quoted-implicit-keys @@ -0,0 +1 @@ +../7LBH \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-doublequoted-flow-mapping-key-without-value b/tests/yaml-test-suite/name/multiline-doublequoted-flow-mapping-key-without-value new file mode 120000 index 0000000..a11dbb4 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-doublequoted-flow-mapping-key-without-value @@ -0,0 +1 @@ +../9BXH \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-implicit-keys b/tests/yaml-test-suite/name/multiline-implicit-keys new file mode 120000 index 0000000..f7da403 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-implicit-keys @@ -0,0 +1 @@ +../G7JE \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-plain-flow-mapping-key b/tests/yaml-test-suite/name/multiline-plain-flow-mapping-key new file mode 120000 index 0000000..9d0f7c7 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-plain-flow-mapping-key @@ -0,0 +1 @@ +../NJ66 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-plain-flow-mapping-key-without-value b/tests/yaml-test-suite/name/multiline-plain-flow-mapping-key-without-value new file mode 120000 index 0000000..ce8c8f4 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-plain-flow-mapping-key-without-value @@ -0,0 +1 @@ +../8KB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-plain-scalar-with-empty-line b/tests/yaml-test-suite/name/multiline-plain-scalar-with-empty-line new file mode 120000 index 0000000..03aa87f --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-plain-scalar-with-empty-line @@ -0,0 +1 @@ +../36F6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-plain-value-with-tabs-on-empty-lines b/tests/yaml-test-suite/name/multiline-plain-value-with-tabs-on-empty-lines new file mode 120000 index 0000000..37285f4 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-plain-value-with-tabs-on-empty-lines @@ -0,0 +1 @@ +../NB6Z \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-scalar-at-top-level b/tests/yaml-test-suite/name/multiline-scalar-at-top-level new file mode 120000 index 0000000..aa4c593 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-scalar-at-top-level @@ -0,0 +1 @@ +../9YRD \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-scalar-at-top-level-1-3 b/tests/yaml-test-suite/name/multiline-scalar-at-top-level-1-3 new file mode 120000 index 0000000..0578eaa --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-scalar-at-top-level-1-3 @@ -0,0 +1 @@ +../EX5H \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-scalar-in-mapping b/tests/yaml-test-suite/name/multiline-scalar-in-mapping new file mode 120000 index 0000000..8662a7d --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-scalar-in-mapping @@ -0,0 +1 @@ +../A984 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-scalar-that-looks-like-a-yaml-directive b/tests/yaml-test-suite/name/multiline-scalar-that-looks-like-a-yaml-directive new file mode 120000 index 0000000..54aabc5 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-scalar-that-looks-like-a-yaml-directive @@ -0,0 +1 @@ +../XLQ9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-single-quoted-implicit-keys b/tests/yaml-test-suite/name/multiline-single-quoted-implicit-keys new file mode 120000 index 0000000..a652f6b --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-single-quoted-implicit-keys @@ -0,0 +1 @@ +../D49Q \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiline-unidented-double-quoted-block-key b/tests/yaml-test-suite/name/multiline-unidented-double-quoted-block-key new file mode 120000 index 0000000..6ce5cd6 --- /dev/null +++ b/tests/yaml-test-suite/name/multiline-unidented-double-quoted-block-key @@ -0,0 +1 @@ +../JKF3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiple-entry-block-sequence b/tests/yaml-test-suite/name/multiple-entry-block-sequence new file mode 120000 index 0000000..1f990f7 --- /dev/null +++ b/tests/yaml-test-suite/name/multiple-entry-block-sequence @@ -0,0 +1 @@ +../K4SU \ No newline at end of file diff --git a/tests/yaml-test-suite/name/multiple-pair-block-mapping b/tests/yaml-test-suite/name/multiple-pair-block-mapping new file mode 120000 index 0000000..cfb8d01 --- /dev/null +++ b/tests/yaml-test-suite/name/multiple-pair-block-mapping @@ -0,0 +1 @@ +../J5UC \ No newline at end of file diff --git a/tests/yaml-test-suite/name/need-document-footer-before-directives b/tests/yaml-test-suite/name/need-document-footer-before-directives new file mode 120000 index 0000000..ce19581 --- /dev/null +++ b/tests/yaml-test-suite/name/need-document-footer-before-directives @@ -0,0 +1 @@ +../9HCY \ No newline at end of file diff --git a/tests/yaml-test-suite/name/nested-flow-collections b/tests/yaml-test-suite/name/nested-flow-collections new file mode 120000 index 0000000..4f4817c --- /dev/null +++ b/tests/yaml-test-suite/name/nested-flow-collections @@ -0,0 +1 @@ +../M7NX \ No newline at end of file diff --git a/tests/yaml-test-suite/name/nested-flow-collections-on-one-line b/tests/yaml-test-suite/name/nested-flow-collections-on-one-line new file mode 120000 index 0000000..ab99e1f --- /dev/null +++ b/tests/yaml-test-suite/name/nested-flow-collections-on-one-line @@ -0,0 +1 @@ +../F3CP \ No newline at end of file diff --git a/tests/yaml-test-suite/name/nested-flow-mapping-sequence-and-mappings b/tests/yaml-test-suite/name/nested-flow-mapping-sequence-and-mappings new file mode 120000 index 0000000..183060c --- /dev/null +++ b/tests/yaml-test-suite/name/nested-flow-mapping-sequence-and-mappings @@ -0,0 +1 @@ +../R52L \ No newline at end of file diff --git a/tests/yaml-test-suite/name/nested-implicit-complex-keys b/tests/yaml-test-suite/name/nested-implicit-complex-keys new file mode 120000 index 0000000..2d667bf --- /dev/null +++ b/tests/yaml-test-suite/name/nested-implicit-complex-keys @@ -0,0 +1 @@ +../4FJ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/nested-top-level-flow-mapping b/tests/yaml-test-suite/name/nested-top-level-flow-mapping new file mode 120000 index 0000000..48baf01 --- /dev/null +++ b/tests/yaml-test-suite/name/nested-top-level-flow-mapping @@ -0,0 +1 @@ +../ZK9H \ No newline at end of file diff --git a/tests/yaml-test-suite/name/node-anchor-and-tag-on-seperate-lines b/tests/yaml-test-suite/name/node-anchor-and-tag-on-seperate-lines new file mode 120000 index 0000000..385f4f1 --- /dev/null +++ b/tests/yaml-test-suite/name/node-anchor-and-tag-on-seperate-lines @@ -0,0 +1 @@ +../BU8L \ No newline at end of file diff --git a/tests/yaml-test-suite/name/node-anchor-in-sequence b/tests/yaml-test-suite/name/node-anchor-in-sequence new file mode 120000 index 0000000..8c9dde1 --- /dev/null +++ b/tests/yaml-test-suite/name/node-anchor-in-sequence @@ -0,0 +1 @@ +../GT5M \ No newline at end of file diff --git a/tests/yaml-test-suite/name/node-anchor-not-indented b/tests/yaml-test-suite/name/node-anchor-not-indented new file mode 120000 index 0000000..e524cce --- /dev/null +++ b/tests/yaml-test-suite/name/node-anchor-not-indented @@ -0,0 +1 @@ +../H7J7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/node-and-mapping-key-anchors b/tests/yaml-test-suite/name/node-and-mapping-key-anchors new file mode 120000 index 0000000..531c0bb --- /dev/null +++ b/tests/yaml-test-suite/name/node-and-mapping-key-anchors @@ -0,0 +1 @@ +../U3XV \ No newline at end of file diff --git a/tests/yaml-test-suite/name/node-and-mapping-key-anchors-1-3 b/tests/yaml-test-suite/name/node-and-mapping-key-anchors-1-3 new file mode 120000 index 0000000..33f1084 --- /dev/null +++ b/tests/yaml-test-suite/name/node-and-mapping-key-anchors-1-3 @@ -0,0 +1 @@ +../7BMT \ No newline at end of file diff --git a/tests/yaml-test-suite/name/non-specific-tags-on-scalars b/tests/yaml-test-suite/name/non-specific-tags-on-scalars new file mode 120000 index 0000000..c88b483 --- /dev/null +++ b/tests/yaml-test-suite/name/non-specific-tags-on-scalars @@ -0,0 +1 @@ +../MZX3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/plain-dashes-in-flow-sequence b/tests/yaml-test-suite/name/plain-dashes-in-flow-sequence new file mode 120000 index 0000000..909440a --- /dev/null +++ b/tests/yaml-test-suite/name/plain-dashes-in-flow-sequence @@ -0,0 +1 @@ +../G5U8 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/plain-mapping-key-ending-with-colon b/tests/yaml-test-suite/name/plain-mapping-key-ending-with-colon new file mode 120000 index 0000000..72e1a2d --- /dev/null +++ b/tests/yaml-test-suite/name/plain-mapping-key-ending-with-colon @@ -0,0 +1 @@ +../8CWC \ No newline at end of file diff --git a/tests/yaml-test-suite/name/plain-scalar-looking-like-key-comment-anchor-and-tag b/tests/yaml-test-suite/name/plain-scalar-looking-like-key-comment-anchor-and-tag new file mode 120000 index 0000000..98879b5 --- /dev/null +++ b/tests/yaml-test-suite/name/plain-scalar-looking-like-key-comment-anchor-and-tag @@ -0,0 +1 @@ +../3MYT \ No newline at end of file diff --git a/tests/yaml-test-suite/name/plain-scalar-with-backslashes b/tests/yaml-test-suite/name/plain-scalar-with-backslashes new file mode 120000 index 0000000..091acc0 --- /dev/null +++ b/tests/yaml-test-suite/name/plain-scalar-with-backslashes @@ -0,0 +1 @@ +../4V8U \ No newline at end of file diff --git a/tests/yaml-test-suite/name/plain-url-in-flow-mapping b/tests/yaml-test-suite/name/plain-url-in-flow-mapping new file mode 120000 index 0000000..bab8a9a --- /dev/null +++ b/tests/yaml-test-suite/name/plain-url-in-flow-mapping @@ -0,0 +1 @@ +../UDM2 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/question-mark-at-start-of-flow-key b/tests/yaml-test-suite/name/question-mark-at-start-of-flow-key new file mode 120000 index 0000000..3799295 --- /dev/null +++ b/tests/yaml-test-suite/name/question-mark-at-start-of-flow-key @@ -0,0 +1 @@ +../652Z \ No newline at end of file diff --git a/tests/yaml-test-suite/name/question-mark-edge-cases b/tests/yaml-test-suite/name/question-mark-edge-cases new file mode 120000 index 0000000..c7c99f3 --- /dev/null +++ b/tests/yaml-test-suite/name/question-mark-edge-cases @@ -0,0 +1 @@ +../M2N8 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/question-marks-in-scalars b/tests/yaml-test-suite/name/question-marks-in-scalars new file mode 120000 index 0000000..4080881 --- /dev/null +++ b/tests/yaml-test-suite/name/question-marks-in-scalars @@ -0,0 +1 @@ +../JR7V \ No newline at end of file diff --git a/tests/yaml-test-suite/name/scalar-doc-with-in-content b/tests/yaml-test-suite/name/scalar-doc-with-in-content new file mode 120000 index 0000000..c1fa485 --- /dev/null +++ b/tests/yaml-test-suite/name/scalar-doc-with-in-content @@ -0,0 +1 @@ +../9MQT \ No newline at end of file diff --git a/tests/yaml-test-suite/name/scalar-value-with-two-anchors b/tests/yaml-test-suite/name/scalar-value-with-two-anchors new file mode 120000 index 0000000..2dfb743 --- /dev/null +++ b/tests/yaml-test-suite/name/scalar-value-with-two-anchors @@ -0,0 +1 @@ +../4JVG \ No newline at end of file diff --git a/tests/yaml-test-suite/name/scalars-in-flow-start-with-syntax-char b/tests/yaml-test-suite/name/scalars-in-flow-start-with-syntax-char new file mode 120000 index 0000000..2d9eae6 --- /dev/null +++ b/tests/yaml-test-suite/name/scalars-in-flow-start-with-syntax-char @@ -0,0 +1 @@ +../HM87 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/scalars-on-line b/tests/yaml-test-suite/name/scalars-on-line new file mode 120000 index 0000000..eff6573 --- /dev/null +++ b/tests/yaml-test-suite/name/scalars-on-line @@ -0,0 +1 @@ +../KSS4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/sequence-entry-that-looks-like-two-with-wrong-indentation b/tests/yaml-test-suite/name/sequence-entry-that-looks-like-two-with-wrong-indentation new file mode 120000 index 0000000..ab03bde --- /dev/null +++ b/tests/yaml-test-suite/name/sequence-entry-that-looks-like-two-with-wrong-indentation @@ -0,0 +1 @@ +../AB8U \ No newline at end of file diff --git a/tests/yaml-test-suite/name/sequence-indent b/tests/yaml-test-suite/name/sequence-indent new file mode 120000 index 0000000..5944b49 --- /dev/null +++ b/tests/yaml-test-suite/name/sequence-indent @@ -0,0 +1 @@ +../RLU9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/sequence-on-same-line-as-mapping-key b/tests/yaml-test-suite/name/sequence-on-same-line-as-mapping-key new file mode 120000 index 0000000..bfda20e --- /dev/null +++ b/tests/yaml-test-suite/name/sequence-on-same-line-as-mapping-key @@ -0,0 +1 @@ +../5U3A \ No newline at end of file diff --git a/tests/yaml-test-suite/name/sequence-with-same-indentation-as-parent-mapping b/tests/yaml-test-suite/name/sequence-with-same-indentation-as-parent-mapping new file mode 120000 index 0000000..6a48262 --- /dev/null +++ b/tests/yaml-test-suite/name/sequence-with-same-indentation-as-parent-mapping @@ -0,0 +1 @@ +../AZ63 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/simple-mapping-indent b/tests/yaml-test-suite/name/simple-mapping-indent new file mode 120000 index 0000000..e47c4bb --- /dev/null +++ b/tests/yaml-test-suite/name/simple-mapping-indent @@ -0,0 +1 @@ +../9J7A \ No newline at end of file diff --git a/tests/yaml-test-suite/name/single-block-sequence-with-anchor b/tests/yaml-test-suite/name/single-block-sequence-with-anchor new file mode 120000 index 0000000..9fc9c35 --- /dev/null +++ b/tests/yaml-test-suite/name/single-block-sequence-with-anchor @@ -0,0 +1 @@ +../3R3P \ No newline at end of file diff --git a/tests/yaml-test-suite/name/single-block-sequence-with-anchor-and-explicit-document-start b/tests/yaml-test-suite/name/single-block-sequence-with-anchor-and-explicit-document-start new file mode 120000 index 0000000..0cf8453 --- /dev/null +++ b/tests/yaml-test-suite/name/single-block-sequence-with-anchor-and-explicit-document-start @@ -0,0 +1 @@ +../FTA2 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/single-character-streams b/tests/yaml-test-suite/name/single-character-streams new file mode 120000 index 0000000..2efc83e --- /dev/null +++ b/tests/yaml-test-suite/name/single-character-streams @@ -0,0 +1 @@ +../SM9W \ No newline at end of file diff --git a/tests/yaml-test-suite/name/single-entry-block-sequence b/tests/yaml-test-suite/name/single-entry-block-sequence new file mode 120000 index 0000000..6dd364d --- /dev/null +++ b/tests/yaml-test-suite/name/single-entry-block-sequence @@ -0,0 +1 @@ +../65WH \ No newline at end of file diff --git a/tests/yaml-test-suite/name/single-pair-block-mapping b/tests/yaml-test-suite/name/single-pair-block-mapping new file mode 120000 index 0000000..61add3c --- /dev/null +++ b/tests/yaml-test-suite/name/single-pair-block-mapping @@ -0,0 +1 @@ +../D9TU \ No newline at end of file diff --git a/tests/yaml-test-suite/name/single-pair-implicit-entries b/tests/yaml-test-suite/name/single-pair-implicit-entries new file mode 120000 index 0000000..6859437 --- /dev/null +++ b/tests/yaml-test-suite/name/single-pair-implicit-entries @@ -0,0 +1 @@ +../9MMW \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-1-sequence-of-scalars b/tests/yaml-test-suite/name/spec-example-2-1-sequence-of-scalars new file mode 120000 index 0000000..114f338 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-1-sequence-of-scalars @@ -0,0 +1 @@ +../FQ7F \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document b/tests/yaml-test-suite/name/spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document new file mode 120000 index 0000000..8a822d9 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-10-node-for-sammy-sosa-appears-twice-in-this-document @@ -0,0 +1 @@ +../7BUB \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-11-mapping-between-sequences b/tests/yaml-test-suite/name/spec-example-2-11-mapping-between-sequences new file mode 120000 index 0000000..6d92da4 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-11-mapping-between-sequences @@ -0,0 +1 @@ +../M5DY \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-12-compact-nested-mapping b/tests/yaml-test-suite/name/spec-example-2-12-compact-nested-mapping new file mode 120000 index 0000000..ef1515f --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-12-compact-nested-mapping @@ -0,0 +1 @@ +../9U5K \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-13-in-literals-newlines-are-preserved b/tests/yaml-test-suite/name/spec-example-2-13-in-literals-newlines-are-preserved new file mode 120000 index 0000000..adee0e8 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-13-in-literals-newlines-are-preserved @@ -0,0 +1 @@ +../6JQW \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-14-in-the-folded-scalars-newlines-become-spaces b/tests/yaml-test-suite/name/spec-example-2-14-in-the-folded-scalars-newlines-become-spaces new file mode 120000 index 0000000..8d43cc4 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-14-in-the-folded-scalars-newlines-become-spaces @@ -0,0 +1 @@ +../96L6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines b/tests/yaml-test-suite/name/spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines new file mode 120000 index 0000000..d73c635 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-15-folded-newlines-are-preserved-for-more-indented-and-blank-lines @@ -0,0 +1 @@ +../6VJK \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-16-indentation-determines-scope b/tests/yaml-test-suite/name/spec-example-2-16-indentation-determines-scope new file mode 120000 index 0000000..645ed4b --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-16-indentation-determines-scope @@ -0,0 +1 @@ +../HMK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-17-quoted-scalars b/tests/yaml-test-suite/name/spec-example-2-17-quoted-scalars new file mode 120000 index 0000000..b73f008 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-17-quoted-scalars @@ -0,0 +1 @@ +../G4RS \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-18-multi-line-flow-scalars b/tests/yaml-test-suite/name/spec-example-2-18-multi-line-flow-scalars new file mode 120000 index 0000000..05c5a80 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-18-multi-line-flow-scalars @@ -0,0 +1 @@ +../4CQQ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-2-mapping-scalars-to-scalars b/tests/yaml-test-suite/name/spec-example-2-2-mapping-scalars-to-scalars new file mode 120000 index 0000000..b2bf910 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-2-mapping-scalars-to-scalars @@ -0,0 +1 @@ +../SYW4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-24-global-tags b/tests/yaml-test-suite/name/spec-example-2-24-global-tags new file mode 120000 index 0000000..bc14f24 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-24-global-tags @@ -0,0 +1 @@ +../C4HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-25-unordered-sets b/tests/yaml-test-suite/name/spec-example-2-25-unordered-sets new file mode 120000 index 0000000..d048e1c --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-25-unordered-sets @@ -0,0 +1 @@ +../2XXW \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-26-ordered-mappings b/tests/yaml-test-suite/name/spec-example-2-26-ordered-mappings new file mode 120000 index 0000000..15f9fb1 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-26-ordered-mappings @@ -0,0 +1 @@ +../J7PZ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-27-invoice b/tests/yaml-test-suite/name/spec-example-2-27-invoice new file mode 120000 index 0000000..fb20621 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-27-invoice @@ -0,0 +1 @@ +../UGM3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-28-log-file b/tests/yaml-test-suite/name/spec-example-2-28-log-file new file mode 120000 index 0000000..93e2605 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-28-log-file @@ -0,0 +1 @@ +../RZT7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-3-mapping-scalars-to-sequences b/tests/yaml-test-suite/name/spec-example-2-3-mapping-scalars-to-sequences new file mode 120000 index 0000000..b02b926 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-3-mapping-scalars-to-sequences @@ -0,0 +1 @@ +../PBJ2 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-4-sequence-of-mappings b/tests/yaml-test-suite/name/spec-example-2-4-sequence-of-mappings new file mode 120000 index 0000000..67383ef --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-4-sequence-of-mappings @@ -0,0 +1 @@ +../229Q \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-5-sequence-of-sequences b/tests/yaml-test-suite/name/spec-example-2-5-sequence-of-sequences new file mode 120000 index 0000000..b522e10 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-5-sequence-of-sequences @@ -0,0 +1 @@ +../YD5X \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-6-mapping-of-mappings b/tests/yaml-test-suite/name/spec-example-2-6-mapping-of-mappings new file mode 120000 index 0000000..8b86f92 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-6-mapping-of-mappings @@ -0,0 +1 @@ +../ZF4X \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-7-two-documents-in-a-stream b/tests/yaml-test-suite/name/spec-example-2-7-two-documents-in-a-stream new file mode 120000 index 0000000..3850b3f --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-7-two-documents-in-a-stream @@ -0,0 +1 @@ +../JHB9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-8-play-by-play-feed-from-a-game b/tests/yaml-test-suite/name/spec-example-2-8-play-by-play-feed-from-a-game new file mode 120000 index 0000000..eb17f9d --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-8-play-by-play-feed-from-a-game @@ -0,0 +1 @@ +../U9NS \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-2-9-single-document-with-two-comments b/tests/yaml-test-suite/name/spec-example-2-9-single-document-with-two-comments new file mode 120000 index 0000000..6c3aa92 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-2-9-single-document-with-two-comments @@ -0,0 +1 @@ +../J9HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-5-12-tabs-and-spaces b/tests/yaml-test-suite/name/spec-example-5-12-tabs-and-spaces new file mode 120000 index 0000000..4b731b3 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-5-12-tabs-and-spaces @@ -0,0 +1 @@ +../J3BT \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-5-3-block-structure-indicators b/tests/yaml-test-suite/name/spec-example-5-3-block-structure-indicators new file mode 120000 index 0000000..438a088 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-5-3-block-structure-indicators @@ -0,0 +1 @@ +../S9E8 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-5-4-flow-collection-indicators b/tests/yaml-test-suite/name/spec-example-5-4-flow-collection-indicators new file mode 120000 index 0000000..ed7cd7d --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-5-4-flow-collection-indicators @@ -0,0 +1 @@ +../UDR7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-5-5-comment-indicator b/tests/yaml-test-suite/name/spec-example-5-5-comment-indicator new file mode 120000 index 0000000..7c6ba2a --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-5-5-comment-indicator @@ -0,0 +1 @@ +../98YD \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-5-6-node-property-indicators b/tests/yaml-test-suite/name/spec-example-5-6-node-property-indicators new file mode 120000 index 0000000..1f46540 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-5-6-node-property-indicators @@ -0,0 +1 @@ +../CUP7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-5-7-block-scalar-indicators b/tests/yaml-test-suite/name/spec-example-5-7-block-scalar-indicators new file mode 120000 index 0000000..130a2b3 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-5-7-block-scalar-indicators @@ -0,0 +1 @@ +../5BVJ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-5-8-quoted-scalar-indicators b/tests/yaml-test-suite/name/spec-example-5-8-quoted-scalar-indicators new file mode 120000 index 0000000..dc5059f --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-5-8-quoted-scalar-indicators @@ -0,0 +1 @@ +../9SHH \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-5-9-directive-indicator b/tests/yaml-test-suite/name/spec-example-5-9-directive-indicator new file mode 120000 index 0000000..12c8144 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-5-9-directive-indicator @@ -0,0 +1 @@ +../27NA \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-1-indentation-spaces b/tests/yaml-test-suite/name/spec-example-6-1-indentation-spaces new file mode 120000 index 0000000..9e08c99 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-1-indentation-spaces @@ -0,0 +1 @@ +../6HB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-10-comment-lines b/tests/yaml-test-suite/name/spec-example-6-10-comment-lines new file mode 120000 index 0000000..f306842 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-10-comment-lines @@ -0,0 +1 @@ +../8G76 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-11-multi-line-comments b/tests/yaml-test-suite/name/spec-example-6-11-multi-line-comments new file mode 120000 index 0000000..f978e69 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-11-multi-line-comments @@ -0,0 +1 @@ +../P94K \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-12-separation-spaces b/tests/yaml-test-suite/name/spec-example-6-12-separation-spaces new file mode 120000 index 0000000..11daddc --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-12-separation-spaces @@ -0,0 +1 @@ +../Q9WF \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-13-reserved-directives b/tests/yaml-test-suite/name/spec-example-6-13-reserved-directives new file mode 120000 index 0000000..32aecbd --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-13-reserved-directives @@ -0,0 +1 @@ +../6LVF \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-13-reserved-directives-1-3 b/tests/yaml-test-suite/name/spec-example-6-13-reserved-directives-1-3 new file mode 120000 index 0000000..64633fa --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-13-reserved-directives-1-3 @@ -0,0 +1 @@ +../2LFX \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-14-yaml-directive b/tests/yaml-test-suite/name/spec-example-6-14-yaml-directive new file mode 120000 index 0000000..f7f6f18 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-14-yaml-directive @@ -0,0 +1 @@ +../BEC7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-16-tag-directive b/tests/yaml-test-suite/name/spec-example-6-16-tag-directive new file mode 120000 index 0000000..e8b5e93 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-16-tag-directive @@ -0,0 +1 @@ +../U3C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-18-primary-tag-handle b/tests/yaml-test-suite/name/spec-example-6-18-primary-tag-handle new file mode 120000 index 0000000..e058f29 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-18-primary-tag-handle @@ -0,0 +1 @@ +../9WXW \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-18-primary-tag-handle-1-3 b/tests/yaml-test-suite/name/spec-example-6-18-primary-tag-handle-1-3 new file mode 120000 index 0000000..3c8daf9 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-18-primary-tag-handle-1-3 @@ -0,0 +1 @@ +../6WLZ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-19-secondary-tag-handle b/tests/yaml-test-suite/name/spec-example-6-19-secondary-tag-handle new file mode 120000 index 0000000..38d298c --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-19-secondary-tag-handle @@ -0,0 +1 @@ +../P76L \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-2-indentation-indicators b/tests/yaml-test-suite/name/spec-example-6-2-indentation-indicators new file mode 120000 index 0000000..b2200b8 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-2-indentation-indicators @@ -0,0 +1 @@ +../A2M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-20-tag-handles b/tests/yaml-test-suite/name/spec-example-6-20-tag-handles new file mode 120000 index 0000000..dc3bfbc --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-20-tag-handles @@ -0,0 +1 @@ +../CC74 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-21-local-tag-prefix b/tests/yaml-test-suite/name/spec-example-6-21-local-tag-prefix new file mode 120000 index 0000000..bcc113b --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-21-local-tag-prefix @@ -0,0 +1 @@ +../5TYM \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-22-global-tag-prefix b/tests/yaml-test-suite/name/spec-example-6-22-global-tag-prefix new file mode 120000 index 0000000..305eaf3 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-22-global-tag-prefix @@ -0,0 +1 @@ +../Z9M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-23-node-properties b/tests/yaml-test-suite/name/spec-example-6-23-node-properties new file mode 120000 index 0000000..1d40c1d --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-23-node-properties @@ -0,0 +1 @@ +../HMQ5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-24-verbatim-tags b/tests/yaml-test-suite/name/spec-example-6-24-verbatim-tags new file mode 120000 index 0000000..048e9ee --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-24-verbatim-tags @@ -0,0 +1 @@ +../7FWL \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-26-tag-shorthands b/tests/yaml-test-suite/name/spec-example-6-26-tag-shorthands new file mode 120000 index 0000000..7e0f5c4 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-26-tag-shorthands @@ -0,0 +1 @@ +../6CK3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-28-non-specific-tags b/tests/yaml-test-suite/name/spec-example-6-28-non-specific-tags new file mode 120000 index 0000000..d7704bd --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-28-non-specific-tags @@ -0,0 +1 @@ +../S4JQ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-29-node-anchors b/tests/yaml-test-suite/name/spec-example-6-29-node-anchors new file mode 120000 index 0000000..c2b390e --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-29-node-anchors @@ -0,0 +1 @@ +../JS2J \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-3-separation-spaces b/tests/yaml-test-suite/name/spec-example-6-3-separation-spaces new file mode 120000 index 0000000..8672218 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-3-separation-spaces @@ -0,0 +1 @@ +../6BCT \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-4-line-prefixes b/tests/yaml-test-suite/name/spec-example-6-4-line-prefixes new file mode 120000 index 0000000..e3818a2 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-4-line-prefixes @@ -0,0 +1 @@ +../4ZYM \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-5-empty-lines b/tests/yaml-test-suite/name/spec-example-6-5-empty-lines new file mode 120000 index 0000000..85cbd34 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-5-empty-lines @@ -0,0 +1 @@ +../5GBF \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-5-empty-lines-1-3 b/tests/yaml-test-suite/name/spec-example-6-5-empty-lines-1-3 new file mode 120000 index 0000000..5c0a8f6 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-5-empty-lines-1-3 @@ -0,0 +1 @@ +../XV9V \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-6-line-folding b/tests/yaml-test-suite/name/spec-example-6-6-line-folding new file mode 120000 index 0000000..4701adf --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-6-line-folding @@ -0,0 +1 @@ +../K527 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-6-line-folding-1-3 b/tests/yaml-test-suite/name/spec-example-6-6-line-folding-1-3 new file mode 120000 index 0000000..07f949a --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-6-line-folding-1-3 @@ -0,0 +1 @@ +../93WF \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-7-block-folding b/tests/yaml-test-suite/name/spec-example-6-7-block-folding new file mode 120000 index 0000000..12ac3f6 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-7-block-folding @@ -0,0 +1 @@ +../MJS9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-8-flow-folding b/tests/yaml-test-suite/name/spec-example-6-8-flow-folding new file mode 120000 index 0000000..7146d03 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-8-flow-folding @@ -0,0 +1 @@ +../TL85 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-8-flow-folding-1-3 b/tests/yaml-test-suite/name/spec-example-6-8-flow-folding-1-3 new file mode 120000 index 0000000..ad7dd6f --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-8-flow-folding-1-3 @@ -0,0 +1 @@ +../6WPF \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-6-9-separated-comment b/tests/yaml-test-suite/name/spec-example-6-9-separated-comment new file mode 120000 index 0000000..bfc43da --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-6-9-separated-comment @@ -0,0 +1 @@ +../5NYZ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-1-alias-nodes b/tests/yaml-test-suite/name/spec-example-7-1-alias-nodes new file mode 120000 index 0000000..8b9cb20 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-1-alias-nodes @@ -0,0 +1 @@ +../3GZX \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-10-plain-characters b/tests/yaml-test-suite/name/spec-example-7-10-plain-characters new file mode 120000 index 0000000..9e6fa20 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-10-plain-characters @@ -0,0 +1 @@ +../DBG4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-11-plain-implicit-keys b/tests/yaml-test-suite/name/spec-example-7-11-plain-implicit-keys new file mode 120000 index 0000000..1dc4ec4 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-11-plain-implicit-keys @@ -0,0 +1 @@ +../L9U5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-12-plain-lines b/tests/yaml-test-suite/name/spec-example-7-12-plain-lines new file mode 120000 index 0000000..d090d18 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-12-plain-lines @@ -0,0 +1 @@ +../HS5T \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-13-flow-sequence b/tests/yaml-test-suite/name/spec-example-7-13-flow-sequence new file mode 120000 index 0000000..e9340e7 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-13-flow-sequence @@ -0,0 +1 @@ +../5KJE \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-14-flow-sequence-entries b/tests/yaml-test-suite/name/spec-example-7-14-flow-sequence-entries new file mode 120000 index 0000000..4835616 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-14-flow-sequence-entries @@ -0,0 +1 @@ +../8UDB \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-15-flow-mappings b/tests/yaml-test-suite/name/spec-example-7-15-flow-mappings new file mode 120000 index 0000000..f7bb073 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-15-flow-mappings @@ -0,0 +1 @@ +../5C5M \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-16-flow-mapping-entries b/tests/yaml-test-suite/name/spec-example-7-16-flow-mapping-entries new file mode 120000 index 0000000..f2c8d8b --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-16-flow-mapping-entries @@ -0,0 +1 @@ +../DFF7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-18-flow-mapping-adjacent-values b/tests/yaml-test-suite/name/spec-example-7-18-flow-mapping-adjacent-values new file mode 120000 index 0000000..86426a7 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-18-flow-mapping-adjacent-values @@ -0,0 +1 @@ +../C2DT \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-19-single-pair-flow-mappings b/tests/yaml-test-suite/name/spec-example-7-19-single-pair-flow-mappings new file mode 120000 index 0000000..bfff56b --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-19-single-pair-flow-mappings @@ -0,0 +1 @@ +../QF4Y \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-2-empty-content b/tests/yaml-test-suite/name/spec-example-7-2-empty-content new file mode 120000 index 0000000..5856f29 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-2-empty-content @@ -0,0 +1 @@ +../WZ62 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-20-single-pair-explicit-entry b/tests/yaml-test-suite/name/spec-example-7-20-single-pair-explicit-entry new file mode 120000 index 0000000..70e410f --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-20-single-pair-explicit-entry @@ -0,0 +1 @@ +../CT4Q \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-23-flow-content b/tests/yaml-test-suite/name/spec-example-7-23-flow-content new file mode 120000 index 0000000..f329aff --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-23-flow-content @@ -0,0 +1 @@ +../Q88A \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-24-flow-nodes b/tests/yaml-test-suite/name/spec-example-7-24-flow-nodes new file mode 120000 index 0000000..9b502a0 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-24-flow-nodes @@ -0,0 +1 @@ +../LE5A \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-3-completely-empty-flow-nodes b/tests/yaml-test-suite/name/spec-example-7-3-completely-empty-flow-nodes new file mode 120000 index 0000000..0f05eff --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-3-completely-empty-flow-nodes @@ -0,0 +1 @@ +../FRK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-4-double-quoted-implicit-keys b/tests/yaml-test-suite/name/spec-example-7-4-double-quoted-implicit-keys new file mode 120000 index 0000000..69bb7f2 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-4-double-quoted-implicit-keys @@ -0,0 +1 @@ +../LQZ7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-5-double-quoted-line-breaks b/tests/yaml-test-suite/name/spec-example-7-5-double-quoted-line-breaks new file mode 120000 index 0000000..311c3d6 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-5-double-quoted-line-breaks @@ -0,0 +1 @@ +../NP9H \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-5-double-quoted-line-breaks-1-3 b/tests/yaml-test-suite/name/spec-example-7-5-double-quoted-line-breaks-1-3 new file mode 120000 index 0000000..9fe4798 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-5-double-quoted-line-breaks-1-3 @@ -0,0 +1 @@ +../Q8AD \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-6-double-quoted-lines b/tests/yaml-test-suite/name/spec-example-7-6-double-quoted-lines new file mode 120000 index 0000000..3a7cd7d --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-6-double-quoted-lines @@ -0,0 +1 @@ +../7A4E \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-6-double-quoted-lines-1-3 b/tests/yaml-test-suite/name/spec-example-7-6-double-quoted-lines-1-3 new file mode 120000 index 0000000..9136473 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-6-double-quoted-lines-1-3 @@ -0,0 +1 @@ +../9TFX \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-7-single-quoted-characters b/tests/yaml-test-suite/name/spec-example-7-7-single-quoted-characters new file mode 120000 index 0000000..7253ba6 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-7-single-quoted-characters @@ -0,0 +1 @@ +../4GC6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-7-single-quoted-characters-1-3 b/tests/yaml-test-suite/name/spec-example-7-7-single-quoted-characters-1-3 new file mode 120000 index 0000000..52bece3 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-7-single-quoted-characters-1-3 @@ -0,0 +1 @@ +../SSW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-8-single-quoted-implicit-keys b/tests/yaml-test-suite/name/spec-example-7-8-single-quoted-implicit-keys new file mode 120000 index 0000000..5274f1e --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-8-single-quoted-implicit-keys @@ -0,0 +1 @@ +../87E4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-9-single-quoted-lines b/tests/yaml-test-suite/name/spec-example-7-9-single-quoted-lines new file mode 120000 index 0000000..9392175 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-9-single-quoted-lines @@ -0,0 +1 @@ +../PRH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-7-9-single-quoted-lines-1-3 b/tests/yaml-test-suite/name/spec-example-7-9-single-quoted-lines-1-3 new file mode 120000 index 0000000..0663635 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-7-9-single-quoted-lines-1-3 @@ -0,0 +1 @@ +../T4YY \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-1-block-scalar-header b/tests/yaml-test-suite/name/spec-example-8-1-block-scalar-header new file mode 120000 index 0000000..0023d08 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-1-block-scalar-header @@ -0,0 +1 @@ +../P2AD \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-10-folded-lines-8-13-final-empty-lines b/tests/yaml-test-suite/name/spec-example-8-10-folded-lines-8-13-final-empty-lines new file mode 120000 index 0000000..1f3a87f --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-10-folded-lines-8-13-final-empty-lines @@ -0,0 +1 @@ +../7T8X \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-14-block-sequence b/tests/yaml-test-suite/name/spec-example-8-14-block-sequence new file mode 120000 index 0000000..722e018 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-14-block-sequence @@ -0,0 +1 @@ +../JQ4R \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-15-block-sequence-entry-types b/tests/yaml-test-suite/name/spec-example-8-15-block-sequence-entry-types new file mode 120000 index 0000000..7839ac5 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-15-block-sequence-entry-types @@ -0,0 +1 @@ +../W42U \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-16-block-mappings b/tests/yaml-test-suite/name/spec-example-8-16-block-mappings new file mode 120000 index 0000000..14659c5 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-16-block-mappings @@ -0,0 +1 @@ +../TE2A \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-17-explicit-block-mapping-entries b/tests/yaml-test-suite/name/spec-example-8-17-explicit-block-mapping-entries new file mode 120000 index 0000000..0e8e24e --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-17-explicit-block-mapping-entries @@ -0,0 +1 @@ +../5WE3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-18-implicit-block-mapping-entries b/tests/yaml-test-suite/name/spec-example-8-18-implicit-block-mapping-entries new file mode 120000 index 0000000..bf0a135 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-18-implicit-block-mapping-entries @@ -0,0 +1 @@ +../S3PD \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-19-compact-block-mappings b/tests/yaml-test-suite/name/spec-example-8-19-compact-block-mappings new file mode 120000 index 0000000..8f5e068 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-19-compact-block-mappings @@ -0,0 +1 @@ +../V9D5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-2-block-indentation-indicator b/tests/yaml-test-suite/name/spec-example-8-2-block-indentation-indicator new file mode 120000 index 0000000..ad8c704 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-2-block-indentation-indicator @@ -0,0 +1 @@ +../R4YG \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-2-block-indentation-indicator-1-3 b/tests/yaml-test-suite/name/spec-example-8-2-block-indentation-indicator-1-3 new file mode 120000 index 0000000..f48b184 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-2-block-indentation-indicator-1-3 @@ -0,0 +1 @@ +../4QFQ \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-20-block-node-types b/tests/yaml-test-suite/name/spec-example-8-20-block-node-types new file mode 120000 index 0000000..fe0a15d --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-20-block-node-types @@ -0,0 +1 @@ +../735Y \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-21-block-scalar-nodes b/tests/yaml-test-suite/name/spec-example-8-21-block-scalar-nodes new file mode 120000 index 0000000..6f4a561 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-21-block-scalar-nodes @@ -0,0 +1 @@ +../M5C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-21-block-scalar-nodes-1-3 b/tests/yaml-test-suite/name/spec-example-8-21-block-scalar-nodes-1-3 new file mode 120000 index 0000000..14bc410 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-21-block-scalar-nodes-1-3 @@ -0,0 +1 @@ +../Z67P \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-22-block-collection-nodes b/tests/yaml-test-suite/name/spec-example-8-22-block-collection-nodes new file mode 120000 index 0000000..30638be --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-22-block-collection-nodes @@ -0,0 +1 @@ +../57H4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-4-chomping-final-line-break b/tests/yaml-test-suite/name/spec-example-8-4-chomping-final-line-break new file mode 120000 index 0000000..ca0d83a --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-4-chomping-final-line-break @@ -0,0 +1 @@ +../A6F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-5-chomping-trailing-lines b/tests/yaml-test-suite/name/spec-example-8-5-chomping-trailing-lines new file mode 120000 index 0000000..ab8f07e --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-5-chomping-trailing-lines @@ -0,0 +1 @@ +../F8F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-6-empty-scalar-chomping b/tests/yaml-test-suite/name/spec-example-8-6-empty-scalar-chomping new file mode 120000 index 0000000..58f7d0c --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-6-empty-scalar-chomping @@ -0,0 +1 @@ +../K858 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-7-literal-scalar b/tests/yaml-test-suite/name/spec-example-8-7-literal-scalar new file mode 120000 index 0000000..622d9e7 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-7-literal-scalar @@ -0,0 +1 @@ +../M9B4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-7-literal-scalar-1-3 b/tests/yaml-test-suite/name/spec-example-8-7-literal-scalar-1-3 new file mode 120000 index 0000000..e8712f3 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-7-literal-scalar-1-3 @@ -0,0 +1 @@ +../T5N4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-8-literal-content b/tests/yaml-test-suite/name/spec-example-8-8-literal-content new file mode 120000 index 0000000..7686e5d --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-8-literal-content @@ -0,0 +1 @@ +../DWX9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-8-literal-content-1-3 b/tests/yaml-test-suite/name/spec-example-8-8-literal-content-1-3 new file mode 120000 index 0000000..07c13fb --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-8-literal-content-1-3 @@ -0,0 +1 @@ +../T26H \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-9-folded-scalar b/tests/yaml-test-suite/name/spec-example-8-9-folded-scalar new file mode 120000 index 0000000..281a2a5 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-9-folded-scalar @@ -0,0 +1 @@ +../G992 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-8-9-folded-scalar-1-3 b/tests/yaml-test-suite/name/spec-example-8-9-folded-scalar-1-3 new file mode 120000 index 0000000..7f74d44 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-8-9-folded-scalar-1-3 @@ -0,0 +1 @@ +../B3HG \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-9-2-document-markers b/tests/yaml-test-suite/name/spec-example-9-2-document-markers new file mode 120000 index 0000000..3e5c2f1 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-9-2-document-markers @@ -0,0 +1 @@ +../RTP8 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-9-3-bare-documents b/tests/yaml-test-suite/name/spec-example-9-3-bare-documents new file mode 120000 index 0000000..d512900 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-9-3-bare-documents @@ -0,0 +1 @@ +../M7A3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-9-4-explicit-documents b/tests/yaml-test-suite/name/spec-example-9-4-explicit-documents new file mode 120000 index 0000000..7c4156d --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-9-4-explicit-documents @@ -0,0 +1 @@ +../UT92 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-9-5-directives-documents b/tests/yaml-test-suite/name/spec-example-9-5-directives-documents new file mode 120000 index 0000000..843a68b --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-9-5-directives-documents @@ -0,0 +1 @@ +../W4TN \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-9-6-stream b/tests/yaml-test-suite/name/spec-example-9-6-stream new file mode 120000 index 0000000..c291380 --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-9-6-stream @@ -0,0 +1 @@ +../6ZKB \ No newline at end of file diff --git a/tests/yaml-test-suite/name/spec-example-9-6-stream-1-3 b/tests/yaml-test-suite/name/spec-example-9-6-stream-1-3 new file mode 120000 index 0000000..5afb69c --- /dev/null +++ b/tests/yaml-test-suite/name/spec-example-9-6-stream-1-3 @@ -0,0 +1 @@ +../9DXL \ No newline at end of file diff --git a/tests/yaml-test-suite/name/syntax-character-edge-cases b/tests/yaml-test-suite/name/syntax-character-edge-cases new file mode 120000 index 0000000..69bf734 --- /dev/null +++ b/tests/yaml-test-suite/name/syntax-character-edge-cases @@ -0,0 +1 @@ +../UKK6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tab-after-document-header b/tests/yaml-test-suite/name/tab-after-document-header new file mode 120000 index 0000000..96084f9 --- /dev/null +++ b/tests/yaml-test-suite/name/tab-after-document-header @@ -0,0 +1 @@ +../K54U \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tab-at-beginning-of-line-followed-by-a-flow-mapping b/tests/yaml-test-suite/name/tab-at-beginning-of-line-followed-by-a-flow-mapping new file mode 120000 index 0000000..360d6a5 --- /dev/null +++ b/tests/yaml-test-suite/name/tab-at-beginning-of-line-followed-by-a-flow-mapping @@ -0,0 +1 @@ +../Q5MG \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tab-indented-top-flow b/tests/yaml-test-suite/name/tab-indented-top-flow new file mode 120000 index 0000000..d4fbfc9 --- /dev/null +++ b/tests/yaml-test-suite/name/tab-indented-top-flow @@ -0,0 +1 @@ +../6CA3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tabs-in-various-contexts b/tests/yaml-test-suite/name/tabs-in-various-contexts new file mode 120000 index 0000000..831e708 --- /dev/null +++ b/tests/yaml-test-suite/name/tabs-in-various-contexts @@ -0,0 +1 @@ +../Y79Y \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tabs-that-look-like-indentation b/tests/yaml-test-suite/name/tabs-that-look-like-indentation new file mode 120000 index 0000000..baac885 --- /dev/null +++ b/tests/yaml-test-suite/name/tabs-that-look-like-indentation @@ -0,0 +1 @@ +../DK95 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tag-shorthand-used-in-documents-but-only-defined-in-the-first b/tests/yaml-test-suite/name/tag-shorthand-used-in-documents-but-only-defined-in-the-first new file mode 120000 index 0000000..6d7e080 --- /dev/null +++ b/tests/yaml-test-suite/name/tag-shorthand-used-in-documents-but-only-defined-in-the-first @@ -0,0 +1 @@ +../QLJ7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tags-for-block-objects b/tests/yaml-test-suite/name/tags-for-block-objects new file mode 120000 index 0000000..11b71ac --- /dev/null +++ b/tests/yaml-test-suite/name/tags-for-block-objects @@ -0,0 +1 @@ +../6JWB \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tags-for-flow-objects b/tests/yaml-test-suite/name/tags-for-flow-objects new file mode 120000 index 0000000..ccede54 --- /dev/null +++ b/tests/yaml-test-suite/name/tags-for-flow-objects @@ -0,0 +1 @@ +../EHF6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tags-for-root-objects b/tests/yaml-test-suite/name/tags-for-root-objects new file mode 120000 index 0000000..f46826d --- /dev/null +++ b/tests/yaml-test-suite/name/tags-for-root-objects @@ -0,0 +1 @@ +../35KP \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tags-in-block-sequence b/tests/yaml-test-suite/name/tags-in-block-sequence new file mode 120000 index 0000000..76caa39 --- /dev/null +++ b/tests/yaml-test-suite/name/tags-in-block-sequence @@ -0,0 +1 @@ +../2AUY \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tags-in-explicit-mapping b/tests/yaml-test-suite/name/tags-in-explicit-mapping new file mode 120000 index 0000000..26fe26e --- /dev/null +++ b/tests/yaml-test-suite/name/tags-in-explicit-mapping @@ -0,0 +1 @@ +../L94M \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tags-in-implicit-mapping b/tests/yaml-test-suite/name/tags-in-implicit-mapping new file mode 120000 index 0000000..665e54b --- /dev/null +++ b/tests/yaml-test-suite/name/tags-in-implicit-mapping @@ -0,0 +1 @@ +../74H7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/tags-on-empty-scalars b/tests/yaml-test-suite/name/tags-on-empty-scalars new file mode 120000 index 0000000..78dbcb1 --- /dev/null +++ b/tests/yaml-test-suite/name/tags-on-empty-scalars @@ -0,0 +1 @@ +../FH7J \ No newline at end of file diff --git a/tests/yaml-test-suite/name/three-dashes-and-content-without-space b/tests/yaml-test-suite/name/three-dashes-and-content-without-space new file mode 120000 index 0000000..dd0886d --- /dev/null +++ b/tests/yaml-test-suite/name/three-dashes-and-content-without-space @@ -0,0 +1 @@ +../82AN \ No newline at end of file diff --git a/tests/yaml-test-suite/name/three-dashes-and-content-without-space-1-3 b/tests/yaml-test-suite/name/three-dashes-and-content-without-space-1-3 new file mode 120000 index 0000000..b2ae4c4 --- /dev/null +++ b/tests/yaml-test-suite/name/three-dashes-and-content-without-space-1-3 @@ -0,0 +1 @@ +../EXG3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/three-explicit-integers-in-a-block-sequence b/tests/yaml-test-suite/name/three-explicit-integers-in-a-block-sequence new file mode 120000 index 0000000..3ae1bef --- /dev/null +++ b/tests/yaml-test-suite/name/three-explicit-integers-in-a-block-sequence @@ -0,0 +1 @@ +../33X3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/trailing-comment-in-multiline-plain-scalar b/tests/yaml-test-suite/name/trailing-comment-in-multiline-plain-scalar new file mode 120000 index 0000000..d1fee69 --- /dev/null +++ b/tests/yaml-test-suite/name/trailing-comment-in-multiline-plain-scalar @@ -0,0 +1 @@ +../BF9H \ No newline at end of file diff --git a/tests/yaml-test-suite/name/trailing-content-after-quoted-value b/tests/yaml-test-suite/name/trailing-content-after-quoted-value new file mode 120000 index 0000000..1fe4188 --- /dev/null +++ b/tests/yaml-test-suite/name/trailing-content-after-quoted-value @@ -0,0 +1 @@ +../Q4CL \ No newline at end of file diff --git a/tests/yaml-test-suite/name/trailing-content-that-looks-like-a-mapping b/tests/yaml-test-suite/name/trailing-content-that-looks-like-a-mapping new file mode 120000 index 0000000..b178104 --- /dev/null +++ b/tests/yaml-test-suite/name/trailing-content-that-looks-like-a-mapping @@ -0,0 +1 @@ +../JY7Z \ No newline at end of file diff --git a/tests/yaml-test-suite/name/trailing-line-of-spaces b/tests/yaml-test-suite/name/trailing-line-of-spaces new file mode 120000 index 0000000..7932ce1 --- /dev/null +++ b/tests/yaml-test-suite/name/trailing-line-of-spaces @@ -0,0 +1 @@ +../L24T \ No newline at end of file diff --git a/tests/yaml-test-suite/name/trailing-spaces-after-flow-collection b/tests/yaml-test-suite/name/trailing-spaces-after-flow-collection new file mode 120000 index 0000000..a812428 --- /dev/null +++ b/tests/yaml-test-suite/name/trailing-spaces-after-flow-collection @@ -0,0 +1 @@ +../4RWC \ No newline at end of file diff --git a/tests/yaml-test-suite/name/trailing-tabs-in-double-quoted b/tests/yaml-test-suite/name/trailing-tabs-in-double-quoted new file mode 120000 index 0000000..756d477 --- /dev/null +++ b/tests/yaml-test-suite/name/trailing-tabs-in-double-quoted @@ -0,0 +1 @@ +../DE56 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/trailing-whitespace-in-streams b/tests/yaml-test-suite/name/trailing-whitespace-in-streams new file mode 120000 index 0000000..fd0e9af --- /dev/null +++ b/tests/yaml-test-suite/name/trailing-whitespace-in-streams @@ -0,0 +1 @@ +../JEF9 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/two-document-start-markers b/tests/yaml-test-suite/name/two-document-start-markers new file mode 120000 index 0000000..4bd002f --- /dev/null +++ b/tests/yaml-test-suite/name/two-document-start-markers @@ -0,0 +1 @@ +../6XDY \ No newline at end of file diff --git a/tests/yaml-test-suite/name/two-scalar-docs-with-trailing-comments b/tests/yaml-test-suite/name/two-scalar-docs-with-trailing-comments new file mode 120000 index 0000000..522d457 --- /dev/null +++ b/tests/yaml-test-suite/name/two-scalar-docs-with-trailing-comments @@ -0,0 +1 @@ +../L383 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/various-combinations-of-explicit-block-mappings b/tests/yaml-test-suite/name/various-combinations-of-explicit-block-mappings new file mode 120000 index 0000000..0df9e50 --- /dev/null +++ b/tests/yaml-test-suite/name/various-combinations-of-explicit-block-mappings @@ -0,0 +1 @@ +../KK5P \ No newline at end of file diff --git a/tests/yaml-test-suite/name/various-combinations-of-tags-and-anchors b/tests/yaml-test-suite/name/various-combinations-of-tags-and-anchors new file mode 120000 index 0000000..6ec3a28 --- /dev/null +++ b/tests/yaml-test-suite/name/various-combinations-of-tags-and-anchors @@ -0,0 +1 @@ +../9KAX \ No newline at end of file diff --git a/tests/yaml-test-suite/name/various-empty-or-newline-only-quoted-strings b/tests/yaml-test-suite/name/various-empty-or-newline-only-quoted-strings new file mode 120000 index 0000000..04d125e --- /dev/null +++ b/tests/yaml-test-suite/name/various-empty-or-newline-only-quoted-strings @@ -0,0 +1 @@ +../NAT4 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/various-location-of-anchors-in-flow-sequence b/tests/yaml-test-suite/name/various-location-of-anchors-in-flow-sequence new file mode 120000 index 0000000..9343386 --- /dev/null +++ b/tests/yaml-test-suite/name/various-location-of-anchors-in-flow-sequence @@ -0,0 +1 @@ +../CN3R \ No newline at end of file diff --git a/tests/yaml-test-suite/name/various-trailing-comments b/tests/yaml-test-suite/name/various-trailing-comments new file mode 120000 index 0000000..18be74f --- /dev/null +++ b/tests/yaml-test-suite/name/various-trailing-comments @@ -0,0 +1 @@ +../XW4D \ No newline at end of file diff --git a/tests/yaml-test-suite/name/various-trailing-comments-1-3 b/tests/yaml-test-suite/name/various-trailing-comments-1-3 new file mode 120000 index 0000000..0c88997 --- /dev/null +++ b/tests/yaml-test-suite/name/various-trailing-comments-1-3 @@ -0,0 +1 @@ +../RZP5 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/various-trailing-tabs b/tests/yaml-test-suite/name/various-trailing-tabs new file mode 120000 index 0000000..a2204f5 --- /dev/null +++ b/tests/yaml-test-suite/name/various-trailing-tabs @@ -0,0 +1 @@ +../DC7X \ No newline at end of file diff --git a/tests/yaml-test-suite/name/whitespace-after-scalars-in-flow b/tests/yaml-test-suite/name/whitespace-after-scalars-in-flow new file mode 120000 index 0000000..1617263 --- /dev/null +++ b/tests/yaml-test-suite/name/whitespace-after-scalars-in-flow @@ -0,0 +1 @@ +../LP6E \ No newline at end of file diff --git a/tests/yaml-test-suite/name/whitespace-around-colon-in-mappings b/tests/yaml-test-suite/name/whitespace-around-colon-in-mappings new file mode 120000 index 0000000..602eced --- /dev/null +++ b/tests/yaml-test-suite/name/whitespace-around-colon-in-mappings @@ -0,0 +1 @@ +../26DV \ No newline at end of file diff --git a/tests/yaml-test-suite/name/wrong-indendation-in-map b/tests/yaml-test-suite/name/wrong-indendation-in-map new file mode 120000 index 0000000..c041c83 --- /dev/null +++ b/tests/yaml-test-suite/name/wrong-indendation-in-map @@ -0,0 +1 @@ +../DMG6 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/wrong-indendation-in-mapping b/tests/yaml-test-suite/name/wrong-indendation-in-mapping new file mode 120000 index 0000000..7b77f0d --- /dev/null +++ b/tests/yaml-test-suite/name/wrong-indendation-in-mapping @@ -0,0 +1 @@ +../EW3V \ No newline at end of file diff --git a/tests/yaml-test-suite/name/wrong-indendation-in-sequence b/tests/yaml-test-suite/name/wrong-indendation-in-sequence new file mode 120000 index 0000000..51b57bc --- /dev/null +++ b/tests/yaml-test-suite/name/wrong-indendation-in-sequence @@ -0,0 +1 @@ +../4HVU \ No newline at end of file diff --git a/tests/yaml-test-suite/name/wrong-indented-flow-sequence b/tests/yaml-test-suite/name/wrong-indented-flow-sequence new file mode 120000 index 0000000..cc7e25d --- /dev/null +++ b/tests/yaml-test-suite/name/wrong-indented-flow-sequence @@ -0,0 +1 @@ +../9C9N \ No newline at end of file diff --git a/tests/yaml-test-suite/name/wrong-indented-multiline-quoted-scalar b/tests/yaml-test-suite/name/wrong-indented-multiline-quoted-scalar new file mode 120000 index 0000000..dd12147 --- /dev/null +++ b/tests/yaml-test-suite/name/wrong-indented-multiline-quoted-scalar @@ -0,0 +1 @@ +../QB6E \ No newline at end of file diff --git a/tests/yaml-test-suite/name/wrong-indented-sequence-item b/tests/yaml-test-suite/name/wrong-indented-sequence-item new file mode 120000 index 0000000..c4a8fd6 --- /dev/null +++ b/tests/yaml-test-suite/name/wrong-indented-sequence-item @@ -0,0 +1 @@ +../ZVH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/yaml-directive-without-document-end-marker b/tests/yaml-test-suite/name/yaml-directive-without-document-end-marker new file mode 120000 index 0000000..d7cff34 --- /dev/null +++ b/tests/yaml-test-suite/name/yaml-directive-without-document-end-marker @@ -0,0 +1 @@ +../RHX7 \ No newline at end of file diff --git a/tests/yaml-test-suite/name/zero-indented-block-scalar b/tests/yaml-test-suite/name/zero-indented-block-scalar new file mode 120000 index 0000000..e826957 --- /dev/null +++ b/tests/yaml-test-suite/name/zero-indented-block-scalar @@ -0,0 +1 @@ +../FP8R \ No newline at end of file diff --git a/tests/yaml-test-suite/name/zero-indented-block-scalar-with-line-that-looks-like-a-comment b/tests/yaml-test-suite/name/zero-indented-block-scalar-with-line-that-looks-like-a-comment new file mode 120000 index 0000000..e4f9cbb --- /dev/null +++ b/tests/yaml-test-suite/name/zero-indented-block-scalar-with-line-that-looks-like-a-comment @@ -0,0 +1 @@ +../DK3J \ No newline at end of file diff --git a/tests/yaml-test-suite/name/zero-indented-sequences-in-explicit-mapping-keys b/tests/yaml-test-suite/name/zero-indented-sequences-in-explicit-mapping-keys new file mode 120000 index 0000000..78fac0d --- /dev/null +++ b/tests/yaml-test-suite/name/zero-indented-sequences-in-explicit-mapping-keys @@ -0,0 +1 @@ +../6PBE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/27NA b/tests/yaml-test-suite/tags/1.3-err/27NA new file mode 120000 index 0000000..3440e4d --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/27NA @@ -0,0 +1 @@ +../../27NA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/2SXE b/tests/yaml-test-suite/tags/1.3-err/2SXE new file mode 120000 index 0000000..fc24492 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/2SXE @@ -0,0 +1 @@ +../../2SXE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/4GC6 b/tests/yaml-test-suite/tags/1.3-err/4GC6 new file mode 120000 index 0000000..3523c76 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/4GC6 @@ -0,0 +1 @@ +../../4GC6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/4UYU b/tests/yaml-test-suite/tags/1.3-err/4UYU new file mode 120000 index 0000000..75bcad9 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/4UYU @@ -0,0 +1 @@ +../../4UYU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/6LVF b/tests/yaml-test-suite/tags/1.3-err/6LVF new file mode 120000 index 0000000..375a605 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/6LVF @@ -0,0 +1 @@ +../../6LVF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/6VJK b/tests/yaml-test-suite/tags/1.3-err/6VJK new file mode 120000 index 0000000..02bf6b1 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/6VJK @@ -0,0 +1 @@ +../../6VJK \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/6ZKB b/tests/yaml-test-suite/tags/1.3-err/6ZKB new file mode 120000 index 0000000..a10de7c --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/6ZKB @@ -0,0 +1 @@ +../../6ZKB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/7T8X b/tests/yaml-test-suite/tags/1.3-err/7T8X new file mode 120000 index 0000000..92ecbb0 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/7T8X @@ -0,0 +1 @@ +../../7T8X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/82AN b/tests/yaml-test-suite/tags/1.3-err/82AN new file mode 120000 index 0000000..10354e4 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/82AN @@ -0,0 +1 @@ +../../82AN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/8MK2 b/tests/yaml-test-suite/tags/1.3-err/8MK2 new file mode 120000 index 0000000..0b041c0 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/8MK2 @@ -0,0 +1 @@ +../../8MK2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/9KAX b/tests/yaml-test-suite/tags/1.3-err/9KAX new file mode 120000 index 0000000..69dbebd --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/9KAX @@ -0,0 +1 @@ +../../9KAX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/9WXW b/tests/yaml-test-suite/tags/1.3-err/9WXW new file mode 120000 index 0000000..ffcfb6e --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/9WXW @@ -0,0 +1 @@ +../../9WXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/9YRD b/tests/yaml-test-suite/tags/1.3-err/9YRD new file mode 120000 index 0000000..a547235 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/9YRD @@ -0,0 +1 @@ +../../9YRD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/BU8L b/tests/yaml-test-suite/tags/1.3-err/BU8L new file mode 120000 index 0000000..4134679 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/BU8L @@ -0,0 +1 @@ +../../BU8L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/DWX9 b/tests/yaml-test-suite/tags/1.3-err/DWX9 new file mode 120000 index 0000000..091d706 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/DWX9 @@ -0,0 +1 @@ +../../DWX9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/G992 b/tests/yaml-test-suite/tags/1.3-err/G992 new file mode 120000 index 0000000..fd52e80 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/G992 @@ -0,0 +1 @@ +../../G992 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/K527 b/tests/yaml-test-suite/tags/1.3-err/K527 new file mode 120000 index 0000000..64b643a --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/K527 @@ -0,0 +1 @@ +../../K527 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/KSS4 b/tests/yaml-test-suite/tags/1.3-err/KSS4 new file mode 120000 index 0000000..64e1284 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/KSS4 @@ -0,0 +1 @@ +../../KSS4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/LX3P b/tests/yaml-test-suite/tags/1.3-err/LX3P new file mode 120000 index 0000000..e672510 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/LX3P @@ -0,0 +1 @@ +../../LX3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/M5C3 b/tests/yaml-test-suite/tags/1.3-err/M5C3 new file mode 120000 index 0000000..b94bb88 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/M5C3 @@ -0,0 +1 @@ +../../M5C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/M7A3 b/tests/yaml-test-suite/tags/1.3-err/M7A3 new file mode 120000 index 0000000..e7b888b --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/M7A3 @@ -0,0 +1 @@ +../../M7A3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/M9B4 b/tests/yaml-test-suite/tags/1.3-err/M9B4 new file mode 120000 index 0000000..14843be --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/M9B4 @@ -0,0 +1 @@ +../../M9B4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/MJS9 b/tests/yaml-test-suite/tags/1.3-err/MJS9 new file mode 120000 index 0000000..7e30ed5 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/MJS9 @@ -0,0 +1 @@ +../../MJS9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/MYW6 b/tests/yaml-test-suite/tags/1.3-err/MYW6 new file mode 120000 index 0000000..1c9c6c1 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/MYW6 @@ -0,0 +1 @@ +../../MYW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/Q9WF b/tests/yaml-test-suite/tags/1.3-err/Q9WF new file mode 120000 index 0000000..f1c846f --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/Q9WF @@ -0,0 +1 @@ +../../Q9WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/TS54 b/tests/yaml-test-suite/tags/1.3-err/TS54 new file mode 120000 index 0000000..dc77d22 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/TS54 @@ -0,0 +1 @@ +../../TS54 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/U3XV b/tests/yaml-test-suite/tags/1.3-err/U3XV new file mode 120000 index 0000000..da356fd --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/U3XV @@ -0,0 +1 @@ +../../U3XV \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/W4TN b/tests/yaml-test-suite/tags/1.3-err/W4TN new file mode 120000 index 0000000..51978f9 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/W4TN @@ -0,0 +1 @@ +../../W4TN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/W5VH b/tests/yaml-test-suite/tags/1.3-err/W5VH new file mode 120000 index 0000000..a75a2d7 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/W5VH @@ -0,0 +1 @@ +../../W5VH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-err/XW4D b/tests/yaml-test-suite/tags/1.3-err/XW4D new file mode 120000 index 0000000..c9357a0 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-err/XW4D @@ -0,0 +1 @@ +../../XW4D \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/2LFX b/tests/yaml-test-suite/tags/1.3-mod/2LFX new file mode 120000 index 0000000..b9b99ec --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/2LFX @@ -0,0 +1 @@ +../../2LFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/4Q9F b/tests/yaml-test-suite/tags/1.3-mod/4Q9F new file mode 120000 index 0000000..18fb9be --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/4Q9F @@ -0,0 +1 @@ +../../4Q9F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/4QFQ b/tests/yaml-test-suite/tags/1.3-mod/4QFQ new file mode 120000 index 0000000..47aecda --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/4QFQ @@ -0,0 +1 @@ +../../4QFQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/52DL b/tests/yaml-test-suite/tags/1.3-mod/52DL new file mode 120000 index 0000000..7acd9ae --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/52DL @@ -0,0 +1 @@ +../../52DL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/6WLZ b/tests/yaml-test-suite/tags/1.3-mod/6WLZ new file mode 120000 index 0000000..290c70c --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/6WLZ @@ -0,0 +1 @@ +../../6WLZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/6WPF b/tests/yaml-test-suite/tags/1.3-mod/6WPF new file mode 120000 index 0000000..8451a19 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/6WPF @@ -0,0 +1 @@ +../../6WPF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/753E b/tests/yaml-test-suite/tags/1.3-mod/753E new file mode 120000 index 0000000..3e8a0f8 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/753E @@ -0,0 +1 @@ +../../753E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/7BMT b/tests/yaml-test-suite/tags/1.3-mod/7BMT new file mode 120000 index 0000000..fc43877 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/7BMT @@ -0,0 +1 @@ +../../7BMT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/93WF b/tests/yaml-test-suite/tags/1.3-mod/93WF new file mode 120000 index 0000000..1c69d35 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/93WF @@ -0,0 +1 @@ +../../93WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/9DXL b/tests/yaml-test-suite/tags/1.3-mod/9DXL new file mode 120000 index 0000000..a430ab1 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/9DXL @@ -0,0 +1 @@ +../../9DXL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/9TFX b/tests/yaml-test-suite/tags/1.3-mod/9TFX new file mode 120000 index 0000000..0ac62a3 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/9TFX @@ -0,0 +1 @@ +../../9TFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/B3HG b/tests/yaml-test-suite/tags/1.3-mod/B3HG new file mode 120000 index 0000000..3fce415 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/B3HG @@ -0,0 +1 @@ +../../B3HG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/EX5H b/tests/yaml-test-suite/tags/1.3-mod/EX5H new file mode 120000 index 0000000..6a28db0 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/EX5H @@ -0,0 +1 @@ +../../EX5H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/EXG3 b/tests/yaml-test-suite/tags/1.3-mod/EXG3 new file mode 120000 index 0000000..392c139 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/EXG3 @@ -0,0 +1 @@ +../../EXG3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/Q8AD b/tests/yaml-test-suite/tags/1.3-mod/Q8AD new file mode 120000 index 0000000..59677ca --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/Q8AD @@ -0,0 +1 @@ +../../Q8AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/RZP5 b/tests/yaml-test-suite/tags/1.3-mod/RZP5 new file mode 120000 index 0000000..4045966 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/RZP5 @@ -0,0 +1 @@ +../../RZP5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/SSW6 b/tests/yaml-test-suite/tags/1.3-mod/SSW6 new file mode 120000 index 0000000..bf02e65 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/SSW6 @@ -0,0 +1 @@ +../../SSW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/T26H b/tests/yaml-test-suite/tags/1.3-mod/T26H new file mode 120000 index 0000000..f893b31 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/T26H @@ -0,0 +1 @@ +../../T26H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/T4YY b/tests/yaml-test-suite/tags/1.3-mod/T4YY new file mode 120000 index 0000000..36a98cd --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/T4YY @@ -0,0 +1 @@ +../../T4YY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/T5N4 b/tests/yaml-test-suite/tags/1.3-mod/T5N4 new file mode 120000 index 0000000..0bb9caa --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/T5N4 @@ -0,0 +1 @@ +../../T5N4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/XV9V b/tests/yaml-test-suite/tags/1.3-mod/XV9V new file mode 120000 index 0000000..dfb43bd --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/XV9V @@ -0,0 +1 @@ +../../XV9V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/1.3-mod/Z67P b/tests/yaml-test-suite/tags/1.3-mod/Z67P new file mode 120000 index 0000000..23a62f4 --- /dev/null +++ b/tests/yaml-test-suite/tags/1.3-mod/Z67P @@ -0,0 +1 @@ +../../Z67P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/26DV b/tests/yaml-test-suite/tags/alias/26DV new file mode 120000 index 0000000..26960df --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/26DV @@ -0,0 +1 @@ +../../26DV \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/2SXE b/tests/yaml-test-suite/tags/alias/2SXE new file mode 120000 index 0000000..fc24492 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/2SXE @@ -0,0 +1 @@ +../../2SXE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/3GZX b/tests/yaml-test-suite/tags/alias/3GZX new file mode 120000 index 0000000..9ed5af1 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/3GZX @@ -0,0 +1 @@ +../../3GZX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/6KGN b/tests/yaml-test-suite/tags/alias/6KGN new file mode 120000 index 0000000..c982166 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/6KGN @@ -0,0 +1 @@ +../../6KGN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/6M2F b/tests/yaml-test-suite/tags/alias/6M2F new file mode 120000 index 0000000..18acde4 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/6M2F @@ -0,0 +1 @@ +../../6M2F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/7BUB b/tests/yaml-test-suite/tags/alias/7BUB new file mode 120000 index 0000000..5179898 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/7BUB @@ -0,0 +1 @@ +../../7BUB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/C4HZ b/tests/yaml-test-suite/tags/alias/C4HZ new file mode 120000 index 0000000..02a2837 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/C4HZ @@ -0,0 +1 @@ +../../C4HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/CUP7 b/tests/yaml-test-suite/tags/alias/CUP7 new file mode 120000 index 0000000..01e2dd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/CUP7 @@ -0,0 +1 @@ +../../CUP7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/E76Z b/tests/yaml-test-suite/tags/alias/E76Z new file mode 120000 index 0000000..7c5f625 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/E76Z @@ -0,0 +1 @@ +../../E76Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/HMQ5 b/tests/yaml-test-suite/tags/alias/HMQ5 new file mode 120000 index 0000000..7984983 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/HMQ5 @@ -0,0 +1 @@ +../../HMQ5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/JS2J b/tests/yaml-test-suite/tags/alias/JS2J new file mode 120000 index 0000000..46a21d4 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/JS2J @@ -0,0 +1 @@ +../../JS2J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/LE5A b/tests/yaml-test-suite/tags/alias/LE5A new file mode 120000 index 0000000..4d0f680 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/LE5A @@ -0,0 +1 @@ +../../LE5A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/SR86 b/tests/yaml-test-suite/tags/alias/SR86 new file mode 120000 index 0000000..26f4322 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/SR86 @@ -0,0 +1 @@ +../../SR86 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/SU74 b/tests/yaml-test-suite/tags/alias/SU74 new file mode 120000 index 0000000..6cae6f9 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/SU74 @@ -0,0 +1 @@ +../../SU74 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/UGM3 b/tests/yaml-test-suite/tags/alias/UGM3 new file mode 120000 index 0000000..46c4b5f --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/UGM3 @@ -0,0 +1 @@ +../../UGM3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/V55R b/tests/yaml-test-suite/tags/alias/V55R new file mode 120000 index 0000000..0a9ddbf --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/V55R @@ -0,0 +1 @@ +../../V55R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/W5VH b/tests/yaml-test-suite/tags/alias/W5VH new file mode 120000 index 0000000..a75a2d7 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/W5VH @@ -0,0 +1 @@ +../../W5VH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/alias/X38W b/tests/yaml-test-suite/tags/alias/X38W new file mode 120000 index 0000000..2add9b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/alias/X38W @@ -0,0 +1 @@ +../../X38W \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/3R3P b/tests/yaml-test-suite/tags/anchor/3R3P new file mode 120000 index 0000000..37c60d2 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/3R3P @@ -0,0 +1 @@ +../../3R3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/4JVG b/tests/yaml-test-suite/tags/anchor/4JVG new file mode 120000 index 0000000..fe22b29 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/4JVG @@ -0,0 +1 @@ +../../4JVG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/6BFJ b/tests/yaml-test-suite/tags/anchor/6BFJ new file mode 120000 index 0000000..740a551 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/6BFJ @@ -0,0 +1 @@ +../../6BFJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/6KGN b/tests/yaml-test-suite/tags/anchor/6KGN new file mode 120000 index 0000000..c982166 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/6KGN @@ -0,0 +1 @@ +../../6KGN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/7BMT b/tests/yaml-test-suite/tags/anchor/7BMT new file mode 120000 index 0000000..fc43877 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/7BMT @@ -0,0 +1 @@ +../../7BMT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/8XYN b/tests/yaml-test-suite/tags/anchor/8XYN new file mode 120000 index 0000000..b2e9e1b --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/8XYN @@ -0,0 +1 @@ +../../8XYN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/9KAX b/tests/yaml-test-suite/tags/anchor/9KAX new file mode 120000 index 0000000..69dbebd --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/9KAX @@ -0,0 +1 @@ +../../9KAX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/BU8L b/tests/yaml-test-suite/tags/anchor/BU8L new file mode 120000 index 0000000..4134679 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/BU8L @@ -0,0 +1 @@ +../../BU8L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/CN3R b/tests/yaml-test-suite/tags/anchor/CN3R new file mode 120000 index 0000000..ad8f282 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/CN3R @@ -0,0 +1 @@ +../../CN3R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/CXX2 b/tests/yaml-test-suite/tags/anchor/CXX2 new file mode 120000 index 0000000..093ffc9 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/CXX2 @@ -0,0 +1 @@ +../../CXX2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/F2C7 b/tests/yaml-test-suite/tags/anchor/F2C7 new file mode 120000 index 0000000..d2167aa --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/F2C7 @@ -0,0 +1 @@ +../../F2C7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/FTA2 b/tests/yaml-test-suite/tags/anchor/FTA2 new file mode 120000 index 0000000..0e62940 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/FTA2 @@ -0,0 +1 @@ +../../FTA2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/G9HC b/tests/yaml-test-suite/tags/anchor/G9HC new file mode 120000 index 0000000..13ccaf4 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/G9HC @@ -0,0 +1 @@ +../../G9HC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/GT5M b/tests/yaml-test-suite/tags/anchor/GT5M new file mode 120000 index 0000000..1957b80 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/GT5M @@ -0,0 +1 @@ +../../GT5M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/H7J7 b/tests/yaml-test-suite/tags/anchor/H7J7 new file mode 120000 index 0000000..6eff103 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/H7J7 @@ -0,0 +1 @@ +../../H7J7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/KSS4 b/tests/yaml-test-suite/tags/anchor/KSS4 new file mode 120000 index 0000000..64e1284 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/KSS4 @@ -0,0 +1 @@ +../../KSS4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/PW8X b/tests/yaml-test-suite/tags/anchor/PW8X new file mode 120000 index 0000000..503f1cf --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/PW8X @@ -0,0 +1 @@ +../../PW8X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/RZP5 b/tests/yaml-test-suite/tags/anchor/RZP5 new file mode 120000 index 0000000..4045966 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/RZP5 @@ -0,0 +1 @@ +../../RZP5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/SKE5 b/tests/yaml-test-suite/tags/anchor/SKE5 new file mode 120000 index 0000000..3bbdc04 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/SKE5 @@ -0,0 +1 @@ +../../SKE5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/SU74 b/tests/yaml-test-suite/tags/anchor/SU74 new file mode 120000 index 0000000..6cae6f9 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/SU74 @@ -0,0 +1 @@ +../../SU74 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/SY6V b/tests/yaml-test-suite/tags/anchor/SY6V new file mode 120000 index 0000000..2e7f8a7 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/SY6V @@ -0,0 +1 @@ +../../SY6V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/U3XV b/tests/yaml-test-suite/tags/anchor/U3XV new file mode 120000 index 0000000..da356fd --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/U3XV @@ -0,0 +1 @@ +../../U3XV \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/Y2GN b/tests/yaml-test-suite/tags/anchor/Y2GN new file mode 120000 index 0000000..e90c6ec --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/Y2GN @@ -0,0 +1 @@ +../../Y2GN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/ZH7C b/tests/yaml-test-suite/tags/anchor/ZH7C new file mode 120000 index 0000000..621e8d8 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/ZH7C @@ -0,0 +1 @@ +../../ZH7C \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/anchor/ZWK4 b/tests/yaml-test-suite/tags/anchor/ZWK4 new file mode 120000 index 0000000..929cf75 --- /dev/null +++ b/tests/yaml-test-suite/tags/anchor/ZWK4 @@ -0,0 +1 @@ +../../ZWK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/5NYZ b/tests/yaml-test-suite/tags/comment/5NYZ new file mode 120000 index 0000000..4bd15d0 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/5NYZ @@ -0,0 +1 @@ +../../5NYZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/5WE3 b/tests/yaml-test-suite/tags/comment/5WE3 new file mode 120000 index 0000000..254a18d --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/5WE3 @@ -0,0 +1 @@ +../../5WE3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/6HB6 b/tests/yaml-test-suite/tags/comment/6HB6 new file mode 120000 index 0000000..309d8ac --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/6HB6 @@ -0,0 +1 @@ +../../6HB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/6JQW b/tests/yaml-test-suite/tags/comment/6JQW new file mode 120000 index 0000000..3c14590 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/6JQW @@ -0,0 +1 @@ +../../6JQW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/735Y b/tests/yaml-test-suite/tags/comment/735Y new file mode 120000 index 0000000..8c5413d --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/735Y @@ -0,0 +1 @@ +../../735Y \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/7BMT b/tests/yaml-test-suite/tags/comment/7BMT new file mode 120000 index 0000000..fc43877 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/7BMT @@ -0,0 +1 @@ +../../7BMT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/7T8X b/tests/yaml-test-suite/tags/comment/7T8X new file mode 120000 index 0000000..92ecbb0 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/7T8X @@ -0,0 +1 @@ +../../7T8X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/7TMG b/tests/yaml-test-suite/tags/comment/7TMG new file mode 120000 index 0000000..f7f83c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/7TMG @@ -0,0 +1 @@ +../../7TMG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/8G76 b/tests/yaml-test-suite/tags/comment/8G76 new file mode 120000 index 0000000..00d3ecd --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/8G76 @@ -0,0 +1 @@ +../../8G76 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/8XDJ b/tests/yaml-test-suite/tags/comment/8XDJ new file mode 120000 index 0000000..4ac0f50 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/8XDJ @@ -0,0 +1 @@ +../../8XDJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/98YD b/tests/yaml-test-suite/tags/comment/98YD new file mode 120000 index 0000000..164fb7b --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/98YD @@ -0,0 +1 @@ +../../98YD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/9JBA b/tests/yaml-test-suite/tags/comment/9JBA new file mode 120000 index 0000000..626c99a --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/9JBA @@ -0,0 +1 @@ +../../9JBA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/BF9H b/tests/yaml-test-suite/tags/comment/BF9H new file mode 120000 index 0000000..9841867 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/BF9H @@ -0,0 +1 @@ +../../BF9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/CML9 b/tests/yaml-test-suite/tags/comment/CML9 new file mode 120000 index 0000000..d511c79 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/CML9 @@ -0,0 +1 @@ +../../CML9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/CVW2 b/tests/yaml-test-suite/tags/comment/CVW2 new file mode 120000 index 0000000..bc7dcd5 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/CVW2 @@ -0,0 +1 @@ +../../CVW2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/DC7X b/tests/yaml-test-suite/tags/comment/DC7X new file mode 120000 index 0000000..10ed405 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/DC7X @@ -0,0 +1 @@ +../../DC7X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/DK3J b/tests/yaml-test-suite/tags/comment/DK3J new file mode 120000 index 0000000..5582781 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/DK3J @@ -0,0 +1 @@ +../../DK3J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/DWX9 b/tests/yaml-test-suite/tags/comment/DWX9 new file mode 120000 index 0000000..091d706 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/DWX9 @@ -0,0 +1 @@ +../../DWX9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/F8F9 b/tests/yaml-test-suite/tags/comment/F8F9 new file mode 120000 index 0000000..9d5b9da --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/F8F9 @@ -0,0 +1 @@ +../../F8F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/GDY7 b/tests/yaml-test-suite/tags/comment/GDY7 new file mode 120000 index 0000000..3a8a92f --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/GDY7 @@ -0,0 +1 @@ +../../GDY7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/H2RW b/tests/yaml-test-suite/tags/comment/H2RW new file mode 120000 index 0000000..44883ed --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/H2RW @@ -0,0 +1 @@ +../../H2RW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/J9HZ b/tests/yaml-test-suite/tags/comment/J9HZ new file mode 120000 index 0000000..29236ee --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/J9HZ @@ -0,0 +1 @@ +../../J9HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/K3WX b/tests/yaml-test-suite/tags/comment/K3WX new file mode 120000 index 0000000..0e5fd82 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/K3WX @@ -0,0 +1 @@ +../../K3WX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/L383 b/tests/yaml-test-suite/tags/comment/L383 new file mode 120000 index 0000000..7cf2fb7 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/L383 @@ -0,0 +1 @@ +../../L383 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/P2AD b/tests/yaml-test-suite/tags/comment/P2AD new file mode 120000 index 0000000..67d7bd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/P2AD @@ -0,0 +1 @@ +../../P2AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/P94K b/tests/yaml-test-suite/tags/comment/P94K new file mode 120000 index 0000000..ee7fbd3 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/P94K @@ -0,0 +1 @@ +../../P94K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/Q9WF b/tests/yaml-test-suite/tags/comment/Q9WF new file mode 120000 index 0000000..f1c846f --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/Q9WF @@ -0,0 +1 @@ +../../Q9WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/QT73 b/tests/yaml-test-suite/tags/comment/QT73 new file mode 120000 index 0000000..a04d162 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/QT73 @@ -0,0 +1 @@ +../../QT73 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/RZP5 b/tests/yaml-test-suite/tags/comment/RZP5 new file mode 120000 index 0000000..4045966 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/RZP5 @@ -0,0 +1 @@ +../../RZP5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/S98Z b/tests/yaml-test-suite/tags/comment/S98Z new file mode 120000 index 0000000..92f9894 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/S98Z @@ -0,0 +1 @@ +../../S98Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/SU5Z b/tests/yaml-test-suite/tags/comment/SU5Z new file mode 120000 index 0000000..14f5264 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/SU5Z @@ -0,0 +1 @@ +../../SU5Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/SYW4 b/tests/yaml-test-suite/tags/comment/SYW4 new file mode 120000 index 0000000..59bb157 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/SYW4 @@ -0,0 +1 @@ +../../SYW4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/T26H b/tests/yaml-test-suite/tags/comment/T26H new file mode 120000 index 0000000..f893b31 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/T26H @@ -0,0 +1 @@ +../../T26H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/U3XV b/tests/yaml-test-suite/tags/comment/U3XV new file mode 120000 index 0000000..da356fd --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/U3XV @@ -0,0 +1 @@ +../../U3XV \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/UT92 b/tests/yaml-test-suite/tags/comment/UT92 new file mode 120000 index 0000000..697f678 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/UT92 @@ -0,0 +1 @@ +../../UT92 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/W42U b/tests/yaml-test-suite/tags/comment/W42U new file mode 120000 index 0000000..3683162 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/W42U @@ -0,0 +1 @@ +../../W42U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/X4QW b/tests/yaml-test-suite/tags/comment/X4QW new file mode 120000 index 0000000..9cb27e1 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/X4QW @@ -0,0 +1 @@ +../../X4QW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/X8DW b/tests/yaml-test-suite/tags/comment/X8DW new file mode 120000 index 0000000..e7b3e37 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/X8DW @@ -0,0 +1 @@ +../../X8DW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/comment/XW4D b/tests/yaml-test-suite/tags/comment/XW4D new file mode 120000 index 0000000..c9357a0 --- /dev/null +++ b/tests/yaml-test-suite/tags/comment/XW4D @@ -0,0 +1 @@ +../../XW4D \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/complex-key/4FJ6 b/tests/yaml-test-suite/tags/complex-key/4FJ6 new file mode 120000 index 0000000..cf3a0b9 --- /dev/null +++ b/tests/yaml-test-suite/tags/complex-key/4FJ6 @@ -0,0 +1 @@ +../../4FJ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/complex-key/6BFJ b/tests/yaml-test-suite/tags/complex-key/6BFJ new file mode 120000 index 0000000..740a551 --- /dev/null +++ b/tests/yaml-test-suite/tags/complex-key/6BFJ @@ -0,0 +1 @@ +../../6BFJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/complex-key/LX3P b/tests/yaml-test-suite/tags/complex-key/LX3P new file mode 120000 index 0000000..e672510 --- /dev/null +++ b/tests/yaml-test-suite/tags/complex-key/LX3P @@ -0,0 +1 @@ +../../LX3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/complex-key/M5DY b/tests/yaml-test-suite/tags/complex-key/M5DY new file mode 120000 index 0000000..21b4d92 --- /dev/null +++ b/tests/yaml-test-suite/tags/complex-key/M5DY @@ -0,0 +1 @@ +../../M5DY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/complex-key/Q9WF b/tests/yaml-test-suite/tags/complex-key/Q9WF new file mode 120000 index 0000000..f1c846f --- /dev/null +++ b/tests/yaml-test-suite/tags/complex-key/Q9WF @@ -0,0 +1 @@ +../../Q9WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/complex-key/SBG9 b/tests/yaml-test-suite/tags/complex-key/SBG9 new file mode 120000 index 0000000..beea64c --- /dev/null +++ b/tests/yaml-test-suite/tags/complex-key/SBG9 @@ -0,0 +1 @@ +../../SBG9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/complex-key/V9D5 b/tests/yaml-test-suite/tags/complex-key/V9D5 new file mode 120000 index 0000000..5b9b022 --- /dev/null +++ b/tests/yaml-test-suite/tags/complex-key/V9D5 @@ -0,0 +1 @@ +../../V9D5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/complex-key/X38W b/tests/yaml-test-suite/tags/complex-key/X38W new file mode 120000 index 0000000..2add9b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/complex-key/X38W @@ -0,0 +1 @@ +../../X38W \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/27NA b/tests/yaml-test-suite/tags/directive/27NA new file mode 120000 index 0000000..3440e4d --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/27NA @@ -0,0 +1 @@ +../../27NA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/2LFX b/tests/yaml-test-suite/tags/directive/2LFX new file mode 120000 index 0000000..b9b99ec --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/2LFX @@ -0,0 +1 @@ +../../2LFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/5TYM b/tests/yaml-test-suite/tags/directive/5TYM new file mode 120000 index 0000000..a004e81 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/5TYM @@ -0,0 +1 @@ +../../5TYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/6LVF b/tests/yaml-test-suite/tags/directive/6LVF new file mode 120000 index 0000000..375a605 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/6LVF @@ -0,0 +1 @@ +../../6LVF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/6WLZ b/tests/yaml-test-suite/tags/directive/6WLZ new file mode 120000 index 0000000..290c70c --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/6WLZ @@ -0,0 +1 @@ +../../6WLZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/9HCY b/tests/yaml-test-suite/tags/directive/9HCY new file mode 120000 index 0000000..180c195 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/9HCY @@ -0,0 +1 @@ +../../9HCY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/9MMA b/tests/yaml-test-suite/tags/directive/9MMA new file mode 120000 index 0000000..9c0b371 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/9MMA @@ -0,0 +1 @@ +../../9MMA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/9WXW b/tests/yaml-test-suite/tags/directive/9WXW new file mode 120000 index 0000000..ffcfb6e --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/9WXW @@ -0,0 +1 @@ +../../9WXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/B63P b/tests/yaml-test-suite/tags/directive/B63P new file mode 120000 index 0000000..9f06c97 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/B63P @@ -0,0 +1 @@ +../../B63P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/BEC7 b/tests/yaml-test-suite/tags/directive/BEC7 new file mode 120000 index 0000000..875f496 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/BEC7 @@ -0,0 +1 @@ +../../BEC7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/C4HZ b/tests/yaml-test-suite/tags/directive/C4HZ new file mode 120000 index 0000000..02a2837 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/C4HZ @@ -0,0 +1 @@ +../../C4HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/CC74 b/tests/yaml-test-suite/tags/directive/CC74 new file mode 120000 index 0000000..c75436d --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/CC74 @@ -0,0 +1 @@ +../../CC74 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/EB22 b/tests/yaml-test-suite/tags/directive/EB22 new file mode 120000 index 0000000..17f61ac --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/EB22 @@ -0,0 +1 @@ +../../EB22 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/H7TQ b/tests/yaml-test-suite/tags/directive/H7TQ new file mode 120000 index 0000000..87f0be3 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/H7TQ @@ -0,0 +1 @@ +../../H7TQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/MUS6/00 b/tests/yaml-test-suite/tags/directive/MUS6/00 new file mode 120000 index 0000000..cb079bf --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/MUS6/00 @@ -0,0 +1 @@ +../../../MUS6/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/MUS6/01 b/tests/yaml-test-suite/tags/directive/MUS6/01 new file mode 120000 index 0000000..f82e7c1 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/MUS6/01 @@ -0,0 +1 @@ +../../../MUS6/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/MUS6/02 b/tests/yaml-test-suite/tags/directive/MUS6/02 new file mode 120000 index 0000000..cf7b58b --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/MUS6/02 @@ -0,0 +1 @@ +../../../MUS6/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/MUS6/03 b/tests/yaml-test-suite/tags/directive/MUS6/03 new file mode 120000 index 0000000..6e11d97 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/MUS6/03 @@ -0,0 +1 @@ +../../../MUS6/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/MUS6/04 b/tests/yaml-test-suite/tags/directive/MUS6/04 new file mode 120000 index 0000000..0676ec7 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/MUS6/04 @@ -0,0 +1 @@ +../../../MUS6/04 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/MUS6/05 b/tests/yaml-test-suite/tags/directive/MUS6/05 new file mode 120000 index 0000000..c58e376 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/MUS6/05 @@ -0,0 +1 @@ +../../../MUS6/05 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/MUS6/06 b/tests/yaml-test-suite/tags/directive/MUS6/06 new file mode 120000 index 0000000..eb1f606 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/MUS6/06 @@ -0,0 +1 @@ +../../../MUS6/06 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/QLJ7 b/tests/yaml-test-suite/tags/directive/QLJ7 new file mode 120000 index 0000000..c953546 --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/QLJ7 @@ -0,0 +1 @@ +../../QLJ7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/RHX7 b/tests/yaml-test-suite/tags/directive/RHX7 new file mode 120000 index 0000000..5c7c8ab --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/RHX7 @@ -0,0 +1 @@ +../../RHX7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/SF5V b/tests/yaml-test-suite/tags/directive/SF5V new file mode 120000 index 0000000..a824a6e --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/SF5V @@ -0,0 +1 @@ +../../SF5V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/directive/XLQ9 b/tests/yaml-test-suite/tags/directive/XLQ9 new file mode 120000 index 0000000..a52378f --- /dev/null +++ b/tests/yaml-test-suite/tags/directive/XLQ9 @@ -0,0 +1 @@ +../../XLQ9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/document/B63P b/tests/yaml-test-suite/tags/document/B63P new file mode 120000 index 0000000..9f06c97 --- /dev/null +++ b/tests/yaml-test-suite/tags/document/B63P @@ -0,0 +1 @@ +../../B63P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/2LFX b/tests/yaml-test-suite/tags/double/2LFX new file mode 120000 index 0000000..b9b99ec --- /dev/null +++ b/tests/yaml-test-suite/tags/double/2LFX @@ -0,0 +1 @@ +../../2LFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/3RLN/00 b/tests/yaml-test-suite/tags/double/3RLN/00 new file mode 120000 index 0000000..f5ff880 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/3RLN/00 @@ -0,0 +1 @@ +../../../3RLN/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/3RLN/01 b/tests/yaml-test-suite/tags/double/3RLN/01 new file mode 120000 index 0000000..55cec7b --- /dev/null +++ b/tests/yaml-test-suite/tags/double/3RLN/01 @@ -0,0 +1 @@ +../../../3RLN/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/3RLN/02 b/tests/yaml-test-suite/tags/double/3RLN/02 new file mode 120000 index 0000000..c900b12 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/3RLN/02 @@ -0,0 +1 @@ +../../../3RLN/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/3RLN/03 b/tests/yaml-test-suite/tags/double/3RLN/03 new file mode 120000 index 0000000..7a84ae7 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/3RLN/03 @@ -0,0 +1 @@ +../../../3RLN/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/3RLN/04 b/tests/yaml-test-suite/tags/double/3RLN/04 new file mode 120000 index 0000000..b79983f --- /dev/null +++ b/tests/yaml-test-suite/tags/double/3RLN/04 @@ -0,0 +1 @@ +../../../3RLN/04 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/3RLN/05 b/tests/yaml-test-suite/tags/double/3RLN/05 new file mode 120000 index 0000000..68e3e9c --- /dev/null +++ b/tests/yaml-test-suite/tags/double/3RLN/05 @@ -0,0 +1 @@ +../../../3RLN/05 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/3UYS b/tests/yaml-test-suite/tags/double/3UYS new file mode 120000 index 0000000..fd3bb47 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/3UYS @@ -0,0 +1 @@ +../../3UYS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/4ZYM b/tests/yaml-test-suite/tags/double/4ZYM new file mode 120000 index 0000000..a5d6035 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/4ZYM @@ -0,0 +1 @@ +../../4ZYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/55WF b/tests/yaml-test-suite/tags/double/55WF new file mode 120000 index 0000000..ce9a157 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/55WF @@ -0,0 +1 @@ +../../55WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/5GBF b/tests/yaml-test-suite/tags/double/5GBF new file mode 120000 index 0000000..3fe583f --- /dev/null +++ b/tests/yaml-test-suite/tags/double/5GBF @@ -0,0 +1 @@ +../../5GBF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/5MUD b/tests/yaml-test-suite/tags/double/5MUD new file mode 120000 index 0000000..d198f20 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/5MUD @@ -0,0 +1 @@ +../../5MUD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/5TRB b/tests/yaml-test-suite/tags/double/5TRB new file mode 120000 index 0000000..e57281c --- /dev/null +++ b/tests/yaml-test-suite/tags/double/5TRB @@ -0,0 +1 @@ +../../5TRB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/6LVF b/tests/yaml-test-suite/tags/double/6LVF new file mode 120000 index 0000000..375a605 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/6LVF @@ -0,0 +1 @@ +../../6LVF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/6SLA b/tests/yaml-test-suite/tags/double/6SLA new file mode 120000 index 0000000..f78bf90 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/6SLA @@ -0,0 +1 @@ +../../6SLA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/6WPF b/tests/yaml-test-suite/tags/double/6WPF new file mode 120000 index 0000000..8451a19 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/6WPF @@ -0,0 +1 @@ +../../6WPF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/735Y b/tests/yaml-test-suite/tags/double/735Y new file mode 120000 index 0000000..8c5413d --- /dev/null +++ b/tests/yaml-test-suite/tags/double/735Y @@ -0,0 +1 @@ +../../735Y \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/7LBH b/tests/yaml-test-suite/tags/double/7LBH new file mode 120000 index 0000000..bb43fdb --- /dev/null +++ b/tests/yaml-test-suite/tags/double/7LBH @@ -0,0 +1 @@ +../../7LBH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/9BXH b/tests/yaml-test-suite/tags/double/9BXH new file mode 120000 index 0000000..9caa513 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/9BXH @@ -0,0 +1 @@ +../../9BXH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/9MQT/00 b/tests/yaml-test-suite/tags/double/9MQT/00 new file mode 120000 index 0000000..5c6357c --- /dev/null +++ b/tests/yaml-test-suite/tags/double/9MQT/00 @@ -0,0 +1 @@ +../../../9MQT/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/9MQT/01 b/tests/yaml-test-suite/tags/double/9MQT/01 new file mode 120000 index 0000000..ace14db --- /dev/null +++ b/tests/yaml-test-suite/tags/double/9MQT/01 @@ -0,0 +1 @@ +../../../9MQT/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/9SA2 b/tests/yaml-test-suite/tags/double/9SA2 new file mode 120000 index 0000000..977cd55 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/9SA2 @@ -0,0 +1 @@ +../../9SA2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/9TFX b/tests/yaml-test-suite/tags/double/9TFX new file mode 120000 index 0000000..0ac62a3 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/9TFX @@ -0,0 +1 @@ +../../9TFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/CPZ3 b/tests/yaml-test-suite/tags/double/CPZ3 new file mode 120000 index 0000000..1060583 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/CPZ3 @@ -0,0 +1 @@ +../../CPZ3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/CQ3W b/tests/yaml-test-suite/tags/double/CQ3W new file mode 120000 index 0000000..2282692 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/CQ3W @@ -0,0 +1 @@ +../../CQ3W \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/DE56/00 b/tests/yaml-test-suite/tags/double/DE56/00 new file mode 120000 index 0000000..9eceb56 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/DE56/00 @@ -0,0 +1 @@ +../../../DE56/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/DE56/01 b/tests/yaml-test-suite/tags/double/DE56/01 new file mode 120000 index 0000000..1b90ada --- /dev/null +++ b/tests/yaml-test-suite/tags/double/DE56/01 @@ -0,0 +1 @@ +../../../DE56/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/DE56/02 b/tests/yaml-test-suite/tags/double/DE56/02 new file mode 120000 index 0000000..1bfce97 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/DE56/02 @@ -0,0 +1 @@ +../../../DE56/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/DE56/03 b/tests/yaml-test-suite/tags/double/DE56/03 new file mode 120000 index 0000000..f5cbbdb --- /dev/null +++ b/tests/yaml-test-suite/tags/double/DE56/03 @@ -0,0 +1 @@ +../../../DE56/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/DE56/04 b/tests/yaml-test-suite/tags/double/DE56/04 new file mode 120000 index 0000000..13ce7a1 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/DE56/04 @@ -0,0 +1 @@ +../../../DE56/04 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/DE56/05 b/tests/yaml-test-suite/tags/double/DE56/05 new file mode 120000 index 0000000..3f3231b --- /dev/null +++ b/tests/yaml-test-suite/tags/double/DE56/05 @@ -0,0 +1 @@ +../../../DE56/05 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/HRE5 b/tests/yaml-test-suite/tags/double/HRE5 new file mode 120000 index 0000000..01ffb4b --- /dev/null +++ b/tests/yaml-test-suite/tags/double/HRE5 @@ -0,0 +1 @@ +../../HRE5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/JY7Z b/tests/yaml-test-suite/tags/double/JY7Z new file mode 120000 index 0000000..d5fcafa --- /dev/null +++ b/tests/yaml-test-suite/tags/double/JY7Z @@ -0,0 +1 @@ +../../JY7Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/KH5V/00 b/tests/yaml-test-suite/tags/double/KH5V/00 new file mode 120000 index 0000000..4558b72 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/KH5V/00 @@ -0,0 +1 @@ +../../../KH5V/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/KH5V/01 b/tests/yaml-test-suite/tags/double/KH5V/01 new file mode 120000 index 0000000..709108c --- /dev/null +++ b/tests/yaml-test-suite/tags/double/KH5V/01 @@ -0,0 +1 @@ +../../../KH5V/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/KH5V/02 b/tests/yaml-test-suite/tags/double/KH5V/02 new file mode 120000 index 0000000..2499bf1 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/KH5V/02 @@ -0,0 +1 @@ +../../../KH5V/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/N4JP b/tests/yaml-test-suite/tags/double/N4JP new file mode 120000 index 0000000..ab5b5ac --- /dev/null +++ b/tests/yaml-test-suite/tags/double/N4JP @@ -0,0 +1 @@ +../../N4JP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/NAT4 b/tests/yaml-test-suite/tags/double/NAT4 new file mode 120000 index 0000000..f0e5e11 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/NAT4 @@ -0,0 +1 @@ +../../NAT4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/NP9H b/tests/yaml-test-suite/tags/double/NP9H new file mode 120000 index 0000000..7819403 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/NP9H @@ -0,0 +1 @@ +../../NP9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/Q4CL b/tests/yaml-test-suite/tags/double/Q4CL new file mode 120000 index 0000000..5a6e510 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/Q4CL @@ -0,0 +1 @@ +../../Q4CL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/Q8AD b/tests/yaml-test-suite/tags/double/Q8AD new file mode 120000 index 0000000..59677ca --- /dev/null +++ b/tests/yaml-test-suite/tags/double/Q8AD @@ -0,0 +1 @@ +../../Q8AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/QB6E b/tests/yaml-test-suite/tags/double/QB6E new file mode 120000 index 0000000..2699c26 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/QB6E @@ -0,0 +1 @@ +../../QB6E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/SU5Z b/tests/yaml-test-suite/tags/double/SU5Z new file mode 120000 index 0000000..14f5264 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/SU5Z @@ -0,0 +1 @@ +../../SU5Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/TL85 b/tests/yaml-test-suite/tags/double/TL85 new file mode 120000 index 0000000..884de90 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/TL85 @@ -0,0 +1 @@ +../../TL85 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/double/U44R b/tests/yaml-test-suite/tags/double/U44R new file mode 120000 index 0000000..608be98 --- /dev/null +++ b/tests/yaml-test-suite/tags/double/U44R @@ -0,0 +1 @@ +../../U44R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/duplicate-key/2JQS b/tests/yaml-test-suite/tags/duplicate-key/2JQS new file mode 120000 index 0000000..c89c89e --- /dev/null +++ b/tests/yaml-test-suite/tags/duplicate-key/2JQS @@ -0,0 +1 @@ +../../2JQS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/2SXE b/tests/yaml-test-suite/tags/edge/2SXE new file mode 120000 index 0000000..fc24492 --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/2SXE @@ -0,0 +1 @@ +../../2SXE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/58MP b/tests/yaml-test-suite/tags/edge/58MP new file mode 120000 index 0000000..2ac5452 --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/58MP @@ -0,0 +1 @@ +../../58MP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/AVM7 b/tests/yaml-test-suite/tags/edge/AVM7 new file mode 120000 index 0000000..717bfa7 --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/AVM7 @@ -0,0 +1 @@ +../../AVM7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/AZW3 b/tests/yaml-test-suite/tags/edge/AZW3 new file mode 120000 index 0000000..a5bf351 --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/AZW3 @@ -0,0 +1 @@ +../../AZW3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/M2N8/00 b/tests/yaml-test-suite/tags/edge/M2N8/00 new file mode 120000 index 0000000..65efb93 --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/M2N8/00 @@ -0,0 +1 @@ +../../../M2N8/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/M2N8/01 b/tests/yaml-test-suite/tags/edge/M2N8/01 new file mode 120000 index 0000000..5b31bec --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/M2N8/01 @@ -0,0 +1 @@ +../../../M2N8/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/N782 b/tests/yaml-test-suite/tags/edge/N782 new file mode 120000 index 0000000..3fd409d --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/N782 @@ -0,0 +1 @@ +../../N782 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/UKK6/00 b/tests/yaml-test-suite/tags/edge/UKK6/00 new file mode 120000 index 0000000..11574aa --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/UKK6/00 @@ -0,0 +1 @@ +../../../UKK6/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/UKK6/01 b/tests/yaml-test-suite/tags/edge/UKK6/01 new file mode 120000 index 0000000..7054df8 --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/UKK6/01 @@ -0,0 +1 @@ +../../../UKK6/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/edge/UKK6/02 b/tests/yaml-test-suite/tags/edge/UKK6/02 new file mode 120000 index 0000000..1431c0f --- /dev/null +++ b/tests/yaml-test-suite/tags/edge/UKK6/02 @@ -0,0 +1 @@ +../../../UKK6/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/2JQS b/tests/yaml-test-suite/tags/empty-key/2JQS new file mode 120000 index 0000000..c89c89e --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/2JQS @@ -0,0 +1 @@ +../../2JQS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/6M2F b/tests/yaml-test-suite/tags/empty-key/6M2F new file mode 120000 index 0000000..18acde4 --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/6M2F @@ -0,0 +1 @@ +../../6M2F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/CFD4 b/tests/yaml-test-suite/tags/empty-key/CFD4 new file mode 120000 index 0000000..5968d4e --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/CFD4 @@ -0,0 +1 @@ +../../CFD4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/FRK4 b/tests/yaml-test-suite/tags/empty-key/FRK4 new file mode 120000 index 0000000..0650a8f --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/FRK4 @@ -0,0 +1 @@ +../../FRK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/M2N8/00 b/tests/yaml-test-suite/tags/empty-key/M2N8/00 new file mode 120000 index 0000000..65efb93 --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/M2N8/00 @@ -0,0 +1 @@ +../../../M2N8/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/M2N8/01 b/tests/yaml-test-suite/tags/empty-key/M2N8/01 new file mode 120000 index 0000000..5b31bec --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/M2N8/01 @@ -0,0 +1 @@ +../../../M2N8/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/NHX8 b/tests/yaml-test-suite/tags/empty-key/NHX8 new file mode 120000 index 0000000..70981c8 --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/NHX8 @@ -0,0 +1 @@ +../../NHX8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/NKF9 b/tests/yaml-test-suite/tags/empty-key/NKF9 new file mode 120000 index 0000000..9d36b08 --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/NKF9 @@ -0,0 +1 @@ +../../NKF9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/S3PD b/tests/yaml-test-suite/tags/empty-key/S3PD new file mode 120000 index 0000000..6877cc2 --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/S3PD @@ -0,0 +1 @@ +../../S3PD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/UKK6/00 b/tests/yaml-test-suite/tags/empty-key/UKK6/00 new file mode 120000 index 0000000..11574aa --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/UKK6/00 @@ -0,0 +1 @@ +../../../UKK6/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/UKK6/01 b/tests/yaml-test-suite/tags/empty-key/UKK6/01 new file mode 120000 index 0000000..7054df8 --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/UKK6/01 @@ -0,0 +1 @@ +../../../UKK6/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty-key/UKK6/02 b/tests/yaml-test-suite/tags/empty-key/UKK6/02 new file mode 120000 index 0000000..1431c0f --- /dev/null +++ b/tests/yaml-test-suite/tags/empty-key/UKK6/02 @@ -0,0 +1 @@ +../../../UKK6/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty/8G76 b/tests/yaml-test-suite/tags/empty/8G76 new file mode 120000 index 0000000..00d3ecd --- /dev/null +++ b/tests/yaml-test-suite/tags/empty/8G76 @@ -0,0 +1 @@ +../../8G76 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/empty/98YD b/tests/yaml-test-suite/tags/empty/98YD new file mode 120000 index 0000000..164fb7b --- /dev/null +++ b/tests/yaml-test-suite/tags/empty/98YD @@ -0,0 +1 @@ +../../98YD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/236B b/tests/yaml-test-suite/tags/error/236B new file mode 120000 index 0000000..69de3e1 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/236B @@ -0,0 +1 @@ +../../236B \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/2CMS b/tests/yaml-test-suite/tags/error/2CMS new file mode 120000 index 0000000..4b8ae22 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/2CMS @@ -0,0 +1 @@ +../../2CMS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/3HFZ b/tests/yaml-test-suite/tags/error/3HFZ new file mode 120000 index 0000000..ef5f13c --- /dev/null +++ b/tests/yaml-test-suite/tags/error/3HFZ @@ -0,0 +1 @@ +../../3HFZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/4EJS b/tests/yaml-test-suite/tags/error/4EJS new file mode 120000 index 0000000..7a45c9b --- /dev/null +++ b/tests/yaml-test-suite/tags/error/4EJS @@ -0,0 +1 @@ +../../4EJS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/4H7K b/tests/yaml-test-suite/tags/error/4H7K new file mode 120000 index 0000000..6f17aae --- /dev/null +++ b/tests/yaml-test-suite/tags/error/4H7K @@ -0,0 +1 @@ +../../4H7K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/4HVU b/tests/yaml-test-suite/tags/error/4HVU new file mode 120000 index 0000000..175cb97 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/4HVU @@ -0,0 +1 @@ +../../4HVU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/4JVG b/tests/yaml-test-suite/tags/error/4JVG new file mode 120000 index 0000000..fe22b29 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/4JVG @@ -0,0 +1 @@ +../../4JVG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/55WF b/tests/yaml-test-suite/tags/error/55WF new file mode 120000 index 0000000..ce9a157 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/55WF @@ -0,0 +1 @@ +../../55WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/5LLU b/tests/yaml-test-suite/tags/error/5LLU new file mode 120000 index 0000000..40abecd --- /dev/null +++ b/tests/yaml-test-suite/tags/error/5LLU @@ -0,0 +1 @@ +../../5LLU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/5TRB b/tests/yaml-test-suite/tags/error/5TRB new file mode 120000 index 0000000..e57281c --- /dev/null +++ b/tests/yaml-test-suite/tags/error/5TRB @@ -0,0 +1 @@ +../../5TRB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/5U3A b/tests/yaml-test-suite/tags/error/5U3A new file mode 120000 index 0000000..0f257b0 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/5U3A @@ -0,0 +1 @@ +../../5U3A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/62EZ b/tests/yaml-test-suite/tags/error/62EZ new file mode 120000 index 0000000..1bfb7f8 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/62EZ @@ -0,0 +1 @@ +../../62EZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/6JTT b/tests/yaml-test-suite/tags/error/6JTT new file mode 120000 index 0000000..ca9ac94 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/6JTT @@ -0,0 +1 @@ +../../6JTT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/6S55 b/tests/yaml-test-suite/tags/error/6S55 new file mode 120000 index 0000000..c3be54b --- /dev/null +++ b/tests/yaml-test-suite/tags/error/6S55 @@ -0,0 +1 @@ +../../6S55 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/7LBH b/tests/yaml-test-suite/tags/error/7LBH new file mode 120000 index 0000000..bb43fdb --- /dev/null +++ b/tests/yaml-test-suite/tags/error/7LBH @@ -0,0 +1 @@ +../../7LBH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/7MNF b/tests/yaml-test-suite/tags/error/7MNF new file mode 120000 index 0000000..4af38aa --- /dev/null +++ b/tests/yaml-test-suite/tags/error/7MNF @@ -0,0 +1 @@ +../../7MNF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/8XDJ b/tests/yaml-test-suite/tags/error/8XDJ new file mode 120000 index 0000000..4ac0f50 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/8XDJ @@ -0,0 +1 @@ +../../8XDJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/9C9N b/tests/yaml-test-suite/tags/error/9C9N new file mode 120000 index 0000000..9454179 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/9C9N @@ -0,0 +1 @@ +../../9C9N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/9CWY b/tests/yaml-test-suite/tags/error/9CWY new file mode 120000 index 0000000..1dfc20b --- /dev/null +++ b/tests/yaml-test-suite/tags/error/9CWY @@ -0,0 +1 @@ +../../9CWY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/9HCY b/tests/yaml-test-suite/tags/error/9HCY new file mode 120000 index 0000000..180c195 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/9HCY @@ -0,0 +1 @@ +../../9HCY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/9JBA b/tests/yaml-test-suite/tags/error/9JBA new file mode 120000 index 0000000..626c99a --- /dev/null +++ b/tests/yaml-test-suite/tags/error/9JBA @@ -0,0 +1 @@ +../../9JBA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/9KBC b/tests/yaml-test-suite/tags/error/9KBC new file mode 120000 index 0000000..06fe799 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/9KBC @@ -0,0 +1 @@ +../../9KBC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/9MAG b/tests/yaml-test-suite/tags/error/9MAG new file mode 120000 index 0000000..301f684 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/9MAG @@ -0,0 +1 @@ +../../9MAG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/9MMA b/tests/yaml-test-suite/tags/error/9MMA new file mode 120000 index 0000000..9c0b371 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/9MMA @@ -0,0 +1 @@ +../../9MMA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/B63P b/tests/yaml-test-suite/tags/error/B63P new file mode 120000 index 0000000..9f06c97 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/B63P @@ -0,0 +1 @@ +../../B63P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/BD7L b/tests/yaml-test-suite/tags/error/BD7L new file mode 120000 index 0000000..88339aa --- /dev/null +++ b/tests/yaml-test-suite/tags/error/BD7L @@ -0,0 +1 @@ +../../BD7L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/BF9H b/tests/yaml-test-suite/tags/error/BF9H new file mode 120000 index 0000000..9841867 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/BF9H @@ -0,0 +1 @@ +../../BF9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/BS4K b/tests/yaml-test-suite/tags/error/BS4K new file mode 120000 index 0000000..55831e5 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/BS4K @@ -0,0 +1 @@ +../../BS4K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/C2SP b/tests/yaml-test-suite/tags/error/C2SP new file mode 120000 index 0000000..570e158 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/C2SP @@ -0,0 +1 @@ +../../C2SP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/CML9 b/tests/yaml-test-suite/tags/error/CML9 new file mode 120000 index 0000000..d511c79 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/CML9 @@ -0,0 +1 @@ +../../CML9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/CQ3W b/tests/yaml-test-suite/tags/error/CQ3W new file mode 120000 index 0000000..2282692 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/CQ3W @@ -0,0 +1 @@ +../../CQ3W \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/CTN5 b/tests/yaml-test-suite/tags/error/CTN5 new file mode 120000 index 0000000..ca65a71 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/CTN5 @@ -0,0 +1 @@ +../../CTN5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/CVW2 b/tests/yaml-test-suite/tags/error/CVW2 new file mode 120000 index 0000000..bc7dcd5 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/CVW2 @@ -0,0 +1 @@ +../../CVW2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/CXX2 b/tests/yaml-test-suite/tags/error/CXX2 new file mode 120000 index 0000000..093ffc9 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/CXX2 @@ -0,0 +1 @@ +../../CXX2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/D49Q b/tests/yaml-test-suite/tags/error/D49Q new file mode 120000 index 0000000..35f1caf --- /dev/null +++ b/tests/yaml-test-suite/tags/error/D49Q @@ -0,0 +1 @@ +../../D49Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/DK4H b/tests/yaml-test-suite/tags/error/DK4H new file mode 120000 index 0000000..76ad197 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/DK4H @@ -0,0 +1 @@ +../../DK4H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/DMG6 b/tests/yaml-test-suite/tags/error/DMG6 new file mode 120000 index 0000000..e9b76e8 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/DMG6 @@ -0,0 +1 @@ +../../DMG6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/EB22 b/tests/yaml-test-suite/tags/error/EB22 new file mode 120000 index 0000000..17f61ac --- /dev/null +++ b/tests/yaml-test-suite/tags/error/EB22 @@ -0,0 +1 @@ +../../EB22 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/EW3V b/tests/yaml-test-suite/tags/error/EW3V new file mode 120000 index 0000000..edaf877 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/EW3V @@ -0,0 +1 @@ +../../EW3V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/G7JE b/tests/yaml-test-suite/tags/error/G7JE new file mode 120000 index 0000000..2dbce1f --- /dev/null +++ b/tests/yaml-test-suite/tags/error/G7JE @@ -0,0 +1 @@ +../../G7JE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/G9HC b/tests/yaml-test-suite/tags/error/G9HC new file mode 120000 index 0000000..13ccaf4 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/G9HC @@ -0,0 +1 @@ +../../G9HC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/GDY7 b/tests/yaml-test-suite/tags/error/GDY7 new file mode 120000 index 0000000..3a8a92f --- /dev/null +++ b/tests/yaml-test-suite/tags/error/GDY7 @@ -0,0 +1 @@ +../../GDY7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/GT5M b/tests/yaml-test-suite/tags/error/GT5M new file mode 120000 index 0000000..1957b80 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/GT5M @@ -0,0 +1 @@ +../../GT5M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/H7J7 b/tests/yaml-test-suite/tags/error/H7J7 new file mode 120000 index 0000000..6eff103 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/H7J7 @@ -0,0 +1 @@ +../../H7J7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/HRE5 b/tests/yaml-test-suite/tags/error/HRE5 new file mode 120000 index 0000000..01ffb4b --- /dev/null +++ b/tests/yaml-test-suite/tags/error/HRE5 @@ -0,0 +1 @@ +../../HRE5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/HU3P b/tests/yaml-test-suite/tags/error/HU3P new file mode 120000 index 0000000..6fa830e --- /dev/null +++ b/tests/yaml-test-suite/tags/error/HU3P @@ -0,0 +1 @@ +../../HU3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/JY7Z b/tests/yaml-test-suite/tags/error/JY7Z new file mode 120000 index 0000000..d5fcafa --- /dev/null +++ b/tests/yaml-test-suite/tags/error/JY7Z @@ -0,0 +1 @@ +../../JY7Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/KS4U b/tests/yaml-test-suite/tags/error/KS4U new file mode 120000 index 0000000..9c89f2e --- /dev/null +++ b/tests/yaml-test-suite/tags/error/KS4U @@ -0,0 +1 @@ +../../KS4U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/LHL4 b/tests/yaml-test-suite/tags/error/LHL4 new file mode 120000 index 0000000..1731353 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/LHL4 @@ -0,0 +1 @@ +../../LHL4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/N4JP b/tests/yaml-test-suite/tags/error/N4JP new file mode 120000 index 0000000..ab5b5ac --- /dev/null +++ b/tests/yaml-test-suite/tags/error/N4JP @@ -0,0 +1 @@ +../../N4JP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/N782 b/tests/yaml-test-suite/tags/error/N782 new file mode 120000 index 0000000..3fd409d --- /dev/null +++ b/tests/yaml-test-suite/tags/error/N782 @@ -0,0 +1 @@ +../../N782 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/P2EQ b/tests/yaml-test-suite/tags/error/P2EQ new file mode 120000 index 0000000..9ff8462 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/P2EQ @@ -0,0 +1 @@ +../../P2EQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/Q4CL b/tests/yaml-test-suite/tags/error/Q4CL new file mode 120000 index 0000000..5a6e510 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/Q4CL @@ -0,0 +1 @@ +../../Q4CL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/QB6E b/tests/yaml-test-suite/tags/error/QB6E new file mode 120000 index 0000000..2699c26 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/QB6E @@ -0,0 +1 @@ +../../QB6E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/QLJ7 b/tests/yaml-test-suite/tags/error/QLJ7 new file mode 120000 index 0000000..c953546 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/QLJ7 @@ -0,0 +1 @@ +../../QLJ7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/RHX7 b/tests/yaml-test-suite/tags/error/RHX7 new file mode 120000 index 0000000..5c7c8ab --- /dev/null +++ b/tests/yaml-test-suite/tags/error/RHX7 @@ -0,0 +1 @@ +../../RHX7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/RXY3 b/tests/yaml-test-suite/tags/error/RXY3 new file mode 120000 index 0000000..39962b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/RXY3 @@ -0,0 +1 @@ +../../RXY3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/S4GJ b/tests/yaml-test-suite/tags/error/S4GJ new file mode 120000 index 0000000..f0ce985 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/S4GJ @@ -0,0 +1 @@ +../../S4GJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/S98Z b/tests/yaml-test-suite/tags/error/S98Z new file mode 120000 index 0000000..92f9894 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/S98Z @@ -0,0 +1 @@ +../../S98Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/SF5V b/tests/yaml-test-suite/tags/error/SF5V new file mode 120000 index 0000000..a824a6e --- /dev/null +++ b/tests/yaml-test-suite/tags/error/SF5V @@ -0,0 +1 @@ +../../SF5V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/SR86 b/tests/yaml-test-suite/tags/error/SR86 new file mode 120000 index 0000000..26f4322 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/SR86 @@ -0,0 +1 @@ +../../SR86 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/SU5Z b/tests/yaml-test-suite/tags/error/SU5Z new file mode 120000 index 0000000..14f5264 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/SU5Z @@ -0,0 +1 @@ +../../SU5Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/SU74 b/tests/yaml-test-suite/tags/error/SU74 new file mode 120000 index 0000000..6cae6f9 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/SU74 @@ -0,0 +1 @@ +../../SU74 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/SY6V b/tests/yaml-test-suite/tags/error/SY6V new file mode 120000 index 0000000..2e7f8a7 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/SY6V @@ -0,0 +1 @@ +../../SY6V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/T833 b/tests/yaml-test-suite/tags/error/T833 new file mode 120000 index 0000000..26aefa2 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/T833 @@ -0,0 +1 @@ +../../T833 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/TD5N b/tests/yaml-test-suite/tags/error/TD5N new file mode 120000 index 0000000..b2efde6 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/TD5N @@ -0,0 +1 @@ +../../TD5N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/U44R b/tests/yaml-test-suite/tags/error/U44R new file mode 120000 index 0000000..608be98 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/U44R @@ -0,0 +1 @@ +../../U44R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/U99R b/tests/yaml-test-suite/tags/error/U99R new file mode 120000 index 0000000..3bff89b --- /dev/null +++ b/tests/yaml-test-suite/tags/error/U99R @@ -0,0 +1 @@ +../../U99R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/W9L4 b/tests/yaml-test-suite/tags/error/W9L4 new file mode 120000 index 0000000..4eb930f --- /dev/null +++ b/tests/yaml-test-suite/tags/error/W9L4 @@ -0,0 +1 @@ +../../W9L4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/X4QW b/tests/yaml-test-suite/tags/error/X4QW new file mode 120000 index 0000000..9cb27e1 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/X4QW @@ -0,0 +1 @@ +../../X4QW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/ZCZ6 b/tests/yaml-test-suite/tags/error/ZCZ6 new file mode 120000 index 0000000..3960da6 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/ZCZ6 @@ -0,0 +1 @@ +../../ZCZ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/ZL4Z b/tests/yaml-test-suite/tags/error/ZL4Z new file mode 120000 index 0000000..c971867 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/ZL4Z @@ -0,0 +1 @@ +../../ZL4Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/ZVH3 b/tests/yaml-test-suite/tags/error/ZVH3 new file mode 120000 index 0000000..0377ab1 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/ZVH3 @@ -0,0 +1 @@ +../../ZVH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/error/ZXT5 b/tests/yaml-test-suite/tags/error/ZXT5 new file mode 120000 index 0000000..8db72b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/error/ZXT5 @@ -0,0 +1 @@ +../../ZXT5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/2XXW b/tests/yaml-test-suite/tags/explicit-key/2XXW new file mode 120000 index 0000000..5f7bb4f --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/2XXW @@ -0,0 +1 @@ +../../2XXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/35KP b/tests/yaml-test-suite/tags/explicit-key/35KP new file mode 120000 index 0000000..f82dd89 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/35KP @@ -0,0 +1 @@ +../../35KP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/5WE3 b/tests/yaml-test-suite/tags/explicit-key/5WE3 new file mode 120000 index 0000000..254a18d --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/5WE3 @@ -0,0 +1 @@ +../../5WE3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/6M2F b/tests/yaml-test-suite/tags/explicit-key/6M2F new file mode 120000 index 0000000..18acde4 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/6M2F @@ -0,0 +1 @@ +../../6M2F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/6PBE b/tests/yaml-test-suite/tags/explicit-key/6PBE new file mode 120000 index 0000000..02f1663 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/6PBE @@ -0,0 +1 @@ +../../6PBE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/7W2P b/tests/yaml-test-suite/tags/explicit-key/7W2P new file mode 120000 index 0000000..c5ad069 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/7W2P @@ -0,0 +1 @@ +../../7W2P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/A2M4 b/tests/yaml-test-suite/tags/explicit-key/A2M4 new file mode 120000 index 0000000..49d7338 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/A2M4 @@ -0,0 +1 @@ +../../A2M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/CT4Q b/tests/yaml-test-suite/tags/explicit-key/CT4Q new file mode 120000 index 0000000..7e48caf --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/CT4Q @@ -0,0 +1 @@ +../../CT4Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/DFF7 b/tests/yaml-test-suite/tags/explicit-key/DFF7 new file mode 120000 index 0000000..0b7b334 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/DFF7 @@ -0,0 +1 @@ +../../DFF7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/FRK4 b/tests/yaml-test-suite/tags/explicit-key/FRK4 new file mode 120000 index 0000000..0650a8f --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/FRK4 @@ -0,0 +1 @@ +../../FRK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/GH63 b/tests/yaml-test-suite/tags/explicit-key/GH63 new file mode 120000 index 0000000..e61a3e8 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/GH63 @@ -0,0 +1 @@ +../../GH63 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/JTV5 b/tests/yaml-test-suite/tags/explicit-key/JTV5 new file mode 120000 index 0000000..0398d7b --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/JTV5 @@ -0,0 +1 @@ +../../JTV5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/KK5P b/tests/yaml-test-suite/tags/explicit-key/KK5P new file mode 120000 index 0000000..74e9d8c --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/KK5P @@ -0,0 +1 @@ +../../KK5P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/L94M b/tests/yaml-test-suite/tags/explicit-key/L94M new file mode 120000 index 0000000..8557d0f --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/L94M @@ -0,0 +1 @@ +../../L94M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/M5DY b/tests/yaml-test-suite/tags/explicit-key/M5DY new file mode 120000 index 0000000..21b4d92 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/M5DY @@ -0,0 +1 @@ +../../M5DY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/PW8X b/tests/yaml-test-suite/tags/explicit-key/PW8X new file mode 120000 index 0000000..503f1cf --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/PW8X @@ -0,0 +1 @@ +../../PW8X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/RR7F b/tests/yaml-test-suite/tags/explicit-key/RR7F new file mode 120000 index 0000000..1413861 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/RR7F @@ -0,0 +1 @@ +../../RR7F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/S9E8 b/tests/yaml-test-suite/tags/explicit-key/S9E8 new file mode 120000 index 0000000..9911e29 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/S9E8 @@ -0,0 +1 @@ +../../S9E8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/V9D5 b/tests/yaml-test-suite/tags/explicit-key/V9D5 new file mode 120000 index 0000000..5b9b022 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/V9D5 @@ -0,0 +1 @@ +../../V9D5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/X8DW b/tests/yaml-test-suite/tags/explicit-key/X8DW new file mode 120000 index 0000000..e7b3e37 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/X8DW @@ -0,0 +1 @@ +../../X8DW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/XW4D b/tests/yaml-test-suite/tags/explicit-key/XW4D new file mode 120000 index 0000000..c9357a0 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/XW4D @@ -0,0 +1 @@ +../../XW4D \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/explicit-key/ZWK4 b/tests/yaml-test-suite/tags/explicit-key/ZWK4 new file mode 120000 index 0000000..929cf75 --- /dev/null +++ b/tests/yaml-test-suite/tags/explicit-key/ZWK4 @@ -0,0 +1 @@ +../../ZWK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/4ABK b/tests/yaml-test-suite/tags/flow/4ABK new file mode 120000 index 0000000..3b22885 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/4ABK @@ -0,0 +1 @@ +../../4ABK \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/4FJ6 b/tests/yaml-test-suite/tags/flow/4FJ6 new file mode 120000 index 0000000..cf3a0b9 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/4FJ6 @@ -0,0 +1 @@ +../../4FJ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/4H7K b/tests/yaml-test-suite/tags/flow/4H7K new file mode 120000 index 0000000..6f17aae --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/4H7K @@ -0,0 +1 @@ +../../4H7K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/4MUZ/00 b/tests/yaml-test-suite/tags/flow/4MUZ/00 new file mode 120000 index 0000000..389ae7c --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/4MUZ/00 @@ -0,0 +1 @@ +../../../4MUZ/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/4MUZ/01 b/tests/yaml-test-suite/tags/flow/4MUZ/01 new file mode 120000 index 0000000..081be4d --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/4MUZ/01 @@ -0,0 +1 @@ +../../../4MUZ/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/4MUZ/02 b/tests/yaml-test-suite/tags/flow/4MUZ/02 new file mode 120000 index 0000000..4c8fb5b --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/4MUZ/02 @@ -0,0 +1 @@ +../../../4MUZ/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/4RWC b/tests/yaml-test-suite/tags/flow/4RWC new file mode 120000 index 0000000..1af5d48 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/4RWC @@ -0,0 +1 @@ +../../4RWC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/54T7 b/tests/yaml-test-suite/tags/flow/54T7 new file mode 120000 index 0000000..b71f87b --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/54T7 @@ -0,0 +1 @@ +../../54T7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/58MP b/tests/yaml-test-suite/tags/flow/58MP new file mode 120000 index 0000000..2ac5452 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/58MP @@ -0,0 +1 @@ +../../58MP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/5C5M b/tests/yaml-test-suite/tags/flow/5C5M new file mode 120000 index 0000000..90c9768 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/5C5M @@ -0,0 +1 @@ +../../5C5M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/5KJE b/tests/yaml-test-suite/tags/flow/5KJE new file mode 120000 index 0000000..089c336 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/5KJE @@ -0,0 +1 @@ +../../5KJE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/5MUD b/tests/yaml-test-suite/tags/flow/5MUD new file mode 120000 index 0000000..d198f20 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/5MUD @@ -0,0 +1 @@ +../../5MUD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/5T43 b/tests/yaml-test-suite/tags/flow/5T43 new file mode 120000 index 0000000..83f4279 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/5T43 @@ -0,0 +1 @@ +../../5T43 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/62EZ b/tests/yaml-test-suite/tags/flow/62EZ new file mode 120000 index 0000000..1bfb7f8 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/62EZ @@ -0,0 +1 @@ +../../62EZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/652Z b/tests/yaml-test-suite/tags/flow/652Z new file mode 120000 index 0000000..18e25f6 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/652Z @@ -0,0 +1 @@ +../../652Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/6BFJ b/tests/yaml-test-suite/tags/flow/6BFJ new file mode 120000 index 0000000..740a551 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/6BFJ @@ -0,0 +1 @@ +../../6BFJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/6HB6 b/tests/yaml-test-suite/tags/flow/6HB6 new file mode 120000 index 0000000..309d8ac --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/6HB6 @@ -0,0 +1 @@ +../../6HB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/6JTT b/tests/yaml-test-suite/tags/flow/6JTT new file mode 120000 index 0000000..ca9ac94 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/6JTT @@ -0,0 +1 @@ +../../6JTT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/7TMG b/tests/yaml-test-suite/tags/flow/7TMG new file mode 120000 index 0000000..f7f83c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/7TMG @@ -0,0 +1 @@ +../../7TMG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/7ZZ5 b/tests/yaml-test-suite/tags/flow/7ZZ5 new file mode 120000 index 0000000..102d497 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/7ZZ5 @@ -0,0 +1 @@ +../../7ZZ5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/87E4 b/tests/yaml-test-suite/tags/flow/87E4 new file mode 120000 index 0000000..4106e36 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/87E4 @@ -0,0 +1 @@ +../../87E4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/8KB6 b/tests/yaml-test-suite/tags/flow/8KB6 new file mode 120000 index 0000000..a8d83c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/8KB6 @@ -0,0 +1 @@ +../../8KB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/8UDB b/tests/yaml-test-suite/tags/flow/8UDB new file mode 120000 index 0000000..f81379b --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/8UDB @@ -0,0 +1 @@ +../../8UDB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/9BXH b/tests/yaml-test-suite/tags/flow/9BXH new file mode 120000 index 0000000..9caa513 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/9BXH @@ -0,0 +1 @@ +../../9BXH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/9C9N b/tests/yaml-test-suite/tags/flow/9C9N new file mode 120000 index 0000000..9454179 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/9C9N @@ -0,0 +1 @@ +../../9C9N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/9JBA b/tests/yaml-test-suite/tags/flow/9JBA new file mode 120000 index 0000000..626c99a --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/9JBA @@ -0,0 +1 @@ +../../9JBA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/9MAG b/tests/yaml-test-suite/tags/flow/9MAG new file mode 120000 index 0000000..301f684 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/9MAG @@ -0,0 +1 @@ +../../9MAG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/9MMW b/tests/yaml-test-suite/tags/flow/9MMW new file mode 120000 index 0000000..21ddbdd --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/9MMW @@ -0,0 +1 @@ +../../9MMW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/9SA2 b/tests/yaml-test-suite/tags/flow/9SA2 new file mode 120000 index 0000000..977cd55 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/9SA2 @@ -0,0 +1 @@ +../../9SA2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/C2DT b/tests/yaml-test-suite/tags/flow/C2DT new file mode 120000 index 0000000..6fb928d --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/C2DT @@ -0,0 +1 @@ +../../C2DT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/C2SP b/tests/yaml-test-suite/tags/flow/C2SP new file mode 120000 index 0000000..570e158 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/C2SP @@ -0,0 +1 @@ +../../C2SP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/CFD4 b/tests/yaml-test-suite/tags/flow/CFD4 new file mode 120000 index 0000000..5968d4e --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/CFD4 @@ -0,0 +1 @@ +../../CFD4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/CML9 b/tests/yaml-test-suite/tags/flow/CML9 new file mode 120000 index 0000000..d511c79 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/CML9 @@ -0,0 +1 @@ +../../CML9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/CN3R b/tests/yaml-test-suite/tags/flow/CN3R new file mode 120000 index 0000000..ad8f282 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/CN3R @@ -0,0 +1 @@ +../../CN3R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/CT4Q b/tests/yaml-test-suite/tags/flow/CT4Q new file mode 120000 index 0000000..7e48caf --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/CT4Q @@ -0,0 +1 @@ +../../CT4Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/CTN5 b/tests/yaml-test-suite/tags/flow/CTN5 new file mode 120000 index 0000000..ca65a71 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/CTN5 @@ -0,0 +1 @@ +../../CTN5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/CVW2 b/tests/yaml-test-suite/tags/flow/CVW2 new file mode 120000 index 0000000..bc7dcd5 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/CVW2 @@ -0,0 +1 @@ +../../CVW2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/D88J b/tests/yaml-test-suite/tags/flow/D88J new file mode 120000 index 0000000..4be2b8e --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/D88J @@ -0,0 +1 @@ +../../D88J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/DBG4 b/tests/yaml-test-suite/tags/flow/DBG4 new file mode 120000 index 0000000..a687821 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/DBG4 @@ -0,0 +1 @@ +../../DBG4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/DFF7 b/tests/yaml-test-suite/tags/flow/DFF7 new file mode 120000 index 0000000..0b7b334 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/DFF7 @@ -0,0 +1 @@ +../../DFF7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/DHP8 b/tests/yaml-test-suite/tags/flow/DHP8 new file mode 120000 index 0000000..40fafeb --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/DHP8 @@ -0,0 +1 @@ +../../DHP8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/DK4H b/tests/yaml-test-suite/tags/flow/DK4H new file mode 120000 index 0000000..76ad197 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/DK4H @@ -0,0 +1 @@ +../../DK4H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/EHF6 b/tests/yaml-test-suite/tags/flow/EHF6 new file mode 120000 index 0000000..649f0f6 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/EHF6 @@ -0,0 +1 @@ +../../EHF6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/F3CP b/tests/yaml-test-suite/tags/flow/F3CP new file mode 120000 index 0000000..b2288a8 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/F3CP @@ -0,0 +1 @@ +../../F3CP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/FRK4 b/tests/yaml-test-suite/tags/flow/FRK4 new file mode 120000 index 0000000..0650a8f --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/FRK4 @@ -0,0 +1 @@ +../../FRK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/FUP4 b/tests/yaml-test-suite/tags/flow/FUP4 new file mode 120000 index 0000000..e2a44da --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/FUP4 @@ -0,0 +1 @@ +../../FUP4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/G5U8 b/tests/yaml-test-suite/tags/flow/G5U8 new file mode 120000 index 0000000..5ee1762 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/G5U8 @@ -0,0 +1 @@ +../../G5U8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/HM87/00 b/tests/yaml-test-suite/tags/flow/HM87/00 new file mode 120000 index 0000000..9568f47 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/HM87/00 @@ -0,0 +1 @@ +../../../HM87/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/HM87/01 b/tests/yaml-test-suite/tags/flow/HM87/01 new file mode 120000 index 0000000..3f10fd1 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/HM87/01 @@ -0,0 +1 @@ +../../../HM87/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/JR7V b/tests/yaml-test-suite/tags/flow/JR7V new file mode 120000 index 0000000..0b8da9b --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/JR7V @@ -0,0 +1 @@ +../../JR7V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/K3WX b/tests/yaml-test-suite/tags/flow/K3WX new file mode 120000 index 0000000..0e5fd82 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/K3WX @@ -0,0 +1 @@ +../../K3WX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/KS4U b/tests/yaml-test-suite/tags/flow/KS4U new file mode 120000 index 0000000..9c89f2e --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/KS4U @@ -0,0 +1 @@ +../../KS4U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/L9U5 b/tests/yaml-test-suite/tags/flow/L9U5 new file mode 120000 index 0000000..e383fda --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/L9U5 @@ -0,0 +1 @@ +../../L9U5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/LP6E b/tests/yaml-test-suite/tags/flow/LP6E new file mode 120000 index 0000000..b998ec8 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/LP6E @@ -0,0 +1 @@ +../../LP6E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/LQZ7 b/tests/yaml-test-suite/tags/flow/LQZ7 new file mode 120000 index 0000000..93c5618 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/LQZ7 @@ -0,0 +1 @@ +../../LQZ7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/LX3P b/tests/yaml-test-suite/tags/flow/LX3P new file mode 120000 index 0000000..e672510 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/LX3P @@ -0,0 +1 @@ +../../LX3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/M7NX b/tests/yaml-test-suite/tags/flow/M7NX new file mode 120000 index 0000000..00ad81e --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/M7NX @@ -0,0 +1 @@ +../../M7NX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/MXS3 b/tests/yaml-test-suite/tags/flow/MXS3 new file mode 120000 index 0000000..23ade1a --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/MXS3 @@ -0,0 +1 @@ +../../MXS3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/N782 b/tests/yaml-test-suite/tags/flow/N782 new file mode 120000 index 0000000..3fd409d --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/N782 @@ -0,0 +1 @@ +../../N782 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/NJ66 b/tests/yaml-test-suite/tags/flow/NJ66 new file mode 120000 index 0000000..b637fc3 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/NJ66 @@ -0,0 +1 @@ +../../NJ66 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/P2EQ b/tests/yaml-test-suite/tags/flow/P2EQ new file mode 120000 index 0000000..9ff8462 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/P2EQ @@ -0,0 +1 @@ +../../P2EQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/Q5MG b/tests/yaml-test-suite/tags/flow/Q5MG new file mode 120000 index 0000000..09ec0c6 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/Q5MG @@ -0,0 +1 @@ +../../Q5MG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/Q88A b/tests/yaml-test-suite/tags/flow/Q88A new file mode 120000 index 0000000..f0cb80d --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/Q88A @@ -0,0 +1 @@ +../../Q88A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/Q9WF b/tests/yaml-test-suite/tags/flow/Q9WF new file mode 120000 index 0000000..f1c846f --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/Q9WF @@ -0,0 +1 @@ +../../Q9WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/QF4Y b/tests/yaml-test-suite/tags/flow/QF4Y new file mode 120000 index 0000000..bff60ef --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/QF4Y @@ -0,0 +1 @@ +../../QF4Y \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/R52L b/tests/yaml-test-suite/tags/flow/R52L new file mode 120000 index 0000000..714fb28 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/R52L @@ -0,0 +1 @@ +../../R52L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/SBG9 b/tests/yaml-test-suite/tags/flow/SBG9 new file mode 120000 index 0000000..beea64c --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/SBG9 @@ -0,0 +1 @@ +../../SBG9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/T833 b/tests/yaml-test-suite/tags/flow/T833 new file mode 120000 index 0000000..26aefa2 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/T833 @@ -0,0 +1 @@ +../../T833 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/UDM2 b/tests/yaml-test-suite/tags/flow/UDM2 new file mode 120000 index 0000000..a50709e --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/UDM2 @@ -0,0 +1 @@ +../../UDM2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/UDR7 b/tests/yaml-test-suite/tags/flow/UDR7 new file mode 120000 index 0000000..0cf6f1f --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/UDR7 @@ -0,0 +1 @@ +../../UDR7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/UT92 b/tests/yaml-test-suite/tags/flow/UT92 new file mode 120000 index 0000000..697f678 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/UT92 @@ -0,0 +1 @@ +../../UT92 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/VJP3/00 b/tests/yaml-test-suite/tags/flow/VJP3/00 new file mode 120000 index 0000000..f1c96f6 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/VJP3/00 @@ -0,0 +1 @@ +../../../VJP3/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/VJP3/01 b/tests/yaml-test-suite/tags/flow/VJP3/01 new file mode 120000 index 0000000..3c25496 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/VJP3/01 @@ -0,0 +1 @@ +../../../VJP3/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/WZ62 b/tests/yaml-test-suite/tags/flow/WZ62 new file mode 120000 index 0000000..0815d6f --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/WZ62 @@ -0,0 +1 @@ +../../WZ62 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/X38W b/tests/yaml-test-suite/tags/flow/X38W new file mode 120000 index 0000000..2add9b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/X38W @@ -0,0 +1 @@ +../../X38W \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/YJV2 b/tests/yaml-test-suite/tags/flow/YJV2 new file mode 120000 index 0000000..1d7ba9f --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/YJV2 @@ -0,0 +1 @@ +../../YJV2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/ZF4X b/tests/yaml-test-suite/tags/flow/ZF4X new file mode 120000 index 0000000..3835fac --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/ZF4X @@ -0,0 +1 @@ +../../ZF4X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/ZK9H b/tests/yaml-test-suite/tags/flow/ZK9H new file mode 120000 index 0000000..90c65a9 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/ZK9H @@ -0,0 +1 @@ +../../ZK9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/flow/ZXT5 b/tests/yaml-test-suite/tags/flow/ZXT5 new file mode 120000 index 0000000..8db72b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/flow/ZXT5 @@ -0,0 +1 @@ +../../ZXT5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/4Q9F b/tests/yaml-test-suite/tags/folded/4Q9F new file mode 120000 index 0000000..18fb9be --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/4Q9F @@ -0,0 +1 @@ +../../4Q9F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/4QFQ b/tests/yaml-test-suite/tags/folded/4QFQ new file mode 120000 index 0000000..47aecda --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/4QFQ @@ -0,0 +1 @@ +../../4QFQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/5BVJ b/tests/yaml-test-suite/tags/folded/5BVJ new file mode 120000 index 0000000..fccc91c --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/5BVJ @@ -0,0 +1 @@ +../../5BVJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/5LLU b/tests/yaml-test-suite/tags/folded/5LLU new file mode 120000 index 0000000..40abecd --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/5LLU @@ -0,0 +1 @@ +../../5LLU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/6VJK b/tests/yaml-test-suite/tags/folded/6VJK new file mode 120000 index 0000000..02bf6b1 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/6VJK @@ -0,0 +1 @@ +../../6VJK \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/735Y b/tests/yaml-test-suite/tags/folded/735Y new file mode 120000 index 0000000..8c5413d --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/735Y @@ -0,0 +1 @@ +../../735Y \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/7T8X b/tests/yaml-test-suite/tags/folded/7T8X new file mode 120000 index 0000000..92ecbb0 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/7T8X @@ -0,0 +1 @@ +../../7T8X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/93WF b/tests/yaml-test-suite/tags/folded/93WF new file mode 120000 index 0000000..1c69d35 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/93WF @@ -0,0 +1 @@ +../../93WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/96L6 b/tests/yaml-test-suite/tags/folded/96L6 new file mode 120000 index 0000000..77a82f7 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/96L6 @@ -0,0 +1 @@ +../../96L6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/B3HG b/tests/yaml-test-suite/tags/folded/B3HG new file mode 120000 index 0000000..3fce415 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/B3HG @@ -0,0 +1 @@ +../../B3HG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/DK3J b/tests/yaml-test-suite/tags/folded/DK3J new file mode 120000 index 0000000..5582781 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/DK3J @@ -0,0 +1 @@ +../../DK3J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/F6MC b/tests/yaml-test-suite/tags/folded/F6MC new file mode 120000 index 0000000..b8f3f1f --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/F6MC @@ -0,0 +1 @@ +../../F6MC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/FP8R b/tests/yaml-test-suite/tags/folded/FP8R new file mode 120000 index 0000000..1ebaaca --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/FP8R @@ -0,0 +1 @@ +../../FP8R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/G992 b/tests/yaml-test-suite/tags/folded/G992 new file mode 120000 index 0000000..fd52e80 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/G992 @@ -0,0 +1 @@ +../../G992 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/HMK4 b/tests/yaml-test-suite/tags/folded/HMK4 new file mode 120000 index 0000000..fbe447e --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/HMK4 @@ -0,0 +1 @@ +../../HMK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/K527 b/tests/yaml-test-suite/tags/folded/K527 new file mode 120000 index 0000000..64b643a --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/K527 @@ -0,0 +1 @@ +../../K527 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/K858 b/tests/yaml-test-suite/tags/folded/K858 new file mode 120000 index 0000000..e066881 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/K858 @@ -0,0 +1 @@ +../../K858 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/M5C3 b/tests/yaml-test-suite/tags/folded/M5C3 new file mode 120000 index 0000000..b94bb88 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/M5C3 @@ -0,0 +1 @@ +../../M5C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/MJS9 b/tests/yaml-test-suite/tags/folded/MJS9 new file mode 120000 index 0000000..7e30ed5 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/MJS9 @@ -0,0 +1 @@ +../../MJS9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/MZX3 b/tests/yaml-test-suite/tags/folded/MZX3 new file mode 120000 index 0000000..58b9447 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/MZX3 @@ -0,0 +1 @@ +../../MZX3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/P2AD b/tests/yaml-test-suite/tags/folded/P2AD new file mode 120000 index 0000000..67d7bd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/P2AD @@ -0,0 +1 @@ +../../P2AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/R4YG b/tests/yaml-test-suite/tags/folded/R4YG new file mode 120000 index 0000000..eb5022e --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/R4YG @@ -0,0 +1 @@ +../../R4YG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/RZP5 b/tests/yaml-test-suite/tags/folded/RZP5 new file mode 120000 index 0000000..4045966 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/RZP5 @@ -0,0 +1 @@ +../../RZP5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/S4GJ b/tests/yaml-test-suite/tags/folded/S4GJ new file mode 120000 index 0000000..f0ce985 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/S4GJ @@ -0,0 +1 @@ +../../S4GJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/S98Z b/tests/yaml-test-suite/tags/folded/S98Z new file mode 120000 index 0000000..92f9894 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/S98Z @@ -0,0 +1 @@ +../../S98Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/TS54 b/tests/yaml-test-suite/tags/folded/TS54 new file mode 120000 index 0000000..dc77d22 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/TS54 @@ -0,0 +1 @@ +../../TS54 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/X4QW b/tests/yaml-test-suite/tags/folded/X4QW new file mode 120000 index 0000000..9cb27e1 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/X4QW @@ -0,0 +1 @@ +../../X4QW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/XW4D b/tests/yaml-test-suite/tags/folded/XW4D new file mode 120000 index 0000000..c9357a0 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/XW4D @@ -0,0 +1 @@ +../../XW4D \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/folded/Z67P b/tests/yaml-test-suite/tags/folded/Z67P new file mode 120000 index 0000000..23a62f4 --- /dev/null +++ b/tests/yaml-test-suite/tags/folded/Z67P @@ -0,0 +1 @@ +../../Z67P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/3HFZ b/tests/yaml-test-suite/tags/footer/3HFZ new file mode 120000 index 0000000..ef5f13c --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/3HFZ @@ -0,0 +1 @@ +../../3HFZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/7Z25 b/tests/yaml-test-suite/tags/footer/7Z25 new file mode 120000 index 0000000..09e16e5 --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/7Z25 @@ -0,0 +1 @@ +../../7Z25 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/9HCY b/tests/yaml-test-suite/tags/footer/9HCY new file mode 120000 index 0000000..180c195 --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/9HCY @@ -0,0 +1 @@ +../../9HCY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/EB22 b/tests/yaml-test-suite/tags/footer/EB22 new file mode 120000 index 0000000..17f61ac --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/EB22 @@ -0,0 +1 @@ +../../EB22 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/HWV9 b/tests/yaml-test-suite/tags/footer/HWV9 new file mode 120000 index 0000000..7d91a34 --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/HWV9 @@ -0,0 +1 @@ +../../HWV9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/M7A3 b/tests/yaml-test-suite/tags/footer/M7A3 new file mode 120000 index 0000000..e7b888b --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/M7A3 @@ -0,0 +1 @@ +../../M7A3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/N782 b/tests/yaml-test-suite/tags/footer/N782 new file mode 120000 index 0000000..3fd409d --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/N782 @@ -0,0 +1 @@ +../../N782 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/QT73 b/tests/yaml-test-suite/tags/footer/QT73 new file mode 120000 index 0000000..a04d162 --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/QT73 @@ -0,0 +1 @@ +../../QT73 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/RTP8 b/tests/yaml-test-suite/tags/footer/RTP8 new file mode 120000 index 0000000..f78c6ea --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/RTP8 @@ -0,0 +1 @@ +../../RTP8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/RXY3 b/tests/yaml-test-suite/tags/footer/RXY3 new file mode 120000 index 0000000..39962b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/RXY3 @@ -0,0 +1 @@ +../../RXY3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/S4T7 b/tests/yaml-test-suite/tags/footer/S4T7 new file mode 120000 index 0000000..db78738 --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/S4T7 @@ -0,0 +1 @@ +../../S4T7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/UT92 b/tests/yaml-test-suite/tags/footer/UT92 new file mode 120000 index 0000000..697f678 --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/UT92 @@ -0,0 +1 @@ +../../UT92 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/footer/W4TN b/tests/yaml-test-suite/tags/footer/W4TN new file mode 120000 index 0000000..51978f9 --- /dev/null +++ b/tests/yaml-test-suite/tags/footer/W4TN @@ -0,0 +1 @@ +../../W4TN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/2LFX b/tests/yaml-test-suite/tags/header/2LFX new file mode 120000 index 0000000..b9b99ec --- /dev/null +++ b/tests/yaml-test-suite/tags/header/2LFX @@ -0,0 +1 @@ +../../2LFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/35KP b/tests/yaml-test-suite/tags/header/35KP new file mode 120000 index 0000000..f82dd89 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/35KP @@ -0,0 +1 @@ +../../35KP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/5TRB b/tests/yaml-test-suite/tags/header/5TRB new file mode 120000 index 0000000..e57281c --- /dev/null +++ b/tests/yaml-test-suite/tags/header/5TRB @@ -0,0 +1 @@ +../../5TRB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/6LVF b/tests/yaml-test-suite/tags/header/6LVF new file mode 120000 index 0000000..375a605 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/6LVF @@ -0,0 +1 @@ +../../6LVF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/6XDY b/tests/yaml-test-suite/tags/header/6XDY new file mode 120000 index 0000000..d07c199 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/6XDY @@ -0,0 +1 @@ +../../6XDY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/6ZKB b/tests/yaml-test-suite/tags/header/6ZKB new file mode 120000 index 0000000..a10de7c --- /dev/null +++ b/tests/yaml-test-suite/tags/header/6ZKB @@ -0,0 +1 @@ +../../6ZKB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/9DXL b/tests/yaml-test-suite/tags/header/9DXL new file mode 120000 index 0000000..a430ab1 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/9DXL @@ -0,0 +1 @@ +../../9DXL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/9KBC b/tests/yaml-test-suite/tags/header/9KBC new file mode 120000 index 0000000..06fe799 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/9KBC @@ -0,0 +1 @@ +../../9KBC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/CXX2 b/tests/yaml-test-suite/tags/header/CXX2 new file mode 120000 index 0000000..093ffc9 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/CXX2 @@ -0,0 +1 @@ +../../CXX2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/FTA2 b/tests/yaml-test-suite/tags/header/FTA2 new file mode 120000 index 0000000..0e62940 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/FTA2 @@ -0,0 +1 @@ +../../FTA2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/JHB9 b/tests/yaml-test-suite/tags/header/JHB9 new file mode 120000 index 0000000..574e22a --- /dev/null +++ b/tests/yaml-test-suite/tags/header/JHB9 @@ -0,0 +1 @@ +../../JHB9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/K54U b/tests/yaml-test-suite/tags/header/K54U new file mode 120000 index 0000000..a1f2793 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/K54U @@ -0,0 +1 @@ +../../K54U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/KSS4 b/tests/yaml-test-suite/tags/header/KSS4 new file mode 120000 index 0000000..64e1284 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/KSS4 @@ -0,0 +1 @@ +../../KSS4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/N782 b/tests/yaml-test-suite/tags/header/N782 new file mode 120000 index 0000000..3fd409d --- /dev/null +++ b/tests/yaml-test-suite/tags/header/N782 @@ -0,0 +1 @@ +../../N782 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/P76L b/tests/yaml-test-suite/tags/header/P76L new file mode 120000 index 0000000..74b6703 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/P76L @@ -0,0 +1 @@ +../../P76L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/PUW8 b/tests/yaml-test-suite/tags/header/PUW8 new file mode 120000 index 0000000..d518664 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/PUW8 @@ -0,0 +1 @@ +../../PUW8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/RTP8 b/tests/yaml-test-suite/tags/header/RTP8 new file mode 120000 index 0000000..f78c6ea --- /dev/null +++ b/tests/yaml-test-suite/tags/header/RTP8 @@ -0,0 +1 @@ +../../RTP8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/RZT7 b/tests/yaml-test-suite/tags/header/RZT7 new file mode 120000 index 0000000..84ae693 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/RZT7 @@ -0,0 +1 @@ +../../RZT7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/U3C3 b/tests/yaml-test-suite/tags/header/U3C3 new file mode 120000 index 0000000..f8c5d39 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/U3C3 @@ -0,0 +1 @@ +../../U3C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/U9NS b/tests/yaml-test-suite/tags/header/U9NS new file mode 120000 index 0000000..9d30926 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/U9NS @@ -0,0 +1 @@ +../../U9NS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/UT92 b/tests/yaml-test-suite/tags/header/UT92 new file mode 120000 index 0000000..697f678 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/UT92 @@ -0,0 +1 @@ +../../UT92 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/W4TN b/tests/yaml-test-suite/tags/header/W4TN new file mode 120000 index 0000000..51978f9 --- /dev/null +++ b/tests/yaml-test-suite/tags/header/W4TN @@ -0,0 +1 @@ +../../W4TN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/header/Z9M4 b/tests/yaml-test-suite/tags/header/Z9M4 new file mode 120000 index 0000000..44e459e --- /dev/null +++ b/tests/yaml-test-suite/tags/header/Z9M4 @@ -0,0 +1 @@ +../../Z9M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/4HVU b/tests/yaml-test-suite/tags/indent/4HVU new file mode 120000 index 0000000..175cb97 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/4HVU @@ -0,0 +1 @@ +../../4HVU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/4WA9 b/tests/yaml-test-suite/tags/indent/4WA9 new file mode 120000 index 0000000..fe92dcb --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/4WA9 @@ -0,0 +1 @@ +../../4WA9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/6CA3 b/tests/yaml-test-suite/tags/indent/6CA3 new file mode 120000 index 0000000..c298bc0 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/6CA3 @@ -0,0 +1 @@ +../../6CA3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/6HB6 b/tests/yaml-test-suite/tags/indent/6HB6 new file mode 120000 index 0000000..309d8ac --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/6HB6 @@ -0,0 +1 @@ +../../6HB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/96NN/00 b/tests/yaml-test-suite/tags/indent/96NN/00 new file mode 120000 index 0000000..a63c408 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/96NN/00 @@ -0,0 +1 @@ +../../../96NN/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/96NN/01 b/tests/yaml-test-suite/tags/indent/96NN/01 new file mode 120000 index 0000000..fff2c5d --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/96NN/01 @@ -0,0 +1 @@ +../../../96NN/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/9C9N b/tests/yaml-test-suite/tags/indent/9C9N new file mode 120000 index 0000000..9454179 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/9C9N @@ -0,0 +1 @@ +../../9C9N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/9FMG b/tests/yaml-test-suite/tags/indent/9FMG new file mode 120000 index 0000000..a531908 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/9FMG @@ -0,0 +1 @@ +../../9FMG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/9J7A b/tests/yaml-test-suite/tags/indent/9J7A new file mode 120000 index 0000000..c828266 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/9J7A @@ -0,0 +1 @@ +../../9J7A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/A2M4 b/tests/yaml-test-suite/tags/indent/A2M4 new file mode 120000 index 0000000..49d7338 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/A2M4 @@ -0,0 +1 @@ +../../A2M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/AZ63 b/tests/yaml-test-suite/tags/indent/AZ63 new file mode 120000 index 0000000..e6435c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/AZ63 @@ -0,0 +1 @@ +../../AZ63 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/BU8L b/tests/yaml-test-suite/tags/indent/BU8L new file mode 120000 index 0000000..4134679 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/BU8L @@ -0,0 +1 @@ +../../BU8L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/D83L b/tests/yaml-test-suite/tags/indent/D83L new file mode 120000 index 0000000..ccad193 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/D83L @@ -0,0 +1 @@ +../../D83L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/00 b/tests/yaml-test-suite/tags/indent/DK95/00 new file mode 120000 index 0000000..895dea3 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/00 @@ -0,0 +1 @@ +../../../DK95/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/01 b/tests/yaml-test-suite/tags/indent/DK95/01 new file mode 120000 index 0000000..8d5bb38 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/01 @@ -0,0 +1 @@ +../../../DK95/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/02 b/tests/yaml-test-suite/tags/indent/DK95/02 new file mode 120000 index 0000000..aad61a4 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/02 @@ -0,0 +1 @@ +../../../DK95/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/03 b/tests/yaml-test-suite/tags/indent/DK95/03 new file mode 120000 index 0000000..d4994df --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/03 @@ -0,0 +1 @@ +../../../DK95/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/04 b/tests/yaml-test-suite/tags/indent/DK95/04 new file mode 120000 index 0000000..e1dfef1 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/04 @@ -0,0 +1 @@ +../../../DK95/04 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/05 b/tests/yaml-test-suite/tags/indent/DK95/05 new file mode 120000 index 0000000..cea4bd0 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/05 @@ -0,0 +1 @@ +../../../DK95/05 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/06 b/tests/yaml-test-suite/tags/indent/DK95/06 new file mode 120000 index 0000000..9b01d12 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/06 @@ -0,0 +1 @@ +../../../DK95/06 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/07 b/tests/yaml-test-suite/tags/indent/DK95/07 new file mode 120000 index 0000000..6ec0e3d --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/07 @@ -0,0 +1 @@ +../../../DK95/07 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DK95/08 b/tests/yaml-test-suite/tags/indent/DK95/08 new file mode 120000 index 0000000..f8505bc --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DK95/08 @@ -0,0 +1 @@ +../../../DK95/08 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/DMG6 b/tests/yaml-test-suite/tags/indent/DMG6 new file mode 120000 index 0000000..e9b76e8 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/DMG6 @@ -0,0 +1 @@ +../../DMG6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/EW3V b/tests/yaml-test-suite/tags/indent/EW3V new file mode 120000 index 0000000..edaf877 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/EW3V @@ -0,0 +1 @@ +../../EW3V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/F6MC b/tests/yaml-test-suite/tags/indent/F6MC new file mode 120000 index 0000000..b8f3f1f --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/F6MC @@ -0,0 +1 @@ +../../F6MC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/FP8R b/tests/yaml-test-suite/tags/indent/FP8R new file mode 120000 index 0000000..1ebaaca --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/FP8R @@ -0,0 +1 @@ +../../FP8R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/H7J7 b/tests/yaml-test-suite/tags/indent/H7J7 new file mode 120000 index 0000000..6eff103 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/H7J7 @@ -0,0 +1 @@ +../../H7J7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/JKF3 b/tests/yaml-test-suite/tags/indent/JKF3 new file mode 120000 index 0000000..9a1ab00 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/JKF3 @@ -0,0 +1 @@ +../../JKF3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/M5C3 b/tests/yaml-test-suite/tags/indent/M5C3 new file mode 120000 index 0000000..b94bb88 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/M5C3 @@ -0,0 +1 @@ +../../M5C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/M6YH b/tests/yaml-test-suite/tags/indent/M6YH new file mode 120000 index 0000000..5785c32 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/M6YH @@ -0,0 +1 @@ +../../M6YH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/N4JP b/tests/yaml-test-suite/tags/indent/N4JP new file mode 120000 index 0000000..ab5b5ac --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/N4JP @@ -0,0 +1 @@ +../../N4JP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/QB6E b/tests/yaml-test-suite/tags/indent/QB6E new file mode 120000 index 0000000..2699c26 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/QB6E @@ -0,0 +1 @@ +../../QB6E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/RLU9 b/tests/yaml-test-suite/tags/indent/RLU9 new file mode 120000 index 0000000..75ec4e7 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/RLU9 @@ -0,0 +1 @@ +../../RLU9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/SKE5 b/tests/yaml-test-suite/tags/indent/SKE5 new file mode 120000 index 0000000..3bbdc04 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/SKE5 @@ -0,0 +1 @@ +../../SKE5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/U44R b/tests/yaml-test-suite/tags/indent/U44R new file mode 120000 index 0000000..608be98 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/U44R @@ -0,0 +1 @@ +../../U44R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/UV7Q b/tests/yaml-test-suite/tags/indent/UV7Q new file mode 120000 index 0000000..cd525ab --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/UV7Q @@ -0,0 +1 @@ +../../UV7Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/VJP3/00 b/tests/yaml-test-suite/tags/indent/VJP3/00 new file mode 120000 index 0000000..f1c96f6 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/VJP3/00 @@ -0,0 +1 @@ +../../../VJP3/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/VJP3/01 b/tests/yaml-test-suite/tags/indent/VJP3/01 new file mode 120000 index 0000000..3c25496 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/VJP3/01 @@ -0,0 +1 @@ +../../../VJP3/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/Z67P b/tests/yaml-test-suite/tags/indent/Z67P new file mode 120000 index 0000000..23a62f4 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/Z67P @@ -0,0 +1 @@ +../../Z67P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/ZK9H b/tests/yaml-test-suite/tags/indent/ZK9H new file mode 120000 index 0000000..90c65a9 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/ZK9H @@ -0,0 +1 @@ +../../ZK9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/indent/ZVH3 b/tests/yaml-test-suite/tags/indent/ZVH3 new file mode 120000 index 0000000..0377ab1 --- /dev/null +++ b/tests/yaml-test-suite/tags/indent/ZVH3 @@ -0,0 +1 @@ +../../ZVH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/libyaml-err/4QFQ b/tests/yaml-test-suite/tags/libyaml-err/4QFQ new file mode 120000 index 0000000..47aecda --- /dev/null +++ b/tests/yaml-test-suite/tags/libyaml-err/4QFQ @@ -0,0 +1 @@ +../../4QFQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/libyaml-err/6BCT b/tests/yaml-test-suite/tags/libyaml-err/6BCT new file mode 120000 index 0000000..443199a --- /dev/null +++ b/tests/yaml-test-suite/tags/libyaml-err/6BCT @@ -0,0 +1 @@ +../../6BCT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/libyaml-err/A2M4 b/tests/yaml-test-suite/tags/libyaml-err/A2M4 new file mode 120000 index 0000000..49d7338 --- /dev/null +++ b/tests/yaml-test-suite/tags/libyaml-err/A2M4 @@ -0,0 +1 @@ +../../A2M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/libyaml-err/R4YG b/tests/yaml-test-suite/tags/libyaml-err/R4YG new file mode 120000 index 0000000..eb5022e --- /dev/null +++ b/tests/yaml-test-suite/tags/libyaml-err/R4YG @@ -0,0 +1 @@ +../../R4YG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/2G84/00 b/tests/yaml-test-suite/tags/literal/2G84/00 new file mode 120000 index 0000000..e2879bd --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/2G84/00 @@ -0,0 +1 @@ +../../../2G84/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/2G84/01 b/tests/yaml-test-suite/tags/literal/2G84/01 new file mode 120000 index 0000000..0df7757 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/2G84/01 @@ -0,0 +1 @@ +../../../2G84/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/2G84/02 b/tests/yaml-test-suite/tags/literal/2G84/02 new file mode 120000 index 0000000..a517021 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/2G84/02 @@ -0,0 +1 @@ +../../../2G84/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/2G84/03 b/tests/yaml-test-suite/tags/literal/2G84/03 new file mode 120000 index 0000000..61bc439 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/2G84/03 @@ -0,0 +1 @@ +../../../2G84/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/4QFQ b/tests/yaml-test-suite/tags/literal/4QFQ new file mode 120000 index 0000000..47aecda --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/4QFQ @@ -0,0 +1 @@ +../../4QFQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/4WA9 b/tests/yaml-test-suite/tags/literal/4WA9 new file mode 120000 index 0000000..fe92dcb --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/4WA9 @@ -0,0 +1 @@ +../../4WA9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/4ZYM b/tests/yaml-test-suite/tags/literal/4ZYM new file mode 120000 index 0000000..a5d6035 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/4ZYM @@ -0,0 +1 @@ +../../4ZYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/5BVJ b/tests/yaml-test-suite/tags/literal/5BVJ new file mode 120000 index 0000000..fccc91c --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/5BVJ @@ -0,0 +1 @@ +../../5BVJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/5GBF b/tests/yaml-test-suite/tags/literal/5GBF new file mode 120000 index 0000000..3fe583f --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/5GBF @@ -0,0 +1 @@ +../../5GBF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/5WE3 b/tests/yaml-test-suite/tags/literal/5WE3 new file mode 120000 index 0000000..254a18d --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/5WE3 @@ -0,0 +1 @@ +../../5WE3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/6FWR b/tests/yaml-test-suite/tags/literal/6FWR new file mode 120000 index 0000000..b03f3eb --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/6FWR @@ -0,0 +1 @@ +../../6FWR \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/6JQW b/tests/yaml-test-suite/tags/literal/6JQW new file mode 120000 index 0000000..3c14590 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/6JQW @@ -0,0 +1 @@ +../../6JQW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/753E b/tests/yaml-test-suite/tags/literal/753E new file mode 120000 index 0000000..3e8a0f8 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/753E @@ -0,0 +1 @@ +../../753E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/96NN/00 b/tests/yaml-test-suite/tags/literal/96NN/00 new file mode 120000 index 0000000..a63c408 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/96NN/00 @@ -0,0 +1 @@ +../../../96NN/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/96NN/01 b/tests/yaml-test-suite/tags/literal/96NN/01 new file mode 120000 index 0000000..fff2c5d --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/96NN/01 @@ -0,0 +1 @@ +../../../96NN/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/A6F9 b/tests/yaml-test-suite/tags/literal/A6F9 new file mode 120000 index 0000000..4569ec9 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/A6F9 @@ -0,0 +1 @@ +../../A6F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/D83L b/tests/yaml-test-suite/tags/literal/D83L new file mode 120000 index 0000000..ccad193 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/D83L @@ -0,0 +1 @@ +../../D83L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/DWX9 b/tests/yaml-test-suite/tags/literal/DWX9 new file mode 120000 index 0000000..091d706 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/DWX9 @@ -0,0 +1 @@ +../../DWX9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/F8F9 b/tests/yaml-test-suite/tags/literal/F8F9 new file mode 120000 index 0000000..9d5b9da --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/F8F9 @@ -0,0 +1 @@ +../../F8F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/H2RW b/tests/yaml-test-suite/tags/literal/H2RW new file mode 120000 index 0000000..44883ed --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/H2RW @@ -0,0 +1 @@ +../../H2RW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/HMK4 b/tests/yaml-test-suite/tags/literal/HMK4 new file mode 120000 index 0000000..fbe447e --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/HMK4 @@ -0,0 +1 @@ +../../HMK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/JEF9/00 b/tests/yaml-test-suite/tags/literal/JEF9/00 new file mode 120000 index 0000000..3d3df82 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/JEF9/00 @@ -0,0 +1 @@ +../../../JEF9/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/JEF9/01 b/tests/yaml-test-suite/tags/literal/JEF9/01 new file mode 120000 index 0000000..fb0a4e2 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/JEF9/01 @@ -0,0 +1 @@ +../../../JEF9/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/JEF9/02 b/tests/yaml-test-suite/tags/literal/JEF9/02 new file mode 120000 index 0000000..0418803 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/JEF9/02 @@ -0,0 +1 @@ +../../../JEF9/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/K858 b/tests/yaml-test-suite/tags/literal/K858 new file mode 120000 index 0000000..e066881 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/K858 @@ -0,0 +1 @@ +../../K858 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/M29M b/tests/yaml-test-suite/tags/literal/M29M new file mode 120000 index 0000000..6a2ae4d --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/M29M @@ -0,0 +1 @@ +../../M29M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/M5C3 b/tests/yaml-test-suite/tags/literal/M5C3 new file mode 120000 index 0000000..b94bb88 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/M5C3 @@ -0,0 +1 @@ +../../M5C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/M9B4 b/tests/yaml-test-suite/tags/literal/M9B4 new file mode 120000 index 0000000..14843be --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/M9B4 @@ -0,0 +1 @@ +../../M9B4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/MYW6 b/tests/yaml-test-suite/tags/literal/MYW6 new file mode 120000 index 0000000..1c9c6c1 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/MYW6 @@ -0,0 +1 @@ +../../MYW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/P2AD b/tests/yaml-test-suite/tags/literal/P2AD new file mode 120000 index 0000000..67d7bd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/P2AD @@ -0,0 +1 @@ +../../P2AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/R4YG b/tests/yaml-test-suite/tags/literal/R4YG new file mode 120000 index 0000000..eb5022e --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/R4YG @@ -0,0 +1 @@ +../../R4YG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/RZT7 b/tests/yaml-test-suite/tags/literal/RZT7 new file mode 120000 index 0000000..84ae693 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/RZT7 @@ -0,0 +1 @@ +../../RZT7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/T26H b/tests/yaml-test-suite/tags/literal/T26H new file mode 120000 index 0000000..f893b31 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/T26H @@ -0,0 +1 @@ +../../T26H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/T5N4 b/tests/yaml-test-suite/tags/literal/T5N4 new file mode 120000 index 0000000..0bb9caa --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/T5N4 @@ -0,0 +1 @@ +../../T5N4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/UGM3 b/tests/yaml-test-suite/tags/literal/UGM3 new file mode 120000 index 0000000..46c4b5f --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/UGM3 @@ -0,0 +1 @@ +../../UGM3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/W42U b/tests/yaml-test-suite/tags/literal/W42U new file mode 120000 index 0000000..3683162 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/W42U @@ -0,0 +1 @@ +../../W42U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/W9L4 b/tests/yaml-test-suite/tags/literal/W9L4 new file mode 120000 index 0000000..4eb930f --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/W9L4 @@ -0,0 +1 @@ +../../W9L4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/XV9V b/tests/yaml-test-suite/tags/literal/XV9V new file mode 120000 index 0000000..dfb43bd --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/XV9V @@ -0,0 +1 @@ +../../XV9V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/literal/Z67P b/tests/yaml-test-suite/tags/literal/Z67P new file mode 120000 index 0000000..23a62f4 --- /dev/null +++ b/tests/yaml-test-suite/tags/literal/Z67P @@ -0,0 +1 @@ +../../Z67P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/local-tag/5TYM b/tests/yaml-test-suite/tags/local-tag/5TYM new file mode 120000 index 0000000..a004e81 --- /dev/null +++ b/tests/yaml-test-suite/tags/local-tag/5TYM @@ -0,0 +1 @@ +../../5TYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/local-tag/6CK3 b/tests/yaml-test-suite/tags/local-tag/6CK3 new file mode 120000 index 0000000..f62764d --- /dev/null +++ b/tests/yaml-test-suite/tags/local-tag/6CK3 @@ -0,0 +1 @@ +../../6CK3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/local-tag/6WLZ b/tests/yaml-test-suite/tags/local-tag/6WLZ new file mode 120000 index 0000000..290c70c --- /dev/null +++ b/tests/yaml-test-suite/tags/local-tag/6WLZ @@ -0,0 +1 @@ +../../6WLZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/local-tag/9WXW b/tests/yaml-test-suite/tags/local-tag/9WXW new file mode 120000 index 0000000..ffcfb6e --- /dev/null +++ b/tests/yaml-test-suite/tags/local-tag/9WXW @@ -0,0 +1 @@ +../../9WXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/local-tag/C4HZ b/tests/yaml-test-suite/tags/local-tag/C4HZ new file mode 120000 index 0000000..02a2837 --- /dev/null +++ b/tests/yaml-test-suite/tags/local-tag/C4HZ @@ -0,0 +1 @@ +../../C4HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/local-tag/CUP7 b/tests/yaml-test-suite/tags/local-tag/CUP7 new file mode 120000 index 0000000..01e2dd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/local-tag/CUP7 @@ -0,0 +1 @@ +../../CUP7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/local-tag/M5C3 b/tests/yaml-test-suite/tags/local-tag/M5C3 new file mode 120000 index 0000000..b94bb88 --- /dev/null +++ b/tests/yaml-test-suite/tags/local-tag/M5C3 @@ -0,0 +1 @@ +../../M5C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/local-tag/Z67P b/tests/yaml-test-suite/tags/local-tag/Z67P new file mode 120000 index 0000000..23a62f4 --- /dev/null +++ b/tests/yaml-test-suite/tags/local-tag/Z67P @@ -0,0 +1 @@ +../../Z67P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/229Q b/tests/yaml-test-suite/tags/mapping/229Q new file mode 120000 index 0000000..398e6d3 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/229Q @@ -0,0 +1 @@ +../../229Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/236B b/tests/yaml-test-suite/tags/mapping/236B new file mode 120000 index 0000000..69de3e1 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/236B @@ -0,0 +1 @@ +../../236B \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/26DV b/tests/yaml-test-suite/tags/mapping/26DV new file mode 120000 index 0000000..26960df --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/26DV @@ -0,0 +1 @@ +../../26DV \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/2CMS b/tests/yaml-test-suite/tags/mapping/2CMS new file mode 120000 index 0000000..4b8ae22 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/2CMS @@ -0,0 +1 @@ +../../2CMS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/2EBW b/tests/yaml-test-suite/tags/mapping/2EBW new file mode 120000 index 0000000..4162261 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/2EBW @@ -0,0 +1 @@ +../../2EBW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/2JQS b/tests/yaml-test-suite/tags/mapping/2JQS new file mode 120000 index 0000000..c89c89e --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/2JQS @@ -0,0 +1 @@ +../../2JQS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/2SXE b/tests/yaml-test-suite/tags/mapping/2SXE new file mode 120000 index 0000000..fc24492 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/2SXE @@ -0,0 +1 @@ +../../2SXE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/2XXW b/tests/yaml-test-suite/tags/mapping/2XXW new file mode 120000 index 0000000..5f7bb4f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/2XXW @@ -0,0 +1 @@ +../../2XXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/35KP b/tests/yaml-test-suite/tags/mapping/35KP new file mode 120000 index 0000000..f82dd89 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/35KP @@ -0,0 +1 @@ +../../35KP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/36F6 b/tests/yaml-test-suite/tags/mapping/36F6 new file mode 120000 index 0000000..26daf62 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/36F6 @@ -0,0 +1 @@ +../../36F6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/3GZX b/tests/yaml-test-suite/tags/mapping/3GZX new file mode 120000 index 0000000..9ed5af1 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/3GZX @@ -0,0 +1 @@ +../../3GZX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/4ABK b/tests/yaml-test-suite/tags/mapping/4ABK new file mode 120000 index 0000000..3b22885 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/4ABK @@ -0,0 +1 @@ +../../4ABK \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/4EJS b/tests/yaml-test-suite/tags/mapping/4EJS new file mode 120000 index 0000000..7a45c9b --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/4EJS @@ -0,0 +1 @@ +../../4EJS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/4FJ6 b/tests/yaml-test-suite/tags/mapping/4FJ6 new file mode 120000 index 0000000..cf3a0b9 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/4FJ6 @@ -0,0 +1 @@ +../../4FJ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/4JVG b/tests/yaml-test-suite/tags/mapping/4JVG new file mode 120000 index 0000000..fe22b29 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/4JVG @@ -0,0 +1 @@ +../../4JVG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/4MUZ/00 b/tests/yaml-test-suite/tags/mapping/4MUZ/00 new file mode 120000 index 0000000..389ae7c --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/4MUZ/00 @@ -0,0 +1 @@ +../../../4MUZ/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/4MUZ/01 b/tests/yaml-test-suite/tags/mapping/4MUZ/01 new file mode 120000 index 0000000..081be4d --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/4MUZ/01 @@ -0,0 +1 @@ +../../../4MUZ/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/4MUZ/02 b/tests/yaml-test-suite/tags/mapping/4MUZ/02 new file mode 120000 index 0000000..4c8fb5b --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/4MUZ/02 @@ -0,0 +1 @@ +../../../4MUZ/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/4UYU b/tests/yaml-test-suite/tags/mapping/4UYU new file mode 120000 index 0000000..75bcad9 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/4UYU @@ -0,0 +1 @@ +../../4UYU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/54T7 b/tests/yaml-test-suite/tags/mapping/54T7 new file mode 120000 index 0000000..b71f87b --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/54T7 @@ -0,0 +1 @@ +../../54T7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/57H4 b/tests/yaml-test-suite/tags/mapping/57H4 new file mode 120000 index 0000000..2c0bfd1 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/57H4 @@ -0,0 +1 @@ +../../57H4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/58MP b/tests/yaml-test-suite/tags/mapping/58MP new file mode 120000 index 0000000..2ac5452 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/58MP @@ -0,0 +1 @@ +../../58MP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/5C5M b/tests/yaml-test-suite/tags/mapping/5C5M new file mode 120000 index 0000000..90c9768 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/5C5M @@ -0,0 +1 @@ +../../5C5M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/5MUD b/tests/yaml-test-suite/tags/mapping/5MUD new file mode 120000 index 0000000..d198f20 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/5MUD @@ -0,0 +1 @@ +../../5MUD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/5NYZ b/tests/yaml-test-suite/tags/mapping/5NYZ new file mode 120000 index 0000000..4bd15d0 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/5NYZ @@ -0,0 +1 @@ +../../5NYZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/5T43 b/tests/yaml-test-suite/tags/mapping/5T43 new file mode 120000 index 0000000..83f4279 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/5T43 @@ -0,0 +1 @@ +../../5T43 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/5U3A b/tests/yaml-test-suite/tags/mapping/5U3A new file mode 120000 index 0000000..0f257b0 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/5U3A @@ -0,0 +1 @@ +../../5U3A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/5WE3 b/tests/yaml-test-suite/tags/mapping/5WE3 new file mode 120000 index 0000000..254a18d --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/5WE3 @@ -0,0 +1 @@ +../../5WE3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/62EZ b/tests/yaml-test-suite/tags/mapping/62EZ new file mode 120000 index 0000000..1bfb7f8 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/62EZ @@ -0,0 +1 @@ +../../62EZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/6BFJ b/tests/yaml-test-suite/tags/mapping/6BFJ new file mode 120000 index 0000000..740a551 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/6BFJ @@ -0,0 +1 @@ +../../6BFJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/6JWB b/tests/yaml-test-suite/tags/mapping/6JWB new file mode 120000 index 0000000..1ebc58c --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/6JWB @@ -0,0 +1 @@ +../../6JWB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/6PBE b/tests/yaml-test-suite/tags/mapping/6PBE new file mode 120000 index 0000000..02f1663 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/6PBE @@ -0,0 +1 @@ +../../6PBE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/6S55 b/tests/yaml-test-suite/tags/mapping/6S55 new file mode 120000 index 0000000..c3be54b --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/6S55 @@ -0,0 +1 @@ +../../6S55 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/6SLA b/tests/yaml-test-suite/tags/mapping/6SLA new file mode 120000 index 0000000..f78bf90 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/6SLA @@ -0,0 +1 @@ +../../6SLA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/74H7 b/tests/yaml-test-suite/tags/mapping/74H7 new file mode 120000 index 0000000..584b1cf --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/74H7 @@ -0,0 +1 @@ +../../74H7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/7BMT b/tests/yaml-test-suite/tags/mapping/7BMT new file mode 120000 index 0000000..fc43877 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/7BMT @@ -0,0 +1 @@ +../../7BMT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/7BUB b/tests/yaml-test-suite/tags/mapping/7BUB new file mode 120000 index 0000000..5179898 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/7BUB @@ -0,0 +1 @@ +../../7BUB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/7FWL b/tests/yaml-test-suite/tags/mapping/7FWL new file mode 120000 index 0000000..889234e --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/7FWL @@ -0,0 +1 @@ +../../7FWL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/7MNF b/tests/yaml-test-suite/tags/mapping/7MNF new file mode 120000 index 0000000..4af38aa --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/7MNF @@ -0,0 +1 @@ +../../7MNF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/7W2P b/tests/yaml-test-suite/tags/mapping/7W2P new file mode 120000 index 0000000..c5ad069 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/7W2P @@ -0,0 +1 @@ +../../7W2P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/7ZZ5 b/tests/yaml-test-suite/tags/mapping/7ZZ5 new file mode 120000 index 0000000..102d497 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/7ZZ5 @@ -0,0 +1 @@ +../../7ZZ5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/87E4 b/tests/yaml-test-suite/tags/mapping/87E4 new file mode 120000 index 0000000..4106e36 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/87E4 @@ -0,0 +1 @@ +../../87E4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/8CWC b/tests/yaml-test-suite/tags/mapping/8CWC new file mode 120000 index 0000000..ba3bd63 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/8CWC @@ -0,0 +1 @@ +../../8CWC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/8KB6 b/tests/yaml-test-suite/tags/mapping/8KB6 new file mode 120000 index 0000000..a8d83c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/8KB6 @@ -0,0 +1 @@ +../../8KB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/8QBE b/tests/yaml-test-suite/tags/mapping/8QBE new file mode 120000 index 0000000..87f74e2 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/8QBE @@ -0,0 +1 @@ +../../8QBE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/93JH b/tests/yaml-test-suite/tags/mapping/93JH new file mode 120000 index 0000000..39c7d6f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/93JH @@ -0,0 +1 @@ +../../93JH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9BXH b/tests/yaml-test-suite/tags/mapping/9BXH new file mode 120000 index 0000000..9caa513 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9BXH @@ -0,0 +1 @@ +../../9BXH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9CWY b/tests/yaml-test-suite/tags/mapping/9CWY new file mode 120000 index 0000000..1dfc20b --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9CWY @@ -0,0 +1 @@ +../../9CWY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9FMG b/tests/yaml-test-suite/tags/mapping/9FMG new file mode 120000 index 0000000..a531908 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9FMG @@ -0,0 +1 @@ +../../9FMG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9J7A b/tests/yaml-test-suite/tags/mapping/9J7A new file mode 120000 index 0000000..c828266 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9J7A @@ -0,0 +1 @@ +../../9J7A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9KAX b/tests/yaml-test-suite/tags/mapping/9KAX new file mode 120000 index 0000000..69dbebd --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9KAX @@ -0,0 +1 @@ +../../9KAX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9KBC b/tests/yaml-test-suite/tags/mapping/9KBC new file mode 120000 index 0000000..06fe799 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9KBC @@ -0,0 +1 @@ +../../9KBC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9MMW b/tests/yaml-test-suite/tags/mapping/9MMW new file mode 120000 index 0000000..21ddbdd --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9MMW @@ -0,0 +1 @@ +../../9MMW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9SA2 b/tests/yaml-test-suite/tags/mapping/9SA2 new file mode 120000 index 0000000..977cd55 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9SA2 @@ -0,0 +1 @@ +../../9SA2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/9U5K b/tests/yaml-test-suite/tags/mapping/9U5K new file mode 120000 index 0000000..b8b3197 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/9U5K @@ -0,0 +1 @@ +../../9U5K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/AZ63 b/tests/yaml-test-suite/tags/mapping/AZ63 new file mode 120000 index 0000000..e6435c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/AZ63 @@ -0,0 +1 @@ +../../AZ63 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/AZW3 b/tests/yaml-test-suite/tags/mapping/AZW3 new file mode 120000 index 0000000..a5bf351 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/AZW3 @@ -0,0 +1 @@ +../../AZW3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/BD7L b/tests/yaml-test-suite/tags/mapping/BD7L new file mode 120000 index 0000000..88339aa --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/BD7L @@ -0,0 +1 @@ +../../BD7L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/C2DT b/tests/yaml-test-suite/tags/mapping/C2DT new file mode 120000 index 0000000..6fb928d --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/C2DT @@ -0,0 +1 @@ +../../C2DT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/C2SP b/tests/yaml-test-suite/tags/mapping/C2SP new file mode 120000 index 0000000..570e158 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/C2SP @@ -0,0 +1 @@ +../../C2SP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/CN3R b/tests/yaml-test-suite/tags/mapping/CN3R new file mode 120000 index 0000000..ad8f282 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/CN3R @@ -0,0 +1 @@ +../../CN3R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/CT4Q b/tests/yaml-test-suite/tags/mapping/CT4Q new file mode 120000 index 0000000..7e48caf --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/CT4Q @@ -0,0 +1 @@ +../../CT4Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/CXX2 b/tests/yaml-test-suite/tags/mapping/CXX2 new file mode 120000 index 0000000..093ffc9 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/CXX2 @@ -0,0 +1 @@ +../../CXX2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/D49Q b/tests/yaml-test-suite/tags/mapping/D49Q new file mode 120000 index 0000000..35f1caf --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/D49Q @@ -0,0 +1 @@ +../../D49Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/D88J b/tests/yaml-test-suite/tags/mapping/D88J new file mode 120000 index 0000000..4be2b8e --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/D88J @@ -0,0 +1 @@ +../../D88J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/D9TU b/tests/yaml-test-suite/tags/mapping/D9TU new file mode 120000 index 0000000..de034f7 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/D9TU @@ -0,0 +1 @@ +../../D9TU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/DFF7 b/tests/yaml-test-suite/tags/mapping/DFF7 new file mode 120000 index 0000000..0b7b334 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/DFF7 @@ -0,0 +1 @@ +../../DFF7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/DK4H b/tests/yaml-test-suite/tags/mapping/DK4H new file mode 120000 index 0000000..76ad197 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/DK4H @@ -0,0 +1 @@ +../../DK4H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/DMG6 b/tests/yaml-test-suite/tags/mapping/DMG6 new file mode 120000 index 0000000..e9b76e8 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/DMG6 @@ -0,0 +1 @@ +../../DMG6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/E76Z b/tests/yaml-test-suite/tags/mapping/E76Z new file mode 120000 index 0000000..7c5f625 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/E76Z @@ -0,0 +1 @@ +../../E76Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/EHF6 b/tests/yaml-test-suite/tags/mapping/EHF6 new file mode 120000 index 0000000..649f0f6 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/EHF6 @@ -0,0 +1 @@ +../../EHF6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/EW3V b/tests/yaml-test-suite/tags/mapping/EW3V new file mode 120000 index 0000000..edaf877 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/EW3V @@ -0,0 +1 @@ +../../EW3V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/F3CP b/tests/yaml-test-suite/tags/mapping/F3CP new file mode 120000 index 0000000..b2288a8 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/F3CP @@ -0,0 +1 @@ +../../F3CP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/FRK4 b/tests/yaml-test-suite/tags/mapping/FRK4 new file mode 120000 index 0000000..0650a8f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/FRK4 @@ -0,0 +1 @@ +../../FRK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/G7JE b/tests/yaml-test-suite/tags/mapping/G7JE new file mode 120000 index 0000000..2dbce1f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/G7JE @@ -0,0 +1 @@ +../../G7JE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/GDY7 b/tests/yaml-test-suite/tags/mapping/GDY7 new file mode 120000 index 0000000..3a8a92f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/GDY7 @@ -0,0 +1 @@ +../../GDY7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/GH63 b/tests/yaml-test-suite/tags/mapping/GH63 new file mode 120000 index 0000000..e61a3e8 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/GH63 @@ -0,0 +1 @@ +../../GH63 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/HU3P b/tests/yaml-test-suite/tags/mapping/HU3P new file mode 120000 index 0000000..6fa830e --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/HU3P @@ -0,0 +1 @@ +../../HU3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/J5UC b/tests/yaml-test-suite/tags/mapping/J5UC new file mode 120000 index 0000000..1e35856 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/J5UC @@ -0,0 +1 @@ +../../J5UC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/J7PZ b/tests/yaml-test-suite/tags/mapping/J7PZ new file mode 120000 index 0000000..794a265 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/J7PZ @@ -0,0 +1 @@ +../../J7PZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/J7VC b/tests/yaml-test-suite/tags/mapping/J7VC new file mode 120000 index 0000000..afe669e --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/J7VC @@ -0,0 +1 @@ +../../J7VC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/J9HZ b/tests/yaml-test-suite/tags/mapping/J9HZ new file mode 120000 index 0000000..29236ee --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/J9HZ @@ -0,0 +1 @@ +../../J9HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/JQ4R b/tests/yaml-test-suite/tags/mapping/JQ4R new file mode 120000 index 0000000..df8552c --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/JQ4R @@ -0,0 +1 @@ +../../JQ4R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/JTV5 b/tests/yaml-test-suite/tags/mapping/JTV5 new file mode 120000 index 0000000..0398d7b --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/JTV5 @@ -0,0 +1 @@ +../../JTV5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/JY7Z b/tests/yaml-test-suite/tags/mapping/JY7Z new file mode 120000 index 0000000..d5fcafa --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/JY7Z @@ -0,0 +1 @@ +../../JY7Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/K3WX b/tests/yaml-test-suite/tags/mapping/K3WX new file mode 120000 index 0000000..0e5fd82 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/K3WX @@ -0,0 +1 @@ +../../K3WX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/KK5P b/tests/yaml-test-suite/tags/mapping/KK5P new file mode 120000 index 0000000..74e9d8c --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/KK5P @@ -0,0 +1 @@ +../../KK5P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/KMK3 b/tests/yaml-test-suite/tags/mapping/KMK3 new file mode 120000 index 0000000..88415d0 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/KMK3 @@ -0,0 +1 @@ +../../KMK3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/L94M b/tests/yaml-test-suite/tags/mapping/L94M new file mode 120000 index 0000000..8557d0f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/L94M @@ -0,0 +1 @@ +../../L94M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/L9U5 b/tests/yaml-test-suite/tags/mapping/L9U5 new file mode 120000 index 0000000..e383fda --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/L9U5 @@ -0,0 +1 @@ +../../L9U5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/LX3P b/tests/yaml-test-suite/tags/mapping/LX3P new file mode 120000 index 0000000..e672510 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/LX3P @@ -0,0 +1 @@ +../../LX3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/M5DY b/tests/yaml-test-suite/tags/mapping/M5DY new file mode 120000 index 0000000..21b4d92 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/M5DY @@ -0,0 +1 @@ +../../M5DY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/M7NX b/tests/yaml-test-suite/tags/mapping/M7NX new file mode 120000 index 0000000..00ad81e --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/M7NX @@ -0,0 +1 @@ +../../M7NX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/MXS3 b/tests/yaml-test-suite/tags/mapping/MXS3 new file mode 120000 index 0000000..23ade1a --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/MXS3 @@ -0,0 +1 @@ +../../MXS3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/N4JP b/tests/yaml-test-suite/tags/mapping/N4JP new file mode 120000 index 0000000..ab5b5ac --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/N4JP @@ -0,0 +1 @@ +../../N4JP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/NJ66 b/tests/yaml-test-suite/tags/mapping/NJ66 new file mode 120000 index 0000000..b637fc3 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/NJ66 @@ -0,0 +1 @@ +../../NJ66 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/NKF9 b/tests/yaml-test-suite/tags/mapping/NKF9 new file mode 120000 index 0000000..9d36b08 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/NKF9 @@ -0,0 +1 @@ +../../NKF9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/P2EQ b/tests/yaml-test-suite/tags/mapping/P2EQ new file mode 120000 index 0000000..9ff8462 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/P2EQ @@ -0,0 +1 @@ +../../P2EQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/PBJ2 b/tests/yaml-test-suite/tags/mapping/PBJ2 new file mode 120000 index 0000000..bd891c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/PBJ2 @@ -0,0 +1 @@ +../../PBJ2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/Q4CL b/tests/yaml-test-suite/tags/mapping/Q4CL new file mode 120000 index 0000000..5a6e510 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/Q4CL @@ -0,0 +1 @@ +../../Q4CL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/Q88A b/tests/yaml-test-suite/tags/mapping/Q88A new file mode 120000 index 0000000..f0cb80d --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/Q88A @@ -0,0 +1 @@ +../../Q88A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/QF4Y b/tests/yaml-test-suite/tags/mapping/QF4Y new file mode 120000 index 0000000..bff60ef --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/QF4Y @@ -0,0 +1 @@ +../../QF4Y \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/R52L b/tests/yaml-test-suite/tags/mapping/R52L new file mode 120000 index 0000000..714fb28 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/R52L @@ -0,0 +1 @@ +../../R52L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/RR7F b/tests/yaml-test-suite/tags/mapping/RR7F new file mode 120000 index 0000000..1413861 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/RR7F @@ -0,0 +1 @@ +../../RR7F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/RZP5 b/tests/yaml-test-suite/tags/mapping/RZP5 new file mode 120000 index 0000000..4045966 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/RZP5 @@ -0,0 +1 @@ +../../RZP5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/RZT7 b/tests/yaml-test-suite/tags/mapping/RZT7 new file mode 120000 index 0000000..84ae693 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/RZT7 @@ -0,0 +1 @@ +../../RZT7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/S3PD b/tests/yaml-test-suite/tags/mapping/S3PD new file mode 120000 index 0000000..6877cc2 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/S3PD @@ -0,0 +1 @@ +../../S3PD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/S4T7 b/tests/yaml-test-suite/tags/mapping/S4T7 new file mode 120000 index 0000000..db78738 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/S4T7 @@ -0,0 +1 @@ +../../S4T7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/S9E8 b/tests/yaml-test-suite/tags/mapping/S9E8 new file mode 120000 index 0000000..9911e29 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/S9E8 @@ -0,0 +1 @@ +../../S9E8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/SBG9 b/tests/yaml-test-suite/tags/mapping/SBG9 new file mode 120000 index 0000000..beea64c --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/SBG9 @@ -0,0 +1 @@ +../../SBG9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/SM9W/01 b/tests/yaml-test-suite/tags/mapping/SM9W/01 new file mode 120000 index 0000000..948792f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/SM9W/01 @@ -0,0 +1 @@ +../../../SM9W/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/SU74 b/tests/yaml-test-suite/tags/mapping/SU74 new file mode 120000 index 0000000..6cae6f9 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/SU74 @@ -0,0 +1 @@ +../../SU74 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/T833 b/tests/yaml-test-suite/tags/mapping/T833 new file mode 120000 index 0000000..26aefa2 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/T833 @@ -0,0 +1 @@ +../../T833 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/TE2A b/tests/yaml-test-suite/tags/mapping/TE2A new file mode 120000 index 0000000..bd8c292 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/TE2A @@ -0,0 +1 @@ +../../TE2A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/U44R b/tests/yaml-test-suite/tags/mapping/U44R new file mode 120000 index 0000000..608be98 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/U44R @@ -0,0 +1 @@ +../../U44R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/UDR7 b/tests/yaml-test-suite/tags/mapping/UDR7 new file mode 120000 index 0000000..0cf6f1f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/UDR7 @@ -0,0 +1 @@ +../../UDR7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/UGM3 b/tests/yaml-test-suite/tags/mapping/UGM3 new file mode 120000 index 0000000..46c4b5f --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/UGM3 @@ -0,0 +1 @@ +../../UGM3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/V9D5 b/tests/yaml-test-suite/tags/mapping/V9D5 new file mode 120000 index 0000000..5b9b022 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/V9D5 @@ -0,0 +1 @@ +../../V9D5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/X8DW b/tests/yaml-test-suite/tags/mapping/X8DW new file mode 120000 index 0000000..e7b3e37 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/X8DW @@ -0,0 +1 @@ +../../X8DW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/ZCZ6 b/tests/yaml-test-suite/tags/mapping/ZCZ6 new file mode 120000 index 0000000..3960da6 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/ZCZ6 @@ -0,0 +1 @@ +../../ZCZ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/ZF4X b/tests/yaml-test-suite/tags/mapping/ZF4X new file mode 120000 index 0000000..3835fac --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/ZF4X @@ -0,0 +1 @@ +../../ZF4X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/ZH7C b/tests/yaml-test-suite/tags/mapping/ZH7C new file mode 120000 index 0000000..621e8d8 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/ZH7C @@ -0,0 +1 @@ +../../ZH7C \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/ZK9H b/tests/yaml-test-suite/tags/mapping/ZK9H new file mode 120000 index 0000000..90c65a9 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/ZK9H @@ -0,0 +1 @@ +../../ZK9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/ZL4Z b/tests/yaml-test-suite/tags/mapping/ZL4Z new file mode 120000 index 0000000..c971867 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/ZL4Z @@ -0,0 +1 @@ +../../ZL4Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/ZWK4 b/tests/yaml-test-suite/tags/mapping/ZWK4 new file mode 120000 index 0000000..929cf75 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/ZWK4 @@ -0,0 +1 @@ +../../ZWK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/mapping/ZXT5 b/tests/yaml-test-suite/tags/mapping/ZXT5 new file mode 120000 index 0000000..8db72b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/mapping/ZXT5 @@ -0,0 +1 @@ +../../ZXT5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/2EBW b/tests/yaml-test-suite/tags/scalar/2EBW new file mode 120000 index 0000000..4162261 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/2EBW @@ -0,0 +1 @@ +../../2EBW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/2G84/00 b/tests/yaml-test-suite/tags/scalar/2G84/00 new file mode 120000 index 0000000..e2879bd --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/2G84/00 @@ -0,0 +1 @@ +../../../2G84/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/2G84/01 b/tests/yaml-test-suite/tags/scalar/2G84/01 new file mode 120000 index 0000000..0df7757 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/2G84/01 @@ -0,0 +1 @@ +../../../2G84/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/2G84/02 b/tests/yaml-test-suite/tags/scalar/2G84/02 new file mode 120000 index 0000000..a517021 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/2G84/02 @@ -0,0 +1 @@ +../../../2G84/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/2G84/03 b/tests/yaml-test-suite/tags/scalar/2G84/03 new file mode 120000 index 0000000..61bc439 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/2G84/03 @@ -0,0 +1 @@ +../../../2G84/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/36F6 b/tests/yaml-test-suite/tags/scalar/36F6 new file mode 120000 index 0000000..26daf62 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/36F6 @@ -0,0 +1 @@ +../../36F6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/3MYT b/tests/yaml-test-suite/tags/scalar/3MYT new file mode 120000 index 0000000..974ffdc --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/3MYT @@ -0,0 +1 @@ +../../3MYT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/4CQQ b/tests/yaml-test-suite/tags/scalar/4CQQ new file mode 120000 index 0000000..7d5794c --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/4CQQ @@ -0,0 +1 @@ +../../4CQQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/4GC6 b/tests/yaml-test-suite/tags/scalar/4GC6 new file mode 120000 index 0000000..3523c76 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/4GC6 @@ -0,0 +1 @@ +../../4GC6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/4Q9F b/tests/yaml-test-suite/tags/scalar/4Q9F new file mode 120000 index 0000000..18fb9be --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/4Q9F @@ -0,0 +1 @@ +../../4Q9F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/4QFQ b/tests/yaml-test-suite/tags/scalar/4QFQ new file mode 120000 index 0000000..47aecda --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/4QFQ @@ -0,0 +1 @@ +../../4QFQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/4UYU b/tests/yaml-test-suite/tags/scalar/4UYU new file mode 120000 index 0000000..75bcad9 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/4UYU @@ -0,0 +1 @@ +../../4UYU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/4V8U b/tests/yaml-test-suite/tags/scalar/4V8U new file mode 120000 index 0000000..809fe8c --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/4V8U @@ -0,0 +1 @@ +../../4V8U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/4ZYM b/tests/yaml-test-suite/tags/scalar/4ZYM new file mode 120000 index 0000000..a5d6035 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/4ZYM @@ -0,0 +1 @@ +../../4ZYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/5BVJ b/tests/yaml-test-suite/tags/scalar/5BVJ new file mode 120000 index 0000000..fccc91c --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/5BVJ @@ -0,0 +1 @@ +../../5BVJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/5GBF b/tests/yaml-test-suite/tags/scalar/5GBF new file mode 120000 index 0000000..3fe583f --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/5GBF @@ -0,0 +1 @@ +../../5GBF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/5T43 b/tests/yaml-test-suite/tags/scalar/5T43 new file mode 120000 index 0000000..83f4279 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/5T43 @@ -0,0 +1 @@ +../../5T43 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/6FWR b/tests/yaml-test-suite/tags/scalar/6FWR new file mode 120000 index 0000000..b03f3eb --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/6FWR @@ -0,0 +1 @@ +../../6FWR \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/6H3V b/tests/yaml-test-suite/tags/scalar/6H3V new file mode 120000 index 0000000..6412545 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/6H3V @@ -0,0 +1 @@ +../../6H3V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/6JQW b/tests/yaml-test-suite/tags/scalar/6JQW new file mode 120000 index 0000000..3c14590 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/6JQW @@ -0,0 +1 @@ +../../6JQW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/6VJK b/tests/yaml-test-suite/tags/scalar/6VJK new file mode 120000 index 0000000..02bf6b1 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/6VJK @@ -0,0 +1 @@ +../../6VJK \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/6WPF b/tests/yaml-test-suite/tags/scalar/6WPF new file mode 120000 index 0000000..8451a19 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/6WPF @@ -0,0 +1 @@ +../../6WPF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/753E b/tests/yaml-test-suite/tags/scalar/753E new file mode 120000 index 0000000..3e8a0f8 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/753E @@ -0,0 +1 @@ +../../753E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/7A4E b/tests/yaml-test-suite/tags/scalar/7A4E new file mode 120000 index 0000000..c064868 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/7A4E @@ -0,0 +1 @@ +../../7A4E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/7T8X b/tests/yaml-test-suite/tags/scalar/7T8X new file mode 120000 index 0000000..92ecbb0 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/7T8X @@ -0,0 +1 @@ +../../7T8X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/82AN b/tests/yaml-test-suite/tags/scalar/82AN new file mode 120000 index 0000000..10354e4 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/82AN @@ -0,0 +1 @@ +../../82AN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/8CWC b/tests/yaml-test-suite/tags/scalar/8CWC new file mode 120000 index 0000000..ba3bd63 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/8CWC @@ -0,0 +1 @@ +../../8CWC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/8G76 b/tests/yaml-test-suite/tags/scalar/8G76 new file mode 120000 index 0000000..00d3ecd --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/8G76 @@ -0,0 +1 @@ +../../8G76 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/8XDJ b/tests/yaml-test-suite/tags/scalar/8XDJ new file mode 120000 index 0000000..4ac0f50 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/8XDJ @@ -0,0 +1 @@ +../../8XDJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/93WF b/tests/yaml-test-suite/tags/scalar/93WF new file mode 120000 index 0000000..1c69d35 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/93WF @@ -0,0 +1 @@ +../../93WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/96L6 b/tests/yaml-test-suite/tags/scalar/96L6 new file mode 120000 index 0000000..77a82f7 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/96L6 @@ -0,0 +1 @@ +../../96L6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/9MQT/00 b/tests/yaml-test-suite/tags/scalar/9MQT/00 new file mode 120000 index 0000000..5c6357c --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/9MQT/00 @@ -0,0 +1 @@ +../../../9MQT/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/9MQT/01 b/tests/yaml-test-suite/tags/scalar/9MQT/01 new file mode 120000 index 0000000..ace14db --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/9MQT/01 @@ -0,0 +1 @@ +../../../9MQT/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/9SHH b/tests/yaml-test-suite/tags/scalar/9SHH new file mode 120000 index 0000000..16f8006 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/9SHH @@ -0,0 +1 @@ +../../9SHH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/9TFX b/tests/yaml-test-suite/tags/scalar/9TFX new file mode 120000 index 0000000..0ac62a3 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/9TFX @@ -0,0 +1 @@ +../../9TFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/9YRD b/tests/yaml-test-suite/tags/scalar/9YRD new file mode 120000 index 0000000..a547235 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/9YRD @@ -0,0 +1 @@ +../../9YRD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/A6F9 b/tests/yaml-test-suite/tags/scalar/A6F9 new file mode 120000 index 0000000..4569ec9 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/A6F9 @@ -0,0 +1 @@ +../../A6F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/A984 b/tests/yaml-test-suite/tags/scalar/A984 new file mode 120000 index 0000000..4658885 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/A984 @@ -0,0 +1 @@ +../../A984 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/AB8U b/tests/yaml-test-suite/tags/scalar/AB8U new file mode 120000 index 0000000..7fda4e3 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/AB8U @@ -0,0 +1 @@ +../../AB8U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/B3HG b/tests/yaml-test-suite/tags/scalar/B3HG new file mode 120000 index 0000000..3fce415 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/B3HG @@ -0,0 +1 @@ +../../B3HG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/BF9H b/tests/yaml-test-suite/tags/scalar/BF9H new file mode 120000 index 0000000..9841867 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/BF9H @@ -0,0 +1 @@ +../../BF9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/BS4K b/tests/yaml-test-suite/tags/scalar/BS4K new file mode 120000 index 0000000..55831e5 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/BS4K @@ -0,0 +1 @@ +../../BS4K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/CPZ3 b/tests/yaml-test-suite/tags/scalar/CPZ3 new file mode 120000 index 0000000..1060583 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/CPZ3 @@ -0,0 +1 @@ +../../CPZ3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/DBG4 b/tests/yaml-test-suite/tags/scalar/DBG4 new file mode 120000 index 0000000..a687821 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/DBG4 @@ -0,0 +1 @@ +../../DBG4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/DK3J b/tests/yaml-test-suite/tags/scalar/DK3J new file mode 120000 index 0000000..5582781 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/DK3J @@ -0,0 +1 @@ +../../DK3J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/DWX9 b/tests/yaml-test-suite/tags/scalar/DWX9 new file mode 120000 index 0000000..091d706 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/DWX9 @@ -0,0 +1 @@ +../../DWX9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/EX5H b/tests/yaml-test-suite/tags/scalar/EX5H new file mode 120000 index 0000000..6a28db0 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/EX5H @@ -0,0 +1 @@ +../../EX5H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/EXG3 b/tests/yaml-test-suite/tags/scalar/EXG3 new file mode 120000 index 0000000..392c139 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/EXG3 @@ -0,0 +1 @@ +../../EXG3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/F8F9 b/tests/yaml-test-suite/tags/scalar/F8F9 new file mode 120000 index 0000000..9d5b9da --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/F8F9 @@ -0,0 +1 @@ +../../F8F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/FBC9 b/tests/yaml-test-suite/tags/scalar/FBC9 new file mode 120000 index 0000000..3893da8 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/FBC9 @@ -0,0 +1 @@ +../../FBC9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/FH7J b/tests/yaml-test-suite/tags/scalar/FH7J new file mode 120000 index 0000000..5e98b5e --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/FH7J @@ -0,0 +1 @@ +../../FH7J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/FP8R b/tests/yaml-test-suite/tags/scalar/FP8R new file mode 120000 index 0000000..1ebaaca --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/FP8R @@ -0,0 +1 @@ +../../FP8R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/G4RS b/tests/yaml-test-suite/tags/scalar/G4RS new file mode 120000 index 0000000..13ba6cd --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/G4RS @@ -0,0 +1 @@ +../../G4RS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/G992 b/tests/yaml-test-suite/tags/scalar/G992 new file mode 120000 index 0000000..fd52e80 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/G992 @@ -0,0 +1 @@ +../../G992 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/H2RW b/tests/yaml-test-suite/tags/scalar/H2RW new file mode 120000 index 0000000..44883ed --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/H2RW @@ -0,0 +1 @@ +../../H2RW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/H3Z8 b/tests/yaml-test-suite/tags/scalar/H3Z8 new file mode 120000 index 0000000..f019b28 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/H3Z8 @@ -0,0 +1 @@ +../../H3Z8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/HM87/00 b/tests/yaml-test-suite/tags/scalar/HM87/00 new file mode 120000 index 0000000..9568f47 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/HM87/00 @@ -0,0 +1 @@ +../../../HM87/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/HM87/01 b/tests/yaml-test-suite/tags/scalar/HM87/01 new file mode 120000 index 0000000..3f10fd1 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/HM87/01 @@ -0,0 +1 @@ +../../../HM87/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/HS5T b/tests/yaml-test-suite/tags/scalar/HS5T new file mode 120000 index 0000000..9c088cf --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/HS5T @@ -0,0 +1 @@ +../../HS5T \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/HU3P b/tests/yaml-test-suite/tags/scalar/HU3P new file mode 120000 index 0000000..6fa830e --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/HU3P @@ -0,0 +1 @@ +../../HU3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/JR7V b/tests/yaml-test-suite/tags/scalar/JR7V new file mode 120000 index 0000000..0b8da9b --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/JR7V @@ -0,0 +1 @@ +../../JR7V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/JTV5 b/tests/yaml-test-suite/tags/scalar/JTV5 new file mode 120000 index 0000000..0398d7b --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/JTV5 @@ -0,0 +1 @@ +../../JTV5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/K527 b/tests/yaml-test-suite/tags/scalar/K527 new file mode 120000 index 0000000..64b643a --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/K527 @@ -0,0 +1 @@ +../../K527 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/KSS4 b/tests/yaml-test-suite/tags/scalar/KSS4 new file mode 120000 index 0000000..64e1284 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/KSS4 @@ -0,0 +1 @@ +../../KSS4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/LP6E b/tests/yaml-test-suite/tags/scalar/LP6E new file mode 120000 index 0000000..b998ec8 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/LP6E @@ -0,0 +1 @@ +../../LP6E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/LQZ7 b/tests/yaml-test-suite/tags/scalar/LQZ7 new file mode 120000 index 0000000..93c5618 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/LQZ7 @@ -0,0 +1 @@ +../../LQZ7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/M29M b/tests/yaml-test-suite/tags/scalar/M29M new file mode 120000 index 0000000..6a2ae4d --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/M29M @@ -0,0 +1 @@ +../../M29M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/M9B4 b/tests/yaml-test-suite/tags/scalar/M9B4 new file mode 120000 index 0000000..14843be --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/M9B4 @@ -0,0 +1 @@ +../../M9B4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/MJS9 b/tests/yaml-test-suite/tags/scalar/MJS9 new file mode 120000 index 0000000..7e30ed5 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/MJS9 @@ -0,0 +1 @@ +../../MJS9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/MYW6 b/tests/yaml-test-suite/tags/scalar/MYW6 new file mode 120000 index 0000000..1c9c6c1 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/MYW6 @@ -0,0 +1 @@ +../../MYW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/MZX3 b/tests/yaml-test-suite/tags/scalar/MZX3 new file mode 120000 index 0000000..58b9447 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/MZX3 @@ -0,0 +1 @@ +../../MZX3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/NAT4 b/tests/yaml-test-suite/tags/scalar/NAT4 new file mode 120000 index 0000000..f0e5e11 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/NAT4 @@ -0,0 +1 @@ +../../NAT4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/NB6Z b/tests/yaml-test-suite/tags/scalar/NB6Z new file mode 120000 index 0000000..0d26184 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/NB6Z @@ -0,0 +1 @@ +../../NB6Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/NP9H b/tests/yaml-test-suite/tags/scalar/NP9H new file mode 120000 index 0000000..7819403 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/NP9H @@ -0,0 +1 @@ +../../NP9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/P2AD b/tests/yaml-test-suite/tags/scalar/P2AD new file mode 120000 index 0000000..67d7bd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/P2AD @@ -0,0 +1 @@ +../../P2AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/PRH3 b/tests/yaml-test-suite/tags/scalar/PRH3 new file mode 120000 index 0000000..fac952f --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/PRH3 @@ -0,0 +1 @@ +../../PRH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/Q8AD b/tests/yaml-test-suite/tags/scalar/Q8AD new file mode 120000 index 0000000..59677ca --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/Q8AD @@ -0,0 +1 @@ +../../Q8AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/R4YG b/tests/yaml-test-suite/tags/scalar/R4YG new file mode 120000 index 0000000..eb5022e --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/R4YG @@ -0,0 +1 @@ +../../R4YG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/S7BG b/tests/yaml-test-suite/tags/scalar/S7BG new file mode 120000 index 0000000..42190c2 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/S7BG @@ -0,0 +1 @@ +../../S7BG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/S98Z b/tests/yaml-test-suite/tags/scalar/S98Z new file mode 120000 index 0000000..92f9894 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/S98Z @@ -0,0 +1 @@ +../../S98Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/SSW6 b/tests/yaml-test-suite/tags/scalar/SSW6 new file mode 120000 index 0000000..bf02e65 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/SSW6 @@ -0,0 +1 @@ +../../SSW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/SYW4 b/tests/yaml-test-suite/tags/scalar/SYW4 new file mode 120000 index 0000000..59bb157 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/SYW4 @@ -0,0 +1 @@ +../../SYW4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/T26H b/tests/yaml-test-suite/tags/scalar/T26H new file mode 120000 index 0000000..f893b31 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/T26H @@ -0,0 +1 @@ +../../T26H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/T4YY b/tests/yaml-test-suite/tags/scalar/T4YY new file mode 120000 index 0000000..36a98cd --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/T4YY @@ -0,0 +1 @@ +../../T4YY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/T5N4 b/tests/yaml-test-suite/tags/scalar/T5N4 new file mode 120000 index 0000000..0bb9caa --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/T5N4 @@ -0,0 +1 @@ +../../T5N4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/TD5N b/tests/yaml-test-suite/tags/scalar/TD5N new file mode 120000 index 0000000..b2efde6 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/TD5N @@ -0,0 +1 @@ +../../TD5N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/TL85 b/tests/yaml-test-suite/tags/scalar/TL85 new file mode 120000 index 0000000..884de90 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/TL85 @@ -0,0 +1 @@ +../../TL85 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/TS54 b/tests/yaml-test-suite/tags/scalar/TS54 new file mode 120000 index 0000000..dc77d22 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/TS54 @@ -0,0 +1 @@ +../../TS54 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/UDM2 b/tests/yaml-test-suite/tags/scalar/UDM2 new file mode 120000 index 0000000..a50709e --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/UDM2 @@ -0,0 +1 @@ +../../UDM2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/WZ62 b/tests/yaml-test-suite/tags/scalar/WZ62 new file mode 120000 index 0000000..0815d6f --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/WZ62 @@ -0,0 +1 @@ +../../WZ62 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/XLQ9 b/tests/yaml-test-suite/tags/scalar/XLQ9 new file mode 120000 index 0000000..a52378f --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/XLQ9 @@ -0,0 +1 @@ +../../XLQ9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/XV9V b/tests/yaml-test-suite/tags/scalar/XV9V new file mode 120000 index 0000000..dfb43bd --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/XV9V @@ -0,0 +1 @@ +../../XV9V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/scalar/ZCZ6 b/tests/yaml-test-suite/tags/scalar/ZCZ6 new file mode 120000 index 0000000..3960da6 --- /dev/null +++ b/tests/yaml-test-suite/tags/scalar/ZCZ6 @@ -0,0 +1 @@ +../../ZCZ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/229Q b/tests/yaml-test-suite/tags/sequence/229Q new file mode 120000 index 0000000..398e6d3 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/229Q @@ -0,0 +1 @@ +../../229Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/2AUY b/tests/yaml-test-suite/tags/sequence/2AUY new file mode 120000 index 0000000..27c0438 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/2AUY @@ -0,0 +1 @@ +../../2AUY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/33X3 b/tests/yaml-test-suite/tags/sequence/33X3 new file mode 120000 index 0000000..3555eb0 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/33X3 @@ -0,0 +1 @@ +../../33X3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/3ALJ b/tests/yaml-test-suite/tags/sequence/3ALJ new file mode 120000 index 0000000..dc21125 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/3ALJ @@ -0,0 +1 @@ +../../3ALJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/3R3P b/tests/yaml-test-suite/tags/sequence/3R3P new file mode 120000 index 0000000..37c60d2 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/3R3P @@ -0,0 +1 @@ +../../3R3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/4FJ6 b/tests/yaml-test-suite/tags/sequence/4FJ6 new file mode 120000 index 0000000..cf3a0b9 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/4FJ6 @@ -0,0 +1 @@ +../../4FJ6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/4H7K b/tests/yaml-test-suite/tags/sequence/4H7K new file mode 120000 index 0000000..6f17aae --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/4H7K @@ -0,0 +1 @@ +../../4H7K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/4HVU b/tests/yaml-test-suite/tags/sequence/4HVU new file mode 120000 index 0000000..175cb97 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/4HVU @@ -0,0 +1 @@ +../../4HVU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/57H4 b/tests/yaml-test-suite/tags/sequence/57H4 new file mode 120000 index 0000000..2c0bfd1 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/57H4 @@ -0,0 +1 @@ +../../57H4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/5KJE b/tests/yaml-test-suite/tags/sequence/5KJE new file mode 120000 index 0000000..089c336 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/5KJE @@ -0,0 +1 @@ +../../5KJE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/5U3A b/tests/yaml-test-suite/tags/sequence/5U3A new file mode 120000 index 0000000..0f257b0 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/5U3A @@ -0,0 +1 @@ +../../5U3A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/5WE3 b/tests/yaml-test-suite/tags/sequence/5WE3 new file mode 120000 index 0000000..254a18d --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/5WE3 @@ -0,0 +1 @@ +../../5WE3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/65WH b/tests/yaml-test-suite/tags/sequence/65WH new file mode 120000 index 0000000..fcca664 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/65WH @@ -0,0 +1 @@ +../../65WH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/6BCT b/tests/yaml-test-suite/tags/sequence/6BCT new file mode 120000 index 0000000..443199a --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/6BCT @@ -0,0 +1 @@ +../../6BCT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/6BFJ b/tests/yaml-test-suite/tags/sequence/6BFJ new file mode 120000 index 0000000..740a551 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/6BFJ @@ -0,0 +1 @@ +../../6BFJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/6JTT b/tests/yaml-test-suite/tags/sequence/6JTT new file mode 120000 index 0000000..ca9ac94 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/6JTT @@ -0,0 +1 @@ +../../6JTT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/6JWB b/tests/yaml-test-suite/tags/sequence/6JWB new file mode 120000 index 0000000..1ebc58c --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/6JWB @@ -0,0 +1 @@ +../../6JWB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/6PBE b/tests/yaml-test-suite/tags/sequence/6PBE new file mode 120000 index 0000000..02f1663 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/6PBE @@ -0,0 +1 @@ +../../6PBE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/6S55 b/tests/yaml-test-suite/tags/sequence/6S55 new file mode 120000 index 0000000..c3be54b --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/6S55 @@ -0,0 +1 @@ +../../6S55 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/7BUB b/tests/yaml-test-suite/tags/sequence/7BUB new file mode 120000 index 0000000..5179898 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/7BUB @@ -0,0 +1 @@ +../../7BUB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/7TMG b/tests/yaml-test-suite/tags/sequence/7TMG new file mode 120000 index 0000000..f7f83c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/7TMG @@ -0,0 +1 @@ +../../7TMG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/7ZZ5 b/tests/yaml-test-suite/tags/sequence/7ZZ5 new file mode 120000 index 0000000..102d497 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/7ZZ5 @@ -0,0 +1 @@ +../../7ZZ5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/87E4 b/tests/yaml-test-suite/tags/sequence/87E4 new file mode 120000 index 0000000..4106e36 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/87E4 @@ -0,0 +1 @@ +../../87E4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/8QBE b/tests/yaml-test-suite/tags/sequence/8QBE new file mode 120000 index 0000000..87f74e2 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/8QBE @@ -0,0 +1 @@ +../../8QBE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/8UDB b/tests/yaml-test-suite/tags/sequence/8UDB new file mode 120000 index 0000000..f81379b --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/8UDB @@ -0,0 +1 @@ +../../8UDB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/93JH b/tests/yaml-test-suite/tags/sequence/93JH new file mode 120000 index 0000000..39c7d6f --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/93JH @@ -0,0 +1 @@ +../../93JH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/9C9N b/tests/yaml-test-suite/tags/sequence/9C9N new file mode 120000 index 0000000..9454179 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/9C9N @@ -0,0 +1 @@ +../../9C9N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/9CWY b/tests/yaml-test-suite/tags/sequence/9CWY new file mode 120000 index 0000000..1dfc20b --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/9CWY @@ -0,0 +1 @@ +../../9CWY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/9JBA b/tests/yaml-test-suite/tags/sequence/9JBA new file mode 120000 index 0000000..626c99a --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/9JBA @@ -0,0 +1 @@ +../../9JBA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/9MAG b/tests/yaml-test-suite/tags/sequence/9MAG new file mode 120000 index 0000000..301f684 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/9MAG @@ -0,0 +1 @@ +../../9MAG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/9MMW b/tests/yaml-test-suite/tags/sequence/9MMW new file mode 120000 index 0000000..21ddbdd --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/9MMW @@ -0,0 +1 @@ +../../9MMW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/9U5K b/tests/yaml-test-suite/tags/sequence/9U5K new file mode 120000 index 0000000..b8b3197 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/9U5K @@ -0,0 +1 @@ +../../9U5K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/A2M4 b/tests/yaml-test-suite/tags/sequence/A2M4 new file mode 120000 index 0000000..49d7338 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/A2M4 @@ -0,0 +1 @@ +../../A2M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/AB8U b/tests/yaml-test-suite/tags/sequence/AB8U new file mode 120000 index 0000000..7fda4e3 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/AB8U @@ -0,0 +1 @@ +../../AB8U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/AZ63 b/tests/yaml-test-suite/tags/sequence/AZ63 new file mode 120000 index 0000000..e6435c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/AZ63 @@ -0,0 +1 @@ +../../AZ63 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/BD7L b/tests/yaml-test-suite/tags/sequence/BD7L new file mode 120000 index 0000000..88339aa --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/BD7L @@ -0,0 +1 @@ +../../BD7L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/CFD4 b/tests/yaml-test-suite/tags/sequence/CFD4 new file mode 120000 index 0000000..5968d4e --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/CFD4 @@ -0,0 +1 @@ +../../CFD4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/CN3R b/tests/yaml-test-suite/tags/sequence/CN3R new file mode 120000 index 0000000..ad8f282 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/CN3R @@ -0,0 +1 @@ +../../CN3R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/CTN5 b/tests/yaml-test-suite/tags/sequence/CTN5 new file mode 120000 index 0000000..ca65a71 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/CTN5 @@ -0,0 +1 @@ +../../CTN5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/CVW2 b/tests/yaml-test-suite/tags/sequence/CVW2 new file mode 120000 index 0000000..bc7dcd5 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/CVW2 @@ -0,0 +1 @@ +../../CVW2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/D88J b/tests/yaml-test-suite/tags/sequence/D88J new file mode 120000 index 0000000..4be2b8e --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/D88J @@ -0,0 +1 @@ +../../D88J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/DBG4 b/tests/yaml-test-suite/tags/sequence/DBG4 new file mode 120000 index 0000000..a687821 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/DBG4 @@ -0,0 +1 @@ +../../DBG4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/DHP8 b/tests/yaml-test-suite/tags/sequence/DHP8 new file mode 120000 index 0000000..40fafeb --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/DHP8 @@ -0,0 +1 @@ +../../DHP8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/DK4H b/tests/yaml-test-suite/tags/sequence/DK4H new file mode 120000 index 0000000..76ad197 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/DK4H @@ -0,0 +1 @@ +../../DK4H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/EHF6 b/tests/yaml-test-suite/tags/sequence/EHF6 new file mode 120000 index 0000000..649f0f6 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/EHF6 @@ -0,0 +1 @@ +../../EHF6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/F3CP b/tests/yaml-test-suite/tags/sequence/F3CP new file mode 120000 index 0000000..b2288a8 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/F3CP @@ -0,0 +1 @@ +../../F3CP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/FQ7F b/tests/yaml-test-suite/tags/sequence/FQ7F new file mode 120000 index 0000000..9a8c9ef --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/FQ7F @@ -0,0 +1 @@ +../../FQ7F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/FTA2 b/tests/yaml-test-suite/tags/sequence/FTA2 new file mode 120000 index 0000000..0e62940 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/FTA2 @@ -0,0 +1 @@ +../../FTA2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/FUP4 b/tests/yaml-test-suite/tags/sequence/FUP4 new file mode 120000 index 0000000..e2a44da --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/FUP4 @@ -0,0 +1 @@ +../../FUP4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/G5U8 b/tests/yaml-test-suite/tags/sequence/G5U8 new file mode 120000 index 0000000..5ee1762 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/G5U8 @@ -0,0 +1 @@ +../../G5U8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/G9HC b/tests/yaml-test-suite/tags/sequence/G9HC new file mode 120000 index 0000000..13ccaf4 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/G9HC @@ -0,0 +1 @@ +../../G9HC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/GT5M b/tests/yaml-test-suite/tags/sequence/GT5M new file mode 120000 index 0000000..1957b80 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/GT5M @@ -0,0 +1 @@ +../../GT5M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/J9HZ b/tests/yaml-test-suite/tags/sequence/J9HZ new file mode 120000 index 0000000..29236ee --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/J9HZ @@ -0,0 +1 @@ +../../J9HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/JQ4R b/tests/yaml-test-suite/tags/sequence/JQ4R new file mode 120000 index 0000000..df8552c --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/JQ4R @@ -0,0 +1 @@ +../../JQ4R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/K4SU b/tests/yaml-test-suite/tags/sequence/K4SU new file mode 120000 index 0000000..ebe854b --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/K4SU @@ -0,0 +1 @@ +../../K4SU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/KK5P b/tests/yaml-test-suite/tags/sequence/KK5P new file mode 120000 index 0000000..74e9d8c --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/KK5P @@ -0,0 +1 @@ +../../KK5P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/KS4U b/tests/yaml-test-suite/tags/sequence/KS4U new file mode 120000 index 0000000..9c89f2e --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/KS4U @@ -0,0 +1 @@ +../../KS4U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/LX3P b/tests/yaml-test-suite/tags/sequence/LX3P new file mode 120000 index 0000000..e672510 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/LX3P @@ -0,0 +1 @@ +../../LX3P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/M5DY b/tests/yaml-test-suite/tags/sequence/M5DY new file mode 120000 index 0000000..21b4d92 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/M5DY @@ -0,0 +1 @@ +../../M5DY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/M7NX b/tests/yaml-test-suite/tags/sequence/M7NX new file mode 120000 index 0000000..00ad81e --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/M7NX @@ -0,0 +1 @@ +../../M7NX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/MXS3 b/tests/yaml-test-suite/tags/sequence/MXS3 new file mode 120000 index 0000000..23ade1a --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/MXS3 @@ -0,0 +1 @@ +../../MXS3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/P2EQ b/tests/yaml-test-suite/tags/sequence/P2EQ new file mode 120000 index 0000000..9ff8462 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/P2EQ @@ -0,0 +1 @@ +../../P2EQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/PBJ2 b/tests/yaml-test-suite/tags/sequence/PBJ2 new file mode 120000 index 0000000..bd891c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/PBJ2 @@ -0,0 +1 @@ +../../PBJ2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/Q88A b/tests/yaml-test-suite/tags/sequence/Q88A new file mode 120000 index 0000000..f0cb80d --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/Q88A @@ -0,0 +1 @@ +../../Q88A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/R52L b/tests/yaml-test-suite/tags/sequence/R52L new file mode 120000 index 0000000..714fb28 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/R52L @@ -0,0 +1 @@ +../../R52L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/RLU9 b/tests/yaml-test-suite/tags/sequence/RLU9 new file mode 120000 index 0000000..75ec4e7 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/RLU9 @@ -0,0 +1 @@ +../../RLU9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/RZT7 b/tests/yaml-test-suite/tags/sequence/RZT7 new file mode 120000 index 0000000..84ae693 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/RZT7 @@ -0,0 +1 @@ +../../RZT7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/S9E8 b/tests/yaml-test-suite/tags/sequence/S9E8 new file mode 120000 index 0000000..9911e29 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/S9E8 @@ -0,0 +1 @@ +../../S9E8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/SBG9 b/tests/yaml-test-suite/tags/sequence/SBG9 new file mode 120000 index 0000000..beea64c --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/SBG9 @@ -0,0 +1 @@ +../../SBG9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/SKE5 b/tests/yaml-test-suite/tags/sequence/SKE5 new file mode 120000 index 0000000..3bbdc04 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/SKE5 @@ -0,0 +1 @@ +../../SKE5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/SM9W/00 b/tests/yaml-test-suite/tags/sequence/SM9W/00 new file mode 120000 index 0000000..3863b6f --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/SM9W/00 @@ -0,0 +1 @@ +../../../SM9W/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/SY6V b/tests/yaml-test-suite/tags/sequence/SY6V new file mode 120000 index 0000000..2e7f8a7 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/SY6V @@ -0,0 +1 @@ +../../SY6V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/TD5N b/tests/yaml-test-suite/tags/sequence/TD5N new file mode 120000 index 0000000..b2efde6 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/TD5N @@ -0,0 +1 @@ +../../TD5N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/UDR7 b/tests/yaml-test-suite/tags/sequence/UDR7 new file mode 120000 index 0000000..0cf6f1f --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/UDR7 @@ -0,0 +1 @@ +../../UDR7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/UGM3 b/tests/yaml-test-suite/tags/sequence/UGM3 new file mode 120000 index 0000000..46c4b5f --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/UGM3 @@ -0,0 +1 @@ +../../UGM3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/V55R b/tests/yaml-test-suite/tags/sequence/V55R new file mode 120000 index 0000000..0a9ddbf --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/V55R @@ -0,0 +1 @@ +../../V55R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/W42U b/tests/yaml-test-suite/tags/sequence/W42U new file mode 120000 index 0000000..3683162 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/W42U @@ -0,0 +1 @@ +../../W42U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/YD5X b/tests/yaml-test-suite/tags/sequence/YD5X new file mode 120000 index 0000000..c4b3b46 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/YD5X @@ -0,0 +1 @@ +../../YD5X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/YJV2 b/tests/yaml-test-suite/tags/sequence/YJV2 new file mode 120000 index 0000000..1d7ba9f --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/YJV2 @@ -0,0 +1 @@ +../../YJV2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/ZK9H b/tests/yaml-test-suite/tags/sequence/ZK9H new file mode 120000 index 0000000..90c65a9 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/ZK9H @@ -0,0 +1 @@ +../../ZK9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/ZVH3 b/tests/yaml-test-suite/tags/sequence/ZVH3 new file mode 120000 index 0000000..0377ab1 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/ZVH3 @@ -0,0 +1 @@ +../../ZVH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/sequence/ZXT5 b/tests/yaml-test-suite/tags/sequence/ZXT5 new file mode 120000 index 0000000..8db72b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/sequence/ZXT5 @@ -0,0 +1 @@ +../../ZXT5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/simple/9J7A b/tests/yaml-test-suite/tags/simple/9J7A new file mode 120000 index 0000000..c828266 --- /dev/null +++ b/tests/yaml-test-suite/tags/simple/9J7A @@ -0,0 +1 @@ +../../9J7A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/simple/D9TU b/tests/yaml-test-suite/tags/simple/D9TU new file mode 120000 index 0000000..de034f7 --- /dev/null +++ b/tests/yaml-test-suite/tags/simple/D9TU @@ -0,0 +1 @@ +../../D9TU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/6H3V b/tests/yaml-test-suite/tags/single/6H3V new file mode 120000 index 0000000..6412545 --- /dev/null +++ b/tests/yaml-test-suite/tags/single/6H3V @@ -0,0 +1 @@ +../../6H3V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/6SLA b/tests/yaml-test-suite/tags/single/6SLA new file mode 120000 index 0000000..f78bf90 --- /dev/null +++ b/tests/yaml-test-suite/tags/single/6SLA @@ -0,0 +1 @@ +../../6SLA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/D49Q b/tests/yaml-test-suite/tags/single/D49Q new file mode 120000 index 0000000..35f1caf --- /dev/null +++ b/tests/yaml-test-suite/tags/single/D49Q @@ -0,0 +1 @@ +../../D49Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/HRE5 b/tests/yaml-test-suite/tags/single/HRE5 new file mode 120000 index 0000000..01ffb4b --- /dev/null +++ b/tests/yaml-test-suite/tags/single/HRE5 @@ -0,0 +1 @@ +../../HRE5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/NAT4 b/tests/yaml-test-suite/tags/single/NAT4 new file mode 120000 index 0000000..f0e5e11 --- /dev/null +++ b/tests/yaml-test-suite/tags/single/NAT4 @@ -0,0 +1 @@ +../../NAT4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/PRH3 b/tests/yaml-test-suite/tags/single/PRH3 new file mode 120000 index 0000000..fac952f --- /dev/null +++ b/tests/yaml-test-suite/tags/single/PRH3 @@ -0,0 +1 @@ +../../PRH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/RXY3 b/tests/yaml-test-suite/tags/single/RXY3 new file mode 120000 index 0000000..39962b4 --- /dev/null +++ b/tests/yaml-test-suite/tags/single/RXY3 @@ -0,0 +1 @@ +../../RXY3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/SSW6 b/tests/yaml-test-suite/tags/single/SSW6 new file mode 120000 index 0000000..bf02e65 --- /dev/null +++ b/tests/yaml-test-suite/tags/single/SSW6 @@ -0,0 +1 @@ +../../SSW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/single/T4YY b/tests/yaml-test-suite/tags/single/T4YY new file mode 120000 index 0000000..36a98cd --- /dev/null +++ b/tests/yaml-test-suite/tags/single/T4YY @@ -0,0 +1 @@ +../../T4YY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/229Q b/tests/yaml-test-suite/tags/spec/229Q new file mode 120000 index 0000000..398e6d3 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/229Q @@ -0,0 +1 @@ +../../229Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/27NA b/tests/yaml-test-suite/tags/spec/27NA new file mode 120000 index 0000000..3440e4d --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/27NA @@ -0,0 +1 @@ +../../27NA \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/2LFX b/tests/yaml-test-suite/tags/spec/2LFX new file mode 120000 index 0000000..b9b99ec --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/2LFX @@ -0,0 +1 @@ +../../2LFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/2XXW b/tests/yaml-test-suite/tags/spec/2XXW new file mode 120000 index 0000000..5f7bb4f --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/2XXW @@ -0,0 +1 @@ +../../2XXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/3GZX b/tests/yaml-test-suite/tags/spec/3GZX new file mode 120000 index 0000000..9ed5af1 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/3GZX @@ -0,0 +1 @@ +../../3GZX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/4CQQ b/tests/yaml-test-suite/tags/spec/4CQQ new file mode 120000 index 0000000..7d5794c --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/4CQQ @@ -0,0 +1 @@ +../../4CQQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/4GC6 b/tests/yaml-test-suite/tags/spec/4GC6 new file mode 120000 index 0000000..3523c76 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/4GC6 @@ -0,0 +1 @@ +../../4GC6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/4QFQ b/tests/yaml-test-suite/tags/spec/4QFQ new file mode 120000 index 0000000..47aecda --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/4QFQ @@ -0,0 +1 @@ +../../4QFQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/4ZYM b/tests/yaml-test-suite/tags/spec/4ZYM new file mode 120000 index 0000000..a5d6035 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/4ZYM @@ -0,0 +1 @@ +../../4ZYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/5BVJ b/tests/yaml-test-suite/tags/spec/5BVJ new file mode 120000 index 0000000..fccc91c --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/5BVJ @@ -0,0 +1 @@ +../../5BVJ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/5C5M b/tests/yaml-test-suite/tags/spec/5C5M new file mode 120000 index 0000000..90c9768 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/5C5M @@ -0,0 +1 @@ +../../5C5M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/5GBF b/tests/yaml-test-suite/tags/spec/5GBF new file mode 120000 index 0000000..3fe583f --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/5GBF @@ -0,0 +1 @@ +../../5GBF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/5KJE b/tests/yaml-test-suite/tags/spec/5KJE new file mode 120000 index 0000000..089c336 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/5KJE @@ -0,0 +1 @@ +../../5KJE \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/5NYZ b/tests/yaml-test-suite/tags/spec/5NYZ new file mode 120000 index 0000000..4bd15d0 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/5NYZ @@ -0,0 +1 @@ +../../5NYZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/5TYM b/tests/yaml-test-suite/tags/spec/5TYM new file mode 120000 index 0000000..a004e81 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/5TYM @@ -0,0 +1 @@ +../../5TYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/5WE3 b/tests/yaml-test-suite/tags/spec/5WE3 new file mode 120000 index 0000000..254a18d --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/5WE3 @@ -0,0 +1 @@ +../../5WE3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6BCT b/tests/yaml-test-suite/tags/spec/6BCT new file mode 120000 index 0000000..443199a --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6BCT @@ -0,0 +1 @@ +../../6BCT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6CK3 b/tests/yaml-test-suite/tags/spec/6CK3 new file mode 120000 index 0000000..f62764d --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6CK3 @@ -0,0 +1 @@ +../../6CK3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6HB6 b/tests/yaml-test-suite/tags/spec/6HB6 new file mode 120000 index 0000000..309d8ac --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6HB6 @@ -0,0 +1 @@ +../../6HB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6JQW b/tests/yaml-test-suite/tags/spec/6JQW new file mode 120000 index 0000000..3c14590 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6JQW @@ -0,0 +1 @@ +../../6JQW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6LVF b/tests/yaml-test-suite/tags/spec/6LVF new file mode 120000 index 0000000..375a605 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6LVF @@ -0,0 +1 @@ +../../6LVF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6VJK b/tests/yaml-test-suite/tags/spec/6VJK new file mode 120000 index 0000000..02bf6b1 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6VJK @@ -0,0 +1 @@ +../../6VJK \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6WLZ b/tests/yaml-test-suite/tags/spec/6WLZ new file mode 120000 index 0000000..290c70c --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6WLZ @@ -0,0 +1 @@ +../../6WLZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6WPF b/tests/yaml-test-suite/tags/spec/6WPF new file mode 120000 index 0000000..8451a19 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6WPF @@ -0,0 +1 @@ +../../6WPF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/6ZKB b/tests/yaml-test-suite/tags/spec/6ZKB new file mode 120000 index 0000000..a10de7c --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/6ZKB @@ -0,0 +1 @@ +../../6ZKB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/735Y b/tests/yaml-test-suite/tags/spec/735Y new file mode 120000 index 0000000..8c5413d --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/735Y @@ -0,0 +1 @@ +../../735Y \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/7A4E b/tests/yaml-test-suite/tags/spec/7A4E new file mode 120000 index 0000000..c064868 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/7A4E @@ -0,0 +1 @@ +../../7A4E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/7BUB b/tests/yaml-test-suite/tags/spec/7BUB new file mode 120000 index 0000000..5179898 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/7BUB @@ -0,0 +1 @@ +../../7BUB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/7FWL b/tests/yaml-test-suite/tags/spec/7FWL new file mode 120000 index 0000000..889234e --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/7FWL @@ -0,0 +1 @@ +../../7FWL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/7T8X b/tests/yaml-test-suite/tags/spec/7T8X new file mode 120000 index 0000000..92ecbb0 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/7T8X @@ -0,0 +1 @@ +../../7T8X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/87E4 b/tests/yaml-test-suite/tags/spec/87E4 new file mode 120000 index 0000000..4106e36 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/87E4 @@ -0,0 +1 @@ +../../87E4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/8G76 b/tests/yaml-test-suite/tags/spec/8G76 new file mode 120000 index 0000000..00d3ecd --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/8G76 @@ -0,0 +1 @@ +../../8G76 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/8UDB b/tests/yaml-test-suite/tags/spec/8UDB new file mode 120000 index 0000000..f81379b --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/8UDB @@ -0,0 +1 @@ +../../8UDB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/93WF b/tests/yaml-test-suite/tags/spec/93WF new file mode 120000 index 0000000..1c69d35 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/93WF @@ -0,0 +1 @@ +../../93WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/96L6 b/tests/yaml-test-suite/tags/spec/96L6 new file mode 120000 index 0000000..77a82f7 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/96L6 @@ -0,0 +1 @@ +../../96L6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/98YD b/tests/yaml-test-suite/tags/spec/98YD new file mode 120000 index 0000000..164fb7b --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/98YD @@ -0,0 +1 @@ +../../98YD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/9DXL b/tests/yaml-test-suite/tags/spec/9DXL new file mode 120000 index 0000000..a430ab1 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/9DXL @@ -0,0 +1 @@ +../../9DXL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/9SHH b/tests/yaml-test-suite/tags/spec/9SHH new file mode 120000 index 0000000..16f8006 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/9SHH @@ -0,0 +1 @@ +../../9SHH \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/9TFX b/tests/yaml-test-suite/tags/spec/9TFX new file mode 120000 index 0000000..0ac62a3 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/9TFX @@ -0,0 +1 @@ +../../9TFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/9U5K b/tests/yaml-test-suite/tags/spec/9U5K new file mode 120000 index 0000000..b8b3197 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/9U5K @@ -0,0 +1 @@ +../../9U5K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/9WXW b/tests/yaml-test-suite/tags/spec/9WXW new file mode 120000 index 0000000..ffcfb6e --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/9WXW @@ -0,0 +1 @@ +../../9WXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/A2M4 b/tests/yaml-test-suite/tags/spec/A2M4 new file mode 120000 index 0000000..49d7338 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/A2M4 @@ -0,0 +1 @@ +../../A2M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/A6F9 b/tests/yaml-test-suite/tags/spec/A6F9 new file mode 120000 index 0000000..4569ec9 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/A6F9 @@ -0,0 +1 @@ +../../A6F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/B3HG b/tests/yaml-test-suite/tags/spec/B3HG new file mode 120000 index 0000000..3fce415 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/B3HG @@ -0,0 +1 @@ +../../B3HG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/BEC7 b/tests/yaml-test-suite/tags/spec/BEC7 new file mode 120000 index 0000000..875f496 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/BEC7 @@ -0,0 +1 @@ +../../BEC7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/C2DT b/tests/yaml-test-suite/tags/spec/C2DT new file mode 120000 index 0000000..6fb928d --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/C2DT @@ -0,0 +1 @@ +../../C2DT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/C4HZ b/tests/yaml-test-suite/tags/spec/C4HZ new file mode 120000 index 0000000..02a2837 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/C4HZ @@ -0,0 +1 @@ +../../C4HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/CC74 b/tests/yaml-test-suite/tags/spec/CC74 new file mode 120000 index 0000000..c75436d --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/CC74 @@ -0,0 +1 @@ +../../CC74 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/CT4Q b/tests/yaml-test-suite/tags/spec/CT4Q new file mode 120000 index 0000000..7e48caf --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/CT4Q @@ -0,0 +1 @@ +../../CT4Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/CUP7 b/tests/yaml-test-suite/tags/spec/CUP7 new file mode 120000 index 0000000..01e2dd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/CUP7 @@ -0,0 +1 @@ +../../CUP7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/DBG4 b/tests/yaml-test-suite/tags/spec/DBG4 new file mode 120000 index 0000000..a687821 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/DBG4 @@ -0,0 +1 @@ +../../DBG4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/DFF7 b/tests/yaml-test-suite/tags/spec/DFF7 new file mode 120000 index 0000000..0b7b334 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/DFF7 @@ -0,0 +1 @@ +../../DFF7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/DWX9 b/tests/yaml-test-suite/tags/spec/DWX9 new file mode 120000 index 0000000..091d706 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/DWX9 @@ -0,0 +1 @@ +../../DWX9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/F8F9 b/tests/yaml-test-suite/tags/spec/F8F9 new file mode 120000 index 0000000..9d5b9da --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/F8F9 @@ -0,0 +1 @@ +../../F8F9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/FQ7F b/tests/yaml-test-suite/tags/spec/FQ7F new file mode 120000 index 0000000..9a8c9ef --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/FQ7F @@ -0,0 +1 @@ +../../FQ7F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/FRK4 b/tests/yaml-test-suite/tags/spec/FRK4 new file mode 120000 index 0000000..0650a8f --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/FRK4 @@ -0,0 +1 @@ +../../FRK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/G4RS b/tests/yaml-test-suite/tags/spec/G4RS new file mode 120000 index 0000000..13ba6cd --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/G4RS @@ -0,0 +1 @@ +../../G4RS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/G992 b/tests/yaml-test-suite/tags/spec/G992 new file mode 120000 index 0000000..fd52e80 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/G992 @@ -0,0 +1 @@ +../../G992 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/HMK4 b/tests/yaml-test-suite/tags/spec/HMK4 new file mode 120000 index 0000000..fbe447e --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/HMK4 @@ -0,0 +1 @@ +../../HMK4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/HMQ5 b/tests/yaml-test-suite/tags/spec/HMQ5 new file mode 120000 index 0000000..7984983 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/HMQ5 @@ -0,0 +1 @@ +../../HMQ5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/HS5T b/tests/yaml-test-suite/tags/spec/HS5T new file mode 120000 index 0000000..9c088cf --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/HS5T @@ -0,0 +1 @@ +../../HS5T \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/J3BT b/tests/yaml-test-suite/tags/spec/J3BT new file mode 120000 index 0000000..cc6e291 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/J3BT @@ -0,0 +1 @@ +../../J3BT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/J7PZ b/tests/yaml-test-suite/tags/spec/J7PZ new file mode 120000 index 0000000..794a265 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/J7PZ @@ -0,0 +1 @@ +../../J7PZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/J9HZ b/tests/yaml-test-suite/tags/spec/J9HZ new file mode 120000 index 0000000..29236ee --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/J9HZ @@ -0,0 +1 @@ +../../J9HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/JHB9 b/tests/yaml-test-suite/tags/spec/JHB9 new file mode 120000 index 0000000..574e22a --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/JHB9 @@ -0,0 +1 @@ +../../JHB9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/JQ4R b/tests/yaml-test-suite/tags/spec/JQ4R new file mode 120000 index 0000000..df8552c --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/JQ4R @@ -0,0 +1 @@ +../../JQ4R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/JS2J b/tests/yaml-test-suite/tags/spec/JS2J new file mode 120000 index 0000000..46a21d4 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/JS2J @@ -0,0 +1 @@ +../../JS2J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/K527 b/tests/yaml-test-suite/tags/spec/K527 new file mode 120000 index 0000000..64b643a --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/K527 @@ -0,0 +1 @@ +../../K527 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/K858 b/tests/yaml-test-suite/tags/spec/K858 new file mode 120000 index 0000000..e066881 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/K858 @@ -0,0 +1 @@ +../../K858 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/L9U5 b/tests/yaml-test-suite/tags/spec/L9U5 new file mode 120000 index 0000000..e383fda --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/L9U5 @@ -0,0 +1 @@ +../../L9U5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/LE5A b/tests/yaml-test-suite/tags/spec/LE5A new file mode 120000 index 0000000..4d0f680 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/LE5A @@ -0,0 +1 @@ +../../LE5A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/LQZ7 b/tests/yaml-test-suite/tags/spec/LQZ7 new file mode 120000 index 0000000..93c5618 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/LQZ7 @@ -0,0 +1 @@ +../../LQZ7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/M5C3 b/tests/yaml-test-suite/tags/spec/M5C3 new file mode 120000 index 0000000..b94bb88 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/M5C3 @@ -0,0 +1 @@ +../../M5C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/M5DY b/tests/yaml-test-suite/tags/spec/M5DY new file mode 120000 index 0000000..21b4d92 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/M5DY @@ -0,0 +1 @@ +../../M5DY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/M7A3 b/tests/yaml-test-suite/tags/spec/M7A3 new file mode 120000 index 0000000..e7b888b --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/M7A3 @@ -0,0 +1 @@ +../../M7A3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/M9B4 b/tests/yaml-test-suite/tags/spec/M9B4 new file mode 120000 index 0000000..14843be --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/M9B4 @@ -0,0 +1 @@ +../../M9B4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/MJS9 b/tests/yaml-test-suite/tags/spec/MJS9 new file mode 120000 index 0000000..7e30ed5 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/MJS9 @@ -0,0 +1 @@ +../../MJS9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/NP9H b/tests/yaml-test-suite/tags/spec/NP9H new file mode 120000 index 0000000..7819403 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/NP9H @@ -0,0 +1 @@ +../../NP9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/P2AD b/tests/yaml-test-suite/tags/spec/P2AD new file mode 120000 index 0000000..67d7bd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/P2AD @@ -0,0 +1 @@ +../../P2AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/P76L b/tests/yaml-test-suite/tags/spec/P76L new file mode 120000 index 0000000..74b6703 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/P76L @@ -0,0 +1 @@ +../../P76L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/P94K b/tests/yaml-test-suite/tags/spec/P94K new file mode 120000 index 0000000..ee7fbd3 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/P94K @@ -0,0 +1 @@ +../../P94K \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/PBJ2 b/tests/yaml-test-suite/tags/spec/PBJ2 new file mode 120000 index 0000000..bd891c3 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/PBJ2 @@ -0,0 +1 @@ +../../PBJ2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/PRH3 b/tests/yaml-test-suite/tags/spec/PRH3 new file mode 120000 index 0000000..fac952f --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/PRH3 @@ -0,0 +1 @@ +../../PRH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/Q88A b/tests/yaml-test-suite/tags/spec/Q88A new file mode 120000 index 0000000..f0cb80d --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/Q88A @@ -0,0 +1 @@ +../../Q88A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/Q8AD b/tests/yaml-test-suite/tags/spec/Q8AD new file mode 120000 index 0000000..59677ca --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/Q8AD @@ -0,0 +1 @@ +../../Q8AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/Q9WF b/tests/yaml-test-suite/tags/spec/Q9WF new file mode 120000 index 0000000..f1c846f --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/Q9WF @@ -0,0 +1 @@ +../../Q9WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/QF4Y b/tests/yaml-test-suite/tags/spec/QF4Y new file mode 120000 index 0000000..bff60ef --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/QF4Y @@ -0,0 +1 @@ +../../QF4Y \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/R4YG b/tests/yaml-test-suite/tags/spec/R4YG new file mode 120000 index 0000000..eb5022e --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/R4YG @@ -0,0 +1 @@ +../../R4YG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/RTP8 b/tests/yaml-test-suite/tags/spec/RTP8 new file mode 120000 index 0000000..f78c6ea --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/RTP8 @@ -0,0 +1 @@ +../../RTP8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/RZT7 b/tests/yaml-test-suite/tags/spec/RZT7 new file mode 120000 index 0000000..84ae693 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/RZT7 @@ -0,0 +1 @@ +../../RZT7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/S3PD b/tests/yaml-test-suite/tags/spec/S3PD new file mode 120000 index 0000000..6877cc2 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/S3PD @@ -0,0 +1 @@ +../../S3PD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/S4JQ b/tests/yaml-test-suite/tags/spec/S4JQ new file mode 120000 index 0000000..952a8e9 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/S4JQ @@ -0,0 +1 @@ +../../S4JQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/S9E8 b/tests/yaml-test-suite/tags/spec/S9E8 new file mode 120000 index 0000000..9911e29 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/S9E8 @@ -0,0 +1 @@ +../../S9E8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/SSW6 b/tests/yaml-test-suite/tags/spec/SSW6 new file mode 120000 index 0000000..bf02e65 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/SSW6 @@ -0,0 +1 @@ +../../SSW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/SYW4 b/tests/yaml-test-suite/tags/spec/SYW4 new file mode 120000 index 0000000..59bb157 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/SYW4 @@ -0,0 +1 @@ +../../SYW4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/T26H b/tests/yaml-test-suite/tags/spec/T26H new file mode 120000 index 0000000..f893b31 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/T26H @@ -0,0 +1 @@ +../../T26H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/T4YY b/tests/yaml-test-suite/tags/spec/T4YY new file mode 120000 index 0000000..36a98cd --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/T4YY @@ -0,0 +1 @@ +../../T4YY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/T5N4 b/tests/yaml-test-suite/tags/spec/T5N4 new file mode 120000 index 0000000..0bb9caa --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/T5N4 @@ -0,0 +1 @@ +../../T5N4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/TE2A b/tests/yaml-test-suite/tags/spec/TE2A new file mode 120000 index 0000000..bd8c292 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/TE2A @@ -0,0 +1 @@ +../../TE2A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/TL85 b/tests/yaml-test-suite/tags/spec/TL85 new file mode 120000 index 0000000..884de90 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/TL85 @@ -0,0 +1 @@ +../../TL85 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/U3C3 b/tests/yaml-test-suite/tags/spec/U3C3 new file mode 120000 index 0000000..f8c5d39 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/U3C3 @@ -0,0 +1 @@ +../../U3C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/U9NS b/tests/yaml-test-suite/tags/spec/U9NS new file mode 120000 index 0000000..9d30926 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/U9NS @@ -0,0 +1 @@ +../../U9NS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/UDR7 b/tests/yaml-test-suite/tags/spec/UDR7 new file mode 120000 index 0000000..0cf6f1f --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/UDR7 @@ -0,0 +1 @@ +../../UDR7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/UGM3 b/tests/yaml-test-suite/tags/spec/UGM3 new file mode 120000 index 0000000..46c4b5f --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/UGM3 @@ -0,0 +1 @@ +../../UGM3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/UT92 b/tests/yaml-test-suite/tags/spec/UT92 new file mode 120000 index 0000000..697f678 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/UT92 @@ -0,0 +1 @@ +../../UT92 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/V9D5 b/tests/yaml-test-suite/tags/spec/V9D5 new file mode 120000 index 0000000..5b9b022 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/V9D5 @@ -0,0 +1 @@ +../../V9D5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/W42U b/tests/yaml-test-suite/tags/spec/W42U new file mode 120000 index 0000000..3683162 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/W42U @@ -0,0 +1 @@ +../../W42U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/W4TN b/tests/yaml-test-suite/tags/spec/W4TN new file mode 120000 index 0000000..51978f9 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/W4TN @@ -0,0 +1 @@ +../../W4TN \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/WZ62 b/tests/yaml-test-suite/tags/spec/WZ62 new file mode 120000 index 0000000..0815d6f --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/WZ62 @@ -0,0 +1 @@ +../../WZ62 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/XV9V b/tests/yaml-test-suite/tags/spec/XV9V new file mode 120000 index 0000000..dfb43bd --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/XV9V @@ -0,0 +1 @@ +../../XV9V \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/YD5X b/tests/yaml-test-suite/tags/spec/YD5X new file mode 120000 index 0000000..c4b3b46 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/YD5X @@ -0,0 +1 @@ +../../YD5X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/Z67P b/tests/yaml-test-suite/tags/spec/Z67P new file mode 120000 index 0000000..23a62f4 --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/Z67P @@ -0,0 +1 @@ +../../Z67P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/Z9M4 b/tests/yaml-test-suite/tags/spec/Z9M4 new file mode 120000 index 0000000..44e459e --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/Z9M4 @@ -0,0 +1 @@ +../../Z9M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/spec/ZF4X b/tests/yaml-test-suite/tags/spec/ZF4X new file mode 120000 index 0000000..3835fac --- /dev/null +++ b/tests/yaml-test-suite/tags/spec/ZF4X @@ -0,0 +1 @@ +../../ZF4X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/2AUY b/tests/yaml-test-suite/tags/tag/2AUY new file mode 120000 index 0000000..27c0438 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/2AUY @@ -0,0 +1 @@ +../../2AUY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/33X3 b/tests/yaml-test-suite/tags/tag/33X3 new file mode 120000 index 0000000..3555eb0 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/33X3 @@ -0,0 +1 @@ +../../33X3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/35KP b/tests/yaml-test-suite/tags/tag/35KP new file mode 120000 index 0000000..f82dd89 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/35KP @@ -0,0 +1 @@ +../../35KP \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/52DL b/tests/yaml-test-suite/tags/tag/52DL new file mode 120000 index 0000000..7acd9ae --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/52DL @@ -0,0 +1 @@ +../../52DL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/565N b/tests/yaml-test-suite/tags/tag/565N new file mode 120000 index 0000000..fcc8fa3 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/565N @@ -0,0 +1 @@ +../../565N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/57H4 b/tests/yaml-test-suite/tags/tag/57H4 new file mode 120000 index 0000000..2c0bfd1 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/57H4 @@ -0,0 +1 @@ +../../57H4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/5TYM b/tests/yaml-test-suite/tags/tag/5TYM new file mode 120000 index 0000000..a004e81 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/5TYM @@ -0,0 +1 @@ +../../5TYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/6CK3 b/tests/yaml-test-suite/tags/tag/6CK3 new file mode 120000 index 0000000..f62764d --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/6CK3 @@ -0,0 +1 @@ +../../6CK3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/6JWB b/tests/yaml-test-suite/tags/tag/6JWB new file mode 120000 index 0000000..1ebc58c --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/6JWB @@ -0,0 +1 @@ +../../6JWB \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/6WLZ b/tests/yaml-test-suite/tags/tag/6WLZ new file mode 120000 index 0000000..290c70c --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/6WLZ @@ -0,0 +1 @@ +../../6WLZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/735Y b/tests/yaml-test-suite/tags/tag/735Y new file mode 120000 index 0000000..8c5413d --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/735Y @@ -0,0 +1 @@ +../../735Y \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/74H7 b/tests/yaml-test-suite/tags/tag/74H7 new file mode 120000 index 0000000..584b1cf --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/74H7 @@ -0,0 +1 @@ +../../74H7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/7FWL b/tests/yaml-test-suite/tags/tag/7FWL new file mode 120000 index 0000000..889234e --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/7FWL @@ -0,0 +1 @@ +../../7FWL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/8MK2 b/tests/yaml-test-suite/tags/tag/8MK2 new file mode 120000 index 0000000..0b041c0 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/8MK2 @@ -0,0 +1 @@ +../../8MK2 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/9HCY b/tests/yaml-test-suite/tags/tag/9HCY new file mode 120000 index 0000000..180c195 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/9HCY @@ -0,0 +1 @@ +../../9HCY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/9KAX b/tests/yaml-test-suite/tags/tag/9KAX new file mode 120000 index 0000000..69dbebd --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/9KAX @@ -0,0 +1 @@ +../../9KAX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/9WXW b/tests/yaml-test-suite/tags/tag/9WXW new file mode 120000 index 0000000..ffcfb6e --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/9WXW @@ -0,0 +1 @@ +../../9WXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/BU8L b/tests/yaml-test-suite/tags/tag/BU8L new file mode 120000 index 0000000..4134679 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/BU8L @@ -0,0 +1 @@ +../../BU8L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/C4HZ b/tests/yaml-test-suite/tags/tag/C4HZ new file mode 120000 index 0000000..02a2837 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/C4HZ @@ -0,0 +1 @@ +../../C4HZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/CC74 b/tests/yaml-test-suite/tags/tag/CC74 new file mode 120000 index 0000000..c75436d --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/CC74 @@ -0,0 +1 @@ +../../CC74 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/CUP7 b/tests/yaml-test-suite/tags/tag/CUP7 new file mode 120000 index 0000000..01e2dd7 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/CUP7 @@ -0,0 +1 @@ +../../CUP7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/EHF6 b/tests/yaml-test-suite/tags/tag/EHF6 new file mode 120000 index 0000000..649f0f6 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/EHF6 @@ -0,0 +1 @@ +../../EHF6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/F2C7 b/tests/yaml-test-suite/tags/tag/F2C7 new file mode 120000 index 0000000..d2167aa --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/F2C7 @@ -0,0 +1 @@ +../../F2C7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/FH7J b/tests/yaml-test-suite/tags/tag/FH7J new file mode 120000 index 0000000..5e98b5e --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/FH7J @@ -0,0 +1 @@ +../../FH7J \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/H7J7 b/tests/yaml-test-suite/tags/tag/H7J7 new file mode 120000 index 0000000..6eff103 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/H7J7 @@ -0,0 +1 @@ +../../H7J7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/HMQ5 b/tests/yaml-test-suite/tags/tag/HMQ5 new file mode 120000 index 0000000..7984983 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/HMQ5 @@ -0,0 +1 @@ +../../HMQ5 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/J7PZ b/tests/yaml-test-suite/tags/tag/J7PZ new file mode 120000 index 0000000..794a265 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/J7PZ @@ -0,0 +1 @@ +../../J7PZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/L94M b/tests/yaml-test-suite/tags/tag/L94M new file mode 120000 index 0000000..8557d0f --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/L94M @@ -0,0 +1 @@ +../../L94M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/LE5A b/tests/yaml-test-suite/tags/tag/LE5A new file mode 120000 index 0000000..4d0f680 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/LE5A @@ -0,0 +1 @@ +../../LE5A \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/LHL4 b/tests/yaml-test-suite/tags/tag/LHL4 new file mode 120000 index 0000000..1731353 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/LHL4 @@ -0,0 +1 @@ +../../LHL4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/M5C3 b/tests/yaml-test-suite/tags/tag/M5C3 new file mode 120000 index 0000000..b94bb88 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/M5C3 @@ -0,0 +1 @@ +../../M5C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/P76L b/tests/yaml-test-suite/tags/tag/P76L new file mode 120000 index 0000000..74b6703 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/P76L @@ -0,0 +1 @@ +../../P76L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/QLJ7 b/tests/yaml-test-suite/tags/tag/QLJ7 new file mode 120000 index 0000000..c953546 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/QLJ7 @@ -0,0 +1 @@ +../../QLJ7 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/S4JQ b/tests/yaml-test-suite/tags/tag/S4JQ new file mode 120000 index 0000000..952a8e9 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/S4JQ @@ -0,0 +1 @@ +../../S4JQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/U3C3 b/tests/yaml-test-suite/tags/tag/U3C3 new file mode 120000 index 0000000..f8c5d39 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/U3C3 @@ -0,0 +1 @@ +../../U3C3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/U99R b/tests/yaml-test-suite/tags/tag/U99R new file mode 120000 index 0000000..3bff89b --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/U99R @@ -0,0 +1 @@ +../../U99R \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/UGM3 b/tests/yaml-test-suite/tags/tag/UGM3 new file mode 120000 index 0000000..46c4b5f --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/UGM3 @@ -0,0 +1 @@ +../../UGM3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/WZ62 b/tests/yaml-test-suite/tags/tag/WZ62 new file mode 120000 index 0000000..0815d6f --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/WZ62 @@ -0,0 +1 @@ +../../WZ62 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/Z67P b/tests/yaml-test-suite/tags/tag/Z67P new file mode 120000 index 0000000..23a62f4 --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/Z67P @@ -0,0 +1 @@ +../../Z67P \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/tag/Z9M4 b/tests/yaml-test-suite/tags/tag/Z9M4 new file mode 120000 index 0000000..44e459e --- /dev/null +++ b/tests/yaml-test-suite/tags/tag/Z9M4 @@ -0,0 +1 @@ +../../Z9M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/2XXW b/tests/yaml-test-suite/tags/unknown-tag/2XXW new file mode 120000 index 0000000..5f7bb4f --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/2XXW @@ -0,0 +1 @@ +../../2XXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/565N b/tests/yaml-test-suite/tags/unknown-tag/565N new file mode 120000 index 0000000..fcc8fa3 --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/565N @@ -0,0 +1 @@ +../../565N \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/7FWL b/tests/yaml-test-suite/tags/unknown-tag/7FWL new file mode 120000 index 0000000..889234e --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/7FWL @@ -0,0 +1 @@ +../../7FWL \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/9HCY b/tests/yaml-test-suite/tags/unknown-tag/9HCY new file mode 120000 index 0000000..180c195 --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/9HCY @@ -0,0 +1 @@ +../../9HCY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/9WXW b/tests/yaml-test-suite/tags/unknown-tag/9WXW new file mode 120000 index 0000000..ffcfb6e --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/9WXW @@ -0,0 +1 @@ +../../9WXW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/CC74 b/tests/yaml-test-suite/tags/unknown-tag/CC74 new file mode 120000 index 0000000..c75436d --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/CC74 @@ -0,0 +1 @@ +../../CC74 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/J7PZ b/tests/yaml-test-suite/tags/unknown-tag/J7PZ new file mode 120000 index 0000000..794a265 --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/J7PZ @@ -0,0 +1 @@ +../../J7PZ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/P76L b/tests/yaml-test-suite/tags/unknown-tag/P76L new file mode 120000 index 0000000..74b6703 --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/P76L @@ -0,0 +1 @@ +../../P76L \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/UGM3 b/tests/yaml-test-suite/tags/unknown-tag/UGM3 new file mode 120000 index 0000000..46c4b5f --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/UGM3 @@ -0,0 +1 @@ +../../UGM3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/unknown-tag/Z9M4 b/tests/yaml-test-suite/tags/unknown-tag/Z9M4 new file mode 120000 index 0000000..44e459e --- /dev/null +++ b/tests/yaml-test-suite/tags/unknown-tag/Z9M4 @@ -0,0 +1 @@ +../../Z9M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/4ZYM b/tests/yaml-test-suite/tags/upto-1.2/4ZYM new file mode 120000 index 0000000..a5d6035 --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/4ZYM @@ -0,0 +1 @@ +../../4ZYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/5GBF b/tests/yaml-test-suite/tags/upto-1.2/5GBF new file mode 120000 index 0000000..3fe583f --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/5GBF @@ -0,0 +1 @@ +../../5GBF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/6BCT b/tests/yaml-test-suite/tags/upto-1.2/6BCT new file mode 120000 index 0000000..443199a --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/6BCT @@ -0,0 +1 @@ +../../6BCT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/6HB6 b/tests/yaml-test-suite/tags/upto-1.2/6HB6 new file mode 120000 index 0000000..309d8ac --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/6HB6 @@ -0,0 +1 @@ +../../6HB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/7A4E b/tests/yaml-test-suite/tags/upto-1.2/7A4E new file mode 120000 index 0000000..c064868 --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/7A4E @@ -0,0 +1 @@ +../../7A4E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/A2M4 b/tests/yaml-test-suite/tags/upto-1.2/A2M4 new file mode 120000 index 0000000..49d7338 --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/A2M4 @@ -0,0 +1 @@ +../../A2M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/HS5T b/tests/yaml-test-suite/tags/upto-1.2/HS5T new file mode 120000 index 0000000..9c088cf --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/HS5T @@ -0,0 +1 @@ +../../HS5T \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/J3BT b/tests/yaml-test-suite/tags/upto-1.2/J3BT new file mode 120000 index 0000000..cc6e291 --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/J3BT @@ -0,0 +1 @@ +../../J3BT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/NP9H b/tests/yaml-test-suite/tags/upto-1.2/NP9H new file mode 120000 index 0000000..7819403 --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/NP9H @@ -0,0 +1 @@ +../../NP9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/PRH3 b/tests/yaml-test-suite/tags/upto-1.2/PRH3 new file mode 120000 index 0000000..fac952f --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/PRH3 @@ -0,0 +1 @@ +../../PRH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/R4YG b/tests/yaml-test-suite/tags/upto-1.2/R4YG new file mode 120000 index 0000000..eb5022e --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/R4YG @@ -0,0 +1 @@ +../../R4YG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/upto-1.2/TL85 b/tests/yaml-test-suite/tags/upto-1.2/TL85 new file mode 120000 index 0000000..884de90 --- /dev/null +++ b/tests/yaml-test-suite/tags/upto-1.2/TL85 @@ -0,0 +1 @@ +../../TL85 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/26DV b/tests/yaml-test-suite/tags/whitespace/26DV new file mode 120000 index 0000000..26960df --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/26DV @@ -0,0 +1 @@ +../../26DV \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/3RLN/00 b/tests/yaml-test-suite/tags/whitespace/3RLN/00 new file mode 120000 index 0000000..f5ff880 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/3RLN/00 @@ -0,0 +1 @@ +../../../3RLN/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/3RLN/01 b/tests/yaml-test-suite/tags/whitespace/3RLN/01 new file mode 120000 index 0000000..55cec7b --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/3RLN/01 @@ -0,0 +1 @@ +../../../3RLN/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/3RLN/02 b/tests/yaml-test-suite/tags/whitespace/3RLN/02 new file mode 120000 index 0000000..c900b12 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/3RLN/02 @@ -0,0 +1 @@ +../../../3RLN/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/3RLN/03 b/tests/yaml-test-suite/tags/whitespace/3RLN/03 new file mode 120000 index 0000000..7a84ae7 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/3RLN/03 @@ -0,0 +1 @@ +../../../3RLN/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/3RLN/04 b/tests/yaml-test-suite/tags/whitespace/3RLN/04 new file mode 120000 index 0000000..b79983f --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/3RLN/04 @@ -0,0 +1 @@ +../../../3RLN/04 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/3RLN/05 b/tests/yaml-test-suite/tags/whitespace/3RLN/05 new file mode 120000 index 0000000..68e3e9c --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/3RLN/05 @@ -0,0 +1 @@ +../../../3RLN/05 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/4EJS b/tests/yaml-test-suite/tags/whitespace/4EJS new file mode 120000 index 0000000..7a45c9b --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/4EJS @@ -0,0 +1 @@ +../../4EJS \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/4Q9F b/tests/yaml-test-suite/tags/whitespace/4Q9F new file mode 120000 index 0000000..18fb9be --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/4Q9F @@ -0,0 +1 @@ +../../4Q9F \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/4QFQ b/tests/yaml-test-suite/tags/whitespace/4QFQ new file mode 120000 index 0000000..47aecda --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/4QFQ @@ -0,0 +1 @@ +../../4QFQ \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/4RWC b/tests/yaml-test-suite/tags/whitespace/4RWC new file mode 120000 index 0000000..1af5d48 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/4RWC @@ -0,0 +1 @@ +../../4RWC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/4ZYM b/tests/yaml-test-suite/tags/whitespace/4ZYM new file mode 120000 index 0000000..a5d6035 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/4ZYM @@ -0,0 +1 @@ +../../4ZYM \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/5GBF b/tests/yaml-test-suite/tags/whitespace/5GBF new file mode 120000 index 0000000..3fe583f --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/5GBF @@ -0,0 +1 @@ +../../5GBF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/5LLU b/tests/yaml-test-suite/tags/whitespace/5LLU new file mode 120000 index 0000000..40abecd --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/5LLU @@ -0,0 +1 @@ +../../5LLU \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/6BCT b/tests/yaml-test-suite/tags/whitespace/6BCT new file mode 120000 index 0000000..443199a --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/6BCT @@ -0,0 +1 @@ +../../6BCT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/6CA3 b/tests/yaml-test-suite/tags/whitespace/6CA3 new file mode 120000 index 0000000..c298bc0 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/6CA3 @@ -0,0 +1 @@ +../../6CA3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/6FWR b/tests/yaml-test-suite/tags/whitespace/6FWR new file mode 120000 index 0000000..b03f3eb --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/6FWR @@ -0,0 +1 @@ +../../6FWR \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/6HB6 b/tests/yaml-test-suite/tags/whitespace/6HB6 new file mode 120000 index 0000000..309d8ac --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/6HB6 @@ -0,0 +1 @@ +../../6HB6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/6WPF b/tests/yaml-test-suite/tags/whitespace/6WPF new file mode 120000 index 0000000..8451a19 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/6WPF @@ -0,0 +1 @@ +../../6WPF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/753E b/tests/yaml-test-suite/tags/whitespace/753E new file mode 120000 index 0000000..3e8a0f8 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/753E @@ -0,0 +1 @@ +../../753E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/7A4E b/tests/yaml-test-suite/tags/whitespace/7A4E new file mode 120000 index 0000000..c064868 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/7A4E @@ -0,0 +1 @@ +../../7A4E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/8G76 b/tests/yaml-test-suite/tags/whitespace/8G76 new file mode 120000 index 0000000..00d3ecd --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/8G76 @@ -0,0 +1 @@ +../../8G76 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/93WF b/tests/yaml-test-suite/tags/whitespace/93WF new file mode 120000 index 0000000..1c69d35 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/93WF @@ -0,0 +1 @@ +../../93WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/96NN/00 b/tests/yaml-test-suite/tags/whitespace/96NN/00 new file mode 120000 index 0000000..a63c408 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/96NN/00 @@ -0,0 +1 @@ +../../../96NN/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/96NN/01 b/tests/yaml-test-suite/tags/whitespace/96NN/01 new file mode 120000 index 0000000..fff2c5d --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/96NN/01 @@ -0,0 +1 @@ +../../../96NN/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/9TFX b/tests/yaml-test-suite/tags/whitespace/9TFX new file mode 120000 index 0000000..0ac62a3 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/9TFX @@ -0,0 +1 @@ +../../9TFX \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/9YRD b/tests/yaml-test-suite/tags/whitespace/9YRD new file mode 120000 index 0000000..a547235 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/9YRD @@ -0,0 +1 @@ +../../9YRD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/A2M4 b/tests/yaml-test-suite/tags/whitespace/A2M4 new file mode 120000 index 0000000..49d7338 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/A2M4 @@ -0,0 +1 @@ +../../A2M4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DC7X b/tests/yaml-test-suite/tags/whitespace/DC7X new file mode 120000 index 0000000..10ed405 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DC7X @@ -0,0 +1 @@ +../../DC7X \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DE56/00 b/tests/yaml-test-suite/tags/whitespace/DE56/00 new file mode 120000 index 0000000..9eceb56 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DE56/00 @@ -0,0 +1 @@ +../../../DE56/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DE56/01 b/tests/yaml-test-suite/tags/whitespace/DE56/01 new file mode 120000 index 0000000..1b90ada --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DE56/01 @@ -0,0 +1 @@ +../../../DE56/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DE56/02 b/tests/yaml-test-suite/tags/whitespace/DE56/02 new file mode 120000 index 0000000..1bfce97 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DE56/02 @@ -0,0 +1 @@ +../../../DE56/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DE56/03 b/tests/yaml-test-suite/tags/whitespace/DE56/03 new file mode 120000 index 0000000..f5cbbdb --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DE56/03 @@ -0,0 +1 @@ +../../../DE56/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DE56/04 b/tests/yaml-test-suite/tags/whitespace/DE56/04 new file mode 120000 index 0000000..13ce7a1 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DE56/04 @@ -0,0 +1 @@ +../../../DE56/04 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DE56/05 b/tests/yaml-test-suite/tags/whitespace/DE56/05 new file mode 120000 index 0000000..3f3231b --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DE56/05 @@ -0,0 +1 @@ +../../../DE56/05 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/00 b/tests/yaml-test-suite/tags/whitespace/DK95/00 new file mode 120000 index 0000000..895dea3 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/00 @@ -0,0 +1 @@ +../../../DK95/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/01 b/tests/yaml-test-suite/tags/whitespace/DK95/01 new file mode 120000 index 0000000..8d5bb38 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/01 @@ -0,0 +1 @@ +../../../DK95/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/02 b/tests/yaml-test-suite/tags/whitespace/DK95/02 new file mode 120000 index 0000000..aad61a4 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/02 @@ -0,0 +1 @@ +../../../DK95/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/03 b/tests/yaml-test-suite/tags/whitespace/DK95/03 new file mode 120000 index 0000000..d4994df --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/03 @@ -0,0 +1 @@ +../../../DK95/03 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/04 b/tests/yaml-test-suite/tags/whitespace/DK95/04 new file mode 120000 index 0000000..e1dfef1 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/04 @@ -0,0 +1 @@ +../../../DK95/04 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/05 b/tests/yaml-test-suite/tags/whitespace/DK95/05 new file mode 120000 index 0000000..cea4bd0 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/05 @@ -0,0 +1 @@ +../../../DK95/05 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/06 b/tests/yaml-test-suite/tags/whitespace/DK95/06 new file mode 120000 index 0000000..9b01d12 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/06 @@ -0,0 +1 @@ +../../../DK95/06 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/07 b/tests/yaml-test-suite/tags/whitespace/DK95/07 new file mode 120000 index 0000000..6ec0e3d --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/07 @@ -0,0 +1 @@ +../../../DK95/07 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DK95/08 b/tests/yaml-test-suite/tags/whitespace/DK95/08 new file mode 120000 index 0000000..f8505bc --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DK95/08 @@ -0,0 +1 @@ +../../../DK95/08 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/DWX9 b/tests/yaml-test-suite/tags/whitespace/DWX9 new file mode 120000 index 0000000..091d706 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/DWX9 @@ -0,0 +1 @@ +../../DWX9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/EX5H b/tests/yaml-test-suite/tags/whitespace/EX5H new file mode 120000 index 0000000..6a28db0 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/EX5H @@ -0,0 +1 @@ +../../EX5H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/H2RW b/tests/yaml-test-suite/tags/whitespace/H2RW new file mode 120000 index 0000000..44883ed --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/H2RW @@ -0,0 +1 @@ +../../H2RW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/HS5T b/tests/yaml-test-suite/tags/whitespace/HS5T new file mode 120000 index 0000000..9c088cf --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/HS5T @@ -0,0 +1 @@ +../../HS5T \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/J3BT b/tests/yaml-test-suite/tags/whitespace/J3BT new file mode 120000 index 0000000..cc6e291 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/J3BT @@ -0,0 +1 @@ +../../J3BT \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/J7VC b/tests/yaml-test-suite/tags/whitespace/J7VC new file mode 120000 index 0000000..afe669e --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/J7VC @@ -0,0 +1 @@ +../../J7VC \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/K527 b/tests/yaml-test-suite/tags/whitespace/K527 new file mode 120000 index 0000000..64b643a --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/K527 @@ -0,0 +1 @@ +../../K527 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/K54U b/tests/yaml-test-suite/tags/whitespace/K54U new file mode 120000 index 0000000..a1f2793 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/K54U @@ -0,0 +1 @@ +../../K54U \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/K858 b/tests/yaml-test-suite/tags/whitespace/K858 new file mode 120000 index 0000000..e066881 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/K858 @@ -0,0 +1 @@ +../../K858 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/KH5V/00 b/tests/yaml-test-suite/tags/whitespace/KH5V/00 new file mode 120000 index 0000000..4558b72 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/KH5V/00 @@ -0,0 +1 @@ +../../../KH5V/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/KH5V/01 b/tests/yaml-test-suite/tags/whitespace/KH5V/01 new file mode 120000 index 0000000..709108c --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/KH5V/01 @@ -0,0 +1 @@ +../../../KH5V/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/KH5V/02 b/tests/yaml-test-suite/tags/whitespace/KH5V/02 new file mode 120000 index 0000000..2499bf1 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/KH5V/02 @@ -0,0 +1 @@ +../../../KH5V/02 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/L24T/00 b/tests/yaml-test-suite/tags/whitespace/L24T/00 new file mode 120000 index 0000000..90afc71 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/L24T/00 @@ -0,0 +1 @@ +../../../L24T/00 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/L24T/01 b/tests/yaml-test-suite/tags/whitespace/L24T/01 new file mode 120000 index 0000000..4ab3fe1 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/L24T/01 @@ -0,0 +1 @@ +../../../L24T/01 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/LP6E b/tests/yaml-test-suite/tags/whitespace/LP6E new file mode 120000 index 0000000..b998ec8 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/LP6E @@ -0,0 +1 @@ +../../LP6E \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/M29M b/tests/yaml-test-suite/tags/whitespace/M29M new file mode 120000 index 0000000..6a2ae4d --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/M29M @@ -0,0 +1 @@ +../../M29M \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/M9B4 b/tests/yaml-test-suite/tags/whitespace/M9B4 new file mode 120000 index 0000000..14843be --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/M9B4 @@ -0,0 +1 @@ +../../M9B4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/MJS9 b/tests/yaml-test-suite/tags/whitespace/MJS9 new file mode 120000 index 0000000..7e30ed5 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/MJS9 @@ -0,0 +1 @@ +../../MJS9 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/MYW6 b/tests/yaml-test-suite/tags/whitespace/MYW6 new file mode 120000 index 0000000..1c9c6c1 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/MYW6 @@ -0,0 +1 @@ +../../MYW6 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/NAT4 b/tests/yaml-test-suite/tags/whitespace/NAT4 new file mode 120000 index 0000000..f0e5e11 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/NAT4 @@ -0,0 +1 @@ +../../NAT4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/NB6Z b/tests/yaml-test-suite/tags/whitespace/NB6Z new file mode 120000 index 0000000..0d26184 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/NB6Z @@ -0,0 +1 @@ +../../NB6Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/NHX8 b/tests/yaml-test-suite/tags/whitespace/NHX8 new file mode 120000 index 0000000..70981c8 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/NHX8 @@ -0,0 +1 @@ +../../NHX8 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/NP9H b/tests/yaml-test-suite/tags/whitespace/NP9H new file mode 120000 index 0000000..7819403 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/NP9H @@ -0,0 +1 @@ +../../NP9H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/PRH3 b/tests/yaml-test-suite/tags/whitespace/PRH3 new file mode 120000 index 0000000..fac952f --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/PRH3 @@ -0,0 +1 @@ +../../PRH3 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Q5MG b/tests/yaml-test-suite/tags/whitespace/Q5MG new file mode 120000 index 0000000..09ec0c6 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Q5MG @@ -0,0 +1 @@ +../../Q5MG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Q8AD b/tests/yaml-test-suite/tags/whitespace/Q8AD new file mode 120000 index 0000000..59677ca --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Q8AD @@ -0,0 +1 @@ +../../Q8AD \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Q9WF b/tests/yaml-test-suite/tags/whitespace/Q9WF new file mode 120000 index 0000000..f1c846f --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Q9WF @@ -0,0 +1 @@ +../../Q9WF \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/R4YG b/tests/yaml-test-suite/tags/whitespace/R4YG new file mode 120000 index 0000000..eb5022e --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/R4YG @@ -0,0 +1 @@ +../../R4YG \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/S98Z b/tests/yaml-test-suite/tags/whitespace/S98Z new file mode 120000 index 0000000..92f9894 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/S98Z @@ -0,0 +1 @@ +../../S98Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/SU5Z b/tests/yaml-test-suite/tags/whitespace/SU5Z new file mode 120000 index 0000000..14f5264 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/SU5Z @@ -0,0 +1 @@ +../../SU5Z \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/T26H b/tests/yaml-test-suite/tags/whitespace/T26H new file mode 120000 index 0000000..f893b31 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/T26H @@ -0,0 +1 @@ +../../T26H \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/T4YY b/tests/yaml-test-suite/tags/whitespace/T4YY new file mode 120000 index 0000000..36a98cd --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/T4YY @@ -0,0 +1 @@ +../../T4YY \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/T5N4 b/tests/yaml-test-suite/tags/whitespace/T5N4 new file mode 120000 index 0000000..0bb9caa --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/T5N4 @@ -0,0 +1 @@ +../../T5N4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/TL85 b/tests/yaml-test-suite/tags/whitespace/TL85 new file mode 120000 index 0000000..884de90 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/TL85 @@ -0,0 +1 @@ +../../TL85 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/UV7Q b/tests/yaml-test-suite/tags/whitespace/UV7Q new file mode 120000 index 0000000..cd525ab --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/UV7Q @@ -0,0 +1 @@ +../../UV7Q \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/W9L4 b/tests/yaml-test-suite/tags/whitespace/W9L4 new file mode 120000 index 0000000..4eb930f --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/W9L4 @@ -0,0 +1 @@ +../../W9L4 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/X4QW b/tests/yaml-test-suite/tags/whitespace/X4QW new file mode 120000 index 0000000..9cb27e1 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/X4QW @@ -0,0 +1 @@ +../../X4QW \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/000 b/tests/yaml-test-suite/tags/whitespace/Y79Y/000 new file mode 120000 index 0000000..6af0d4b --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/000 @@ -0,0 +1 @@ +../../../Y79Y/000 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/001 b/tests/yaml-test-suite/tags/whitespace/Y79Y/001 new file mode 120000 index 0000000..79b0304 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/001 @@ -0,0 +1 @@ +../../../Y79Y/001 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/002 b/tests/yaml-test-suite/tags/whitespace/Y79Y/002 new file mode 120000 index 0000000..083efd8 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/002 @@ -0,0 +1 @@ +../../../Y79Y/002 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/003 b/tests/yaml-test-suite/tags/whitespace/Y79Y/003 new file mode 120000 index 0000000..eb3c3ab --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/003 @@ -0,0 +1 @@ +../../../Y79Y/003 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/004 b/tests/yaml-test-suite/tags/whitespace/Y79Y/004 new file mode 120000 index 0000000..bb9a9d5 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/004 @@ -0,0 +1 @@ +../../../Y79Y/004 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/005 b/tests/yaml-test-suite/tags/whitespace/Y79Y/005 new file mode 120000 index 0000000..411d49f --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/005 @@ -0,0 +1 @@ +../../../Y79Y/005 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/006 b/tests/yaml-test-suite/tags/whitespace/Y79Y/006 new file mode 120000 index 0000000..dbb0e87 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/006 @@ -0,0 +1 @@ +../../../Y79Y/006 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/007 b/tests/yaml-test-suite/tags/whitespace/Y79Y/007 new file mode 120000 index 0000000..d4fbb2f --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/007 @@ -0,0 +1 @@ +../../../Y79Y/007 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/008 b/tests/yaml-test-suite/tags/whitespace/Y79Y/008 new file mode 120000 index 0000000..993c97b --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/008 @@ -0,0 +1 @@ +../../../Y79Y/008 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/009 b/tests/yaml-test-suite/tags/whitespace/Y79Y/009 new file mode 120000 index 0000000..103eae2 --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/009 @@ -0,0 +1 @@ +../../../Y79Y/009 \ No newline at end of file diff --git a/tests/yaml-test-suite/tags/whitespace/Y79Y/010 b/tests/yaml-test-suite/tags/whitespace/Y79Y/010 new file mode 120000 index 0000000..3215c6a --- /dev/null +++ b/tests/yaml-test-suite/tags/whitespace/Y79Y/010 @@ -0,0 +1 @@ +../../../Y79Y/010 \ No newline at end of file