Initial commit.
This commit is contained in:
commit
283c42bf8f
592 changed files with 26392 additions and 0 deletions
1
test/data/a-nasty-libyaml-bug.loader-error
Normal file
1
test/data/a-nasty-libyaml-bug.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
[ [
|
1
test/data/aliases-cdumper-bug.code
Normal file
1
test/data/aliases-cdumper-bug.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
8
test/data/aliases.events
Normal file
8
test/data/aliases.events
Normal file
|
@ -0,0 +1,8 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart
|
||||
- !SequenceStart
|
||||
- !Scalar { anchor: 'myanchor', tag: '!mytag', value: 'data' }
|
||||
- !Alias { anchor: 'myanchor' }
|
||||
- !SequenceEnd
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
4
test/data/bool.data
Normal file
4
test/data/bool.data
Normal file
|
@ -0,0 +1,4 @@
|
|||
- yes
|
||||
- NO
|
||||
- True
|
||||
- on
|
1
test/data/bool.detect
Normal file
1
test/data/bool.detect
Normal file
|
@ -0,0 +1 @@
|
|||
tag:yaml.org,2002:bool
|
1
test/data/colon-in-flow-context.loader-error
Normal file
1
test/data/colon-in-flow-context.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
{ foo:bar }
|
1
test/data/construct-binary.code
Normal file
1
test/data/construct-binary.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
12
test/data/construct-binary.data
Normal file
12
test/data/construct-binary.data
Normal file
|
@ -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.
|
1
test/data/construct-bool.code
Normal file
1
test/data/construct-bool.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
9
test/data/construct-bool.data
Normal file
9
test/data/construct-bool.data
Normal file
|
@ -0,0 +1,9 @@
|
|||
canonical: yes
|
||||
answer: NO
|
||||
logical: True
|
||||
option: on
|
||||
|
||||
|
||||
but:
|
||||
y: is a string
|
||||
n: is a string
|
1
test/data/construct-custom.code
Normal file
1
test/data/construct-custom.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
9
test/data/construct-custom.data
Normal file
9
test/data/construct-custom.data
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- !tag1
|
||||
x: 1
|
||||
- !tag1
|
||||
x: 1
|
||||
'y': 2
|
||||
z: 3
|
||||
- !tag2
|
||||
10
|
1
test/data/construct-float.code
Normal file
1
test/data/construct-float.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
6
test/data/construct-float.data
Normal file
6
test/data/construct-float.data
Normal file
|
@ -0,0 +1,6 @@
|
|||
canonical: 6.8523015e+5
|
||||
exponential: 685.230_15e+03
|
||||
fixed: 685_230.15
|
||||
sexagesimal: 190:20:30.15
|
||||
negative infinity: -.inf
|
||||
not a number: .NaN
|
1
test/data/construct-int.code
Normal file
1
test/data/construct-int.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
6
test/data/construct-int.data
Normal file
6
test/data/construct-int.data
Normal file
|
@ -0,0 +1,6 @@
|
|||
canonical: 685230
|
||||
decimal: +685_230
|
||||
octal: 02472256
|
||||
hexadecimal: 0x_0A_74_AE
|
||||
binary: 0b1010_0111_0100_1010_1110
|
||||
sexagesimal: 190:20:30
|
1
test/data/construct-map.code
Normal file
1
test/data/construct-map.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
6
test/data/construct-map.data
Normal file
6
test/data/construct-map.data
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Unordered set of key: value pairs.
|
||||
Block style: !!map
|
||||
Clark : Evans
|
||||
Brian : Ingerson
|
||||
Oren : Ben-Kiki
|
||||
Flow style: !!map { Clark: Evans, Brian: Ingerson, Oren: Ben-Kiki }
|
1
test/data/construct-merge.code
Normal file
1
test/data/construct-merge.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
27
test/data/construct-merge.data
Normal file
27
test/data/construct-merge.data
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
- &CENTER { x: 1, 'y': 2 }
|
||||
- &LEFT { x: 0, 'y': 2 }
|
||||
- &BIG { r: 10 }
|
||||
- &SMALL { r: 1 }
|
||||
|
||||
# All the following maps are equal:
|
||||
|
||||
- # Explicit keys
|
||||
x: 1
|
||||
'y': 2
|
||||
r: 10
|
||||
label: center/big
|
||||
|
||||
- # Merge one map
|
||||
<< : *CENTER
|
||||
r: 10
|
||||
label: center/big
|
||||
|
||||
- # Merge multiple maps
|
||||
<< : [ *CENTER, *BIG ]
|
||||
label: center/big
|
||||
|
||||
- # Override
|
||||
<< : [ *BIG, *LEFT, *SMALL ]
|
||||
x: 1
|
||||
label: center/big
|
1
test/data/construct-null.code
Normal file
1
test/data/construct-null.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
18
test/data/construct-null.data
Normal file
18
test/data/construct-null.data
Normal file
|
@ -0,0 +1,18 @@
|
|||
# A document may be null.
|
||||
---
|
||||
---
|
||||
# This mapping has four keys,
|
||||
# one has a value.
|
||||
empty:
|
||||
canonical: ~
|
||||
english: null
|
||||
~: null key
|
||||
---
|
||||
# This sequence has five
|
||||
# entries, two have values.
|
||||
sparse:
|
||||
- ~
|
||||
- 2nd entry
|
||||
-
|
||||
- 4th entry
|
||||
- Null
|
1
test/data/construct-omap.code
Normal file
1
test/data/construct-omap.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
8
test/data/construct-omap.data
Normal file
8
test/data/construct-omap.data
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Explicitly typed ordered map (dictionary).
|
||||
Bestiary: !!omap
|
||||
- aardvark: African pig-like ant eater. Ugly.
|
||||
- anteater: South-American ant eater. Two species.
|
||||
- anaconda: South-American constrictor snake. Scaly.
|
||||
# Etc.
|
||||
# Flow style
|
||||
Numbers: !!omap [ one: 1, two: 2, three : 3 ]
|
1
test/data/construct-pairs.code
Normal file
1
test/data/construct-pairs.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
7
test/data/construct-pairs.data
Normal file
7
test/data/construct-pairs.data
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Explicitly typed pairs.
|
||||
Block tasks: !!pairs
|
||||
- meeting: with team.
|
||||
- meeting: with boss.
|
||||
- break: lunch.
|
||||
- meeting: with client.
|
||||
Flow tasks: !!pairs [ meeting: with team, meeting: with boss ]
|
1
test/data/construct-seq.code
Normal file
1
test/data/construct-seq.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
15
test/data/construct-seq.data
Normal file
15
test/data/construct-seq.data
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Ordered sequence of nodes
|
||||
Block style: !!seq
|
||||
- Mercury # Rotates - no light/dark sides.
|
||||
- Venus # Deadliest. Aptly named.
|
||||
- Earth # Mostly dirt.
|
||||
- Mars # Seems empty.
|
||||
- Jupiter # The king.
|
||||
- Saturn # Pretty.
|
||||
- Uranus # Where the sun hardly shines.
|
||||
- Neptune # Boring. No rings.
|
||||
- Pluto # You call this a planet?
|
||||
Flow style: !!seq [ Mercury, Venus, Earth, Mars, # Rocks
|
||||
Jupiter, Saturn, Uranus, Neptune, # Gas
|
||||
Pluto ] # Overrated
|
||||
|
1
test/data/construct-set.code
Normal file
1
test/data/construct-set.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
7
test/data/construct-set.data
Normal file
7
test/data/construct-set.data
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Explicitly typed set.
|
||||
baseball players: !!set
|
||||
? Mark McGwire
|
||||
? Sammy Sosa
|
||||
? Ken Griffey
|
||||
# Flow style
|
||||
baseball teams: !!set { Boston Red Sox, Detroit Tigers, New York Yankees }
|
1
test/data/construct-str-ascii.code
Normal file
1
test/data/construct-str-ascii.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
1
test/data/construct-str-ascii.data
Normal file
1
test/data/construct-str-ascii.data
Normal file
|
@ -0,0 +1 @@
|
|||
--- !!str "ascii string"
|
1
test/data/construct-str-utf8.code
Normal file
1
test/data/construct-str-utf8.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
1
test/data/construct-str-utf8.data
Normal file
1
test/data/construct-str-utf8.data
Normal file
|
@ -0,0 +1 @@
|
|||
--- !!str "Это уникодная строка"
|
1
test/data/construct-str.code
Normal file
1
test/data/construct-str.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
1
test/data/construct-str.data
Normal file
1
test/data/construct-str.data
Normal file
|
@ -0,0 +1 @@
|
|||
string: abcd
|
1
test/data/construct-timestamp.code
Normal file
1
test/data/construct-timestamp.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
5
test/data/construct-timestamp.data
Normal file
5
test/data/construct-timestamp.data
Normal file
|
@ -0,0 +1,5 @@
|
|||
canonical: 2001-12-15T02:59:43.1Z
|
||||
valid iso8601: 2001-12-14t21:59:43.1-05:00
|
||||
space separated: 2001-12-14 21:59:43.1 -5
|
||||
no time zone (Z): 2001-12-15 2:59:43.1
|
||||
date (00:00:00Z): 2002-12-14
|
1
test/data/construct-value.code
Normal file
1
test/data/construct-value.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
10
test/data/construct-value.data
Normal file
10
test/data/construct-value.data
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- # Old schema
|
||||
link with:
|
||||
- library1.dll
|
||||
- library2.dll
|
||||
--- # New schema
|
||||
link with:
|
||||
- = : library1.dll
|
||||
version: 1.2
|
||||
- = : library2.dll
|
||||
version: 2.3
|
11
test/data/document-separator-in-quoted-scalar.loader-error
Normal file
11
test/data/document-separator-in-quoted-scalar.loader-error
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
"this --- is correct"
|
||||
---
|
||||
"this
|
||||
...is also
|
||||
correct"
|
||||
---
|
||||
"a quoted scalar
|
||||
cannot contain
|
||||
---
|
||||
document separators"
|
11
test/data/documents.events
Normal file
11
test/data/documents.events
Normal file
|
@ -0,0 +1,11 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart { explicit: false }
|
||||
- !Scalar { implicit: [true,false], value: 'data' }
|
||||
- !DocumentEnd
|
||||
- !DocumentStart
|
||||
- !Scalar { implicit: [true,false] }
|
||||
- !DocumentEnd
|
||||
- !DocumentStart { version: [1,1], tags: { '!': '!foo', '!yaml!': 'tag:yaml.org,2002:', '!ugly!': '!!!!!!!' } }
|
||||
- !Scalar { implicit: [true,false] }
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
3
test/data/duplicate-anchor-1.loader-error
Normal file
3
test/data/duplicate-anchor-1.loader-error
Normal file
|
@ -0,0 +1,3 @@
|
|||
- &foo bar
|
||||
- &bar bar
|
||||
- &foo bar
|
1
test/data/duplicate-anchor-2.loader-error
Normal file
1
test/data/duplicate-anchor-2.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
&foo [1, 2, 3, &foo 4]
|
1
test/data/duplicate-merge-key.code
Normal file
1
test/data/duplicate-merge-key.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
4
test/data/duplicate-merge-key.data
Normal file
4
test/data/duplicate-merge-key.data
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
<<: {x: 1, y: 2}
|
||||
foo: bar
|
||||
<<: {z: 3, t: 4}
|
3
test/data/duplicate-tag-directive.loader-error
Normal file
3
test/data/duplicate-tag-directive.loader-error
Normal file
|
@ -0,0 +1,3 @@
|
|||
%TAG !foo! bar
|
||||
%TAG !foo! baz
|
||||
--- foo
|
3
test/data/duplicate-yaml-directive.loader-error
Normal file
3
test/data/duplicate-yaml-directive.loader-error
Normal file
|
@ -0,0 +1,3 @@
|
|||
%YAML 1.1
|
||||
%YAML 1.1
|
||||
--- foo
|
|
@ -0,0 +1,6 @@
|
|||
%YAML 1.1
|
||||
--- !!map
|
||||
{
|
||||
? !!str "foo"
|
||||
: !!str "bar"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
? |-
|
||||
foo
|
||||
: |-
|
||||
bar
|
5
test/data/empty-anchor.emitter-error
Normal file
5
test/data/empty-anchor.emitter-error
Normal file
|
@ -0,0 +1,5 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart
|
||||
- !Scalar { anchor: '', value: 'foo' }
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
1
test/data/empty-document-bug.canonical
Normal file
1
test/data/empty-document-bug.canonical
Normal file
|
@ -0,0 +1 @@
|
|||
# This YAML stream contains no YAML documents.
|
0
test/data/empty-document-bug.data
Normal file
0
test/data/empty-document-bug.data
Normal file
0
test/data/empty-document-bug.empty
Normal file
0
test/data/empty-document-bug.empty
Normal file
2
test/data/empty-documents.single-loader-error
Normal file
2
test/data/empty-documents.single-loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
--- # first document
|
||||
--- # second document
|
1
test/data/empty-python-module.loader-error
Normal file
1
test/data/empty-python-module.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
--- !!python:module:
|
1
test/data/empty-python-name.loader-error
Normal file
1
test/data/empty-python-name.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
--- !!python/name: empty
|
5
test/data/empty-tag-handle.emitter-error
Normal file
5
test/data/empty-tag-handle.emitter-error
Normal file
|
@ -0,0 +1,5 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart { tags: { '': 'bar' } }
|
||||
- !Scalar { value: 'foo' }
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
5
test/data/empty-tag-prefix.emitter-error
Normal file
5
test/data/empty-tag-prefix.emitter-error
Normal file
|
@ -0,0 +1,5 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart { tags: { '!': '' } }
|
||||
- !Scalar { value: 'foo' }
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
5
test/data/empty-tag.emitter-error
Normal file
5
test/data/empty-tag.emitter-error
Normal file
|
@ -0,0 +1,5 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart
|
||||
- !Scalar { tag: '', value: 'key', implicit: [false,false] }
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
6
test/data/expected-document-end.emitter-error
Normal file
6
test/data/expected-document-end.emitter-error
Normal file
|
@ -0,0 +1,6 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart
|
||||
- !Scalar { value: 'data 1' }
|
||||
- !Scalar { value: 'data 2' }
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
4
test/data/expected-document-start.emitter-error
Normal file
4
test/data/expected-document-start.emitter-error
Normal file
|
@ -0,0 +1,4 @@
|
|||
- !StreamStart
|
||||
- !MappingStart
|
||||
- !MappingEnd
|
||||
- !StreamEnd
|
1
test/data/expected-mapping.loader-error
Normal file
1
test/data/expected-mapping.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
--- !!map [not, a, map]
|
4
test/data/expected-node-1.emitter-error
Normal file
4
test/data/expected-node-1.emitter-error
Normal file
|
@ -0,0 +1,4 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
7
test/data/expected-node-2.emitter-error
Normal file
7
test/data/expected-node-2.emitter-error
Normal file
|
@ -0,0 +1,7 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart
|
||||
- !MappingStart
|
||||
- !Scalar { value: 'key' }
|
||||
- !MappingEnd
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
4
test/data/expected-nothing.emitter-error
Normal file
4
test/data/expected-nothing.emitter-error
Normal file
|
@ -0,0 +1,4 @@
|
|||
- !StreamStart
|
||||
- !StreamEnd
|
||||
- !StreamStart
|
||||
- !StreamEnd
|
1
test/data/expected-scalar.loader-error
Normal file
1
test/data/expected-scalar.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
--- !!str [not a scalar]
|
1
test/data/expected-sequence.loader-error
Normal file
1
test/data/expected-sequence.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
--- !!seq {foo, bar, baz}
|
2
test/data/expected-stream-start.emitter-error
Normal file
2
test/data/expected-stream-start.emitter-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
- !DocumentStart
|
||||
- !DocumentEnd
|
4
test/data/explicit-document.single-loader-error
Normal file
4
test/data/explicit-document.single-loader-error
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
foo: bar
|
||||
---
|
||||
foo: bar
|
2
test/data/fetch-complex-value-bug.loader-error
Normal file
2
test/data/fetch-complex-value-bug.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
? "foo"
|
||||
: "bar"
|
1
test/data/float-representer-2.3-bug.code
Normal file
1
test/data/float-representer-2.3-bug.code
Normal file
|
@ -0,0 +1 @@
|
|||
#dummy used in constructor test
|
5
test/data/float-representer-2.3-bug.data
Normal file
5
test/data/float-representer-2.3-bug.data
Normal file
|
@ -0,0 +1,5 @@
|
|||
#0.0: # hash(0) == hash(nan) and 0 == nan in Python 2.3
|
||||
1.0: 1
|
||||
+.inf: 10
|
||||
-.inf: -10
|
||||
.nan: 100
|
6
test/data/float.data
Normal file
6
test/data/float.data
Normal file
|
@ -0,0 +1,6 @@
|
|||
- 6.8523015e+5
|
||||
- 685.230_15e+03
|
||||
- 685_230.15
|
||||
- 190:20:30.15
|
||||
- -.inf
|
||||
- .NaN
|
1
test/data/float.detect
Normal file
1
test/data/float.detect
Normal file
|
@ -0,0 +1 @@
|
|||
tag:yaml.org,2002:float
|
2
test/data/forbidden-entry.loader-error
Normal file
2
test/data/forbidden-entry.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
test: - foo
|
||||
- bar
|
2
test/data/forbidden-key.loader-error
Normal file
2
test/data/forbidden-key.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
test: ? foo
|
||||
: bar
|
1
test/data/forbidden-value.loader-error
Normal file
1
test/data/forbidden-value.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
test: key: value
|
3
test/data/implicit-document.single-loader-error
Normal file
3
test/data/implicit-document.single-loader-error
Normal file
|
@ -0,0 +1,3 @@
|
|||
foo: bar
|
||||
---
|
||||
foo: bar
|
6
test/data/int.data
Normal file
6
test/data/int.data
Normal file
|
@ -0,0 +1,6 @@
|
|||
- 685230
|
||||
- +685_230
|
||||
- 02472256
|
||||
- 0x_0A_74_AE
|
||||
- 0b1010_0111_0100_1010_1110
|
||||
- 190:20:30
|
1
test/data/int.detect
Normal file
1
test/data/int.detect
Normal file
|
@ -0,0 +1 @@
|
|||
tag:yaml.org,2002:int
|
1
test/data/invalid-anchor-1.loader-error
Normal file
1
test/data/invalid-anchor-1.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
--- &? foo # we allow only ascii and numeric characters in anchor names.
|
8
test/data/invalid-anchor-2.loader-error
Normal file
8
test/data/invalid-anchor-2.loader-error
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- [
|
||||
&correct foo,
|
||||
*correct,
|
||||
*correct] # still correct
|
||||
- *correct: still correct
|
||||
- &correct-or-not[foo, bar]
|
||||
|
5
test/data/invalid-anchor.emitter-error
Normal file
5
test/data/invalid-anchor.emitter-error
Normal file
|
@ -0,0 +1,5 @@
|
|||
- !StreamStart
|
||||
- !DocumentStart
|
||||
- !Scalar { anchor: '5*5=25', value: 'foo' }
|
||||
- !DocumentEnd
|
||||
- !StreamEnd
|
2
test/data/invalid-base64-data-2.loader-error
Normal file
2
test/data/invalid-base64-data-2.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
--- !!binary
|
||||
двоичные данные в base64
|
2
test/data/invalid-base64-data.loader-error
Normal file
2
test/data/invalid-base64-data.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
--- !!binary
|
||||
binary data encoded in base64 should be here.
|
2
test/data/invalid-block-scalar-indicator.loader-error
Normal file
2
test/data/invalid-block-scalar-indicator.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
--- > what is this? # a comment
|
||||
data
|
BIN
test/data/invalid-character.loader-error
Normal file
BIN
test/data/invalid-character.loader-error
Normal file
Binary file not shown.
BIN
test/data/invalid-character.stream-error
Normal file
BIN
test/data/invalid-character.stream-error
Normal file
Binary file not shown.
2
test/data/invalid-directive-line.loader-error
Normal file
2
test/data/invalid-directive-line.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
%YAML 1.1 ? # extra symbol
|
||||
---
|
2
test/data/invalid-directive-name-1.loader-error
Normal file
2
test/data/invalid-directive-name-1.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
% # no name at all
|
||||
---
|
2
test/data/invalid-directive-name-2.loader-error
Normal file
2
test/data/invalid-directive-name-2.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
%invalid-characters:in-directive name
|
||||
---
|
1
test/data/invalid-escape-character.loader-error
Normal file
1
test/data/invalid-escape-character.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
"some escape characters are \ncorrect, but this one \?\nis not\n"
|
1
test/data/invalid-escape-numbers.loader-error
Normal file
1
test/data/invalid-escape-numbers.loader-error
Normal file
|
@ -0,0 +1 @@
|
|||
"hm.... \u123?"
|
2
test/data/invalid-indentation-indicator-1.loader-error
Normal file
2
test/data/invalid-indentation-indicator-1.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
--- >0 # not valid
|
||||
data
|
2
test/data/invalid-indentation-indicator-2.loader-error
Normal file
2
test/data/invalid-indentation-indicator-2.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
--- >-0
|
||||
data
|
|
@ -0,0 +1,2 @@
|
|||
-
|
||||
-0
|
2
test/data/invalid-merge-1.loader-error
Normal file
2
test/data/invalid-merge-1.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
foo: bar
|
||||
<<: baz
|
2
test/data/invalid-merge-2.loader-error
Normal file
2
test/data/invalid-merge-2.loader-error
Normal file
|
@ -0,0 +1,2 @@
|
|||
foo: bar
|
||||
<<: [x: 1, y: 2, z, t: 4]
|
3
test/data/invalid-omap-1.loader-error
Normal file
3
test/data/invalid-omap-1.loader-error
Normal file
|
@ -0,0 +1,3 @@
|
|||
--- !!omap
|
||||
foo: bar
|
||||
baz: bat
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue