Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (29 sloc) 440 Bytes
=== Aliases in Explicit Block Mapping
--- from: NimYAML tests
--- tags: alias missing
This test is showing a mapping with explicit keys, in which one pair is missing
the key component.
It also is testing an alias to a scalar anchored in an explicit key.
--- in-yaml
? &a a
: &b b
: *a
--- in-json
{
"a": "b",
"": "a"
}
--- out-yaml
&a a: &b b
: *a
--- test-event
+STR
+DOC
+MAP
=VAL &a :a
=VAL &b :b
=VAL :
=ALI *a
-MAP
-DOC
-STR