Skip to content
Permalink
Browse files

Regenerated data from master v2020-02-11

  • Loading branch information
perlpunk committed Feb 11, 2020
0 parents commit a12ee724ceb4ca16d592f674b07a5e77364fb6fe
Showing 2,981 changed files with 8,707 additions and 0 deletions.
@@ -0,0 +1 @@
Spec Example 2.4. Sequence of Mappings
@@ -0,0 +1,12 @@
[
{
"name": "Mark McGwire",
"hr": 65,
"avg": 0.278
},
{
"name": "Sammy Sosa",
"hr": 63,
"avg": 0.288
}
]
@@ -0,0 +1,8 @@
-
name: Mark McGwire
hr: 65
avg: 0.278
-
name: Sammy Sosa
hr: 63
avg: 0.288
@@ -0,0 +1,6 @@
- name: Mark McGwire
hr: 65
avg: 0.278
- name: Sammy Sosa
hr: 63
avg: 0.288
@@ -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
@@ -0,0 +1 @@
Invalid value after mapping
No changes.
@@ -0,0 +1,3 @@
foo:
bar
invalid
@@ -0,0 +1,5 @@
+STR
+DOC
+MAP
=VAL :foo
=VAL :bar
@@ -0,0 +1 @@
Whitespace around colon in mappings
@@ -0,0 +1,18 @@
{
"top1": {
"key1": "scalar1"
},
"top2": {
"key2": "scalar2"
},
"top3": {
"scalar1": "scalar3"
},
"top4": {
"scalar2": "scalar4"
},
"top5": "scalar5",
"top6": {
"key6": "scalar6"
}
}
@@ -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
@@ -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
@@ -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
@@ -0,0 +1 @@
Spec Example 5.9. Directive Indicator
@@ -0,0 +1 @@
"text"
@@ -0,0 +1,2 @@
%YAML 1.2
--- text
@@ -0,0 +1 @@
--- text
@@ -0,0 +1,5 @@
+STR
+DOC ---
=VAL :text
-DOC
-STR
@@ -0,0 +1 @@
Tags in Block Sequence
@@ -0,0 +1,6 @@
[
"a",
"b",
42,
"d"
]
@@ -0,0 +1,4 @@
- !!str a
- b
- !!int 42
- d
@@ -0,0 +1,4 @@
- !!str a
- b
- !!int 42
- d
@@ -0,0 +1,10 @@
+STR
+DOC
+SEQ
=VAL <tag:yaml.org,2002:str> :a
=VAL :b
=VAL <tag:yaml.org,2002:int> :42
=VAL :d
-SEQ
-DOC
-STR
@@ -0,0 +1 @@
Invalid mapping in plain multiline
No changes.
@@ -0,0 +1,3 @@
this
is
invalid: x
@@ -0,0 +1,2 @@
+STR
+DOC
@@ -0,0 +1 @@
Allowed characters in keys
@@ -0,0 +1,7 @@
{
"a!\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~": "safe",
"?foo": "safe question mark",
":foo": "safe colon",
"-foo": "safe dash",
"this is#not": "a comment"
}
@@ -0,0 +1,5 @@
a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe
?foo: safe question mark
:foo: safe colon
-foo: safe dash
this is#not: a comment
@@ -0,0 +1,5 @@
a!"#$%&'()*+,-./09:;<=>?@AZ[\]^_`az{|}~: safe
?foo: safe question mark
:foo: safe colon
-foo: safe dash
this is#not: a comment
@@ -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
@@ -0,0 +1 @@
Block Mapping with Missing Keys
@@ -0,0 +1,2 @@
: a
: b
@@ -0,0 +1,10 @@
+STR
+DOC
+MAP
=VAL :
=VAL :a
=VAL :
=VAL :b
-MAP
-DOC
-STR
@@ -0,0 +1 @@
Spec Example 6.13. Reserved Directives [1.3]
@@ -0,0 +1 @@
--- "foo"
@@ -0,0 +1 @@
"foo"
@@ -0,0 +1,4 @@
%FOO bar baz # Should be ignored
# with a warning.
---
"foo"
@@ -0,0 +1,2 @@
---
"foo"
@@ -0,0 +1,5 @@
+STR
+DOC ---
=VAL "foo
-DOC
-STR
@@ -0,0 +1 @@
Anchors With Colon in Name
@@ -0,0 +1,4 @@
{
"key": "value",
"foo": "key"
}
@@ -0,0 +1,3 @@
&a: key: &a value
foo:
*a:
@@ -0,0 +1,2 @@
&a: key: &a value
foo: *a:
@@ -0,0 +1,10 @@
+STR
+DOC
+MAP
=VAL &a: :key
=VAL &a :value
=VAL :foo
=ALI *a:
-MAP
-DOC
-STR
@@ -0,0 +1 @@
Spec Example 2.25. Unordered Sets
@@ -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
@@ -0,0 +1,4 @@
--- !!set
Mark McGwire:
Sammy Sosa:
Ken Griff:
@@ -0,0 +1,12 @@
+STR
+DOC ---
+MAP <tag:yaml.org,2002:set>
=VAL :Mark McGwire
=VAL :
=VAL :Sammy Sosa
=VAL :
=VAL :Ken Griff
=VAL :
-MAP
-DOC
-STR
@@ -0,0 +1 @@
Three explicit integers in a block sequence
@@ -0,0 +1,5 @@
[
1,
-2,
33
]
@@ -0,0 +1,4 @@
---
- !!int 1
- !!int -2
- !!int 33
@@ -0,0 +1,4 @@
---
- !!int 1
- !!int -2
- !!int 33
@@ -0,0 +1,9 @@
+STR
+DOC ---
+SEQ
=VAL <tag:yaml.org,2002:int> :1
=VAL <tag:yaml.org,2002:int> :-2
=VAL <tag:yaml.org,2002:int> :33
-SEQ
-DOC
-STR
@@ -0,0 +1 @@
Tags for Root Objects
@@ -0,0 +1,7 @@
{
"a": "b"
}
[
"c"
]
"d e"
@@ -0,0 +1,8 @@
--- !!map
? a
: b
--- !!seq
- !!str c
--- !!str
d
e
@@ -0,0 +1,5 @@
--- !!map
a: b
--- !!seq
- !!str c
--- !!str d e
@@ -0,0 +1,16 @@
+STR
+DOC ---
+MAP <tag:yaml.org,2002:map>
=VAL :a
=VAL :b
-MAP
-DOC
+DOC ---
+SEQ <tag:yaml.org,2002:seq>
=VAL <tag:yaml.org,2002:str> :c
-SEQ
-DOC
+DOC ---
=VAL <tag:yaml.org,2002:str> :d e
-DOC
-STR
@@ -0,0 +1 @@
Multiline plain scalar with empty line

0 comments on commit a12ee72

Please sign in to comment.
You can’t perform that action at this time.