# YAML Test Matrix

--- &test-33X3
  Title: Three explicit integers in a block sequence
  Tags: [ sequence, tag ]

YAML

---
- !!int 1
- !!int -2
- !!int 33

Expected Events

+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

Expected JSON

[
1,
-2,
33
]

c-libfyaml-event

 ok

c-libyaml-event

 ok

cpp-rapidyaml-event

 ok

cpp-yamlcpp-event

 ok

dotnet-yamldotnet-event

 ok

hs-hsyaml-event

 ok

js-yaml-event

 ok

nim-nimyaml-event

 ok

perl-pp-event

 ok

perl-refparser-event

 ok

py-pyyaml-event

 ok

py-ruamel-event

 ok

rust-yamlrust-event

 ok

c-libfyaml-json

 json_ok

dotnet-yamldotnet-json

 json_ok

go-yaml-json

 json_ok

hs-hsyaml-json

 json_ok

js-jsyaml-json

 json_ok

js-yaml-json

 json_ok

lua-lyaml-json

 json_ok

perl-pp-json

 json_ok

perl-pplibyaml-json

 json_ok

perl-syck-json

 json_ok

perl-xs-json

 json_ok

perl-yaml-json

 json_ok

py-pyyaml-json

 json_ok

py-ruamel-json

 json_ok

ruby-psych-json

 json_ok

hs-reference-yeast

 na
Line  Col Char Byte Token|Content
   1    0    0    0 +DOC |
   1    0    0    0 =HEAD|---
   1    3    3    3 +NODE|
   1    3    3    3 =EOL |\x0a
   2    0    4    4 +SEQ |
   2    0    4    4 =SYNX|-
   2    1    5    5 =WSPC|.
   2    2    6    6 +NODE|
   2    2    6    6 +PROP|
   2    2    6    6 +TAG |
   2    2    6    6 +HAND|
   2    2    6    6 =SYNX|!
   2    3    7    7 =SYNX|!
   2    4    8    8 -HAND|
   2    4    8    8 =META|int
   2    7   11   11 -TAG |
   2    7   11   11 -PROP|
   2    7   11   11 =WSPC|.
   2    8   12   12 +VAL |
   2    8   12   12 =TEXT|1
   2    9   13   13 -VAL |
   2    9   13   13 -NODE|
   2    9   13   13 =EOL |\x0a
   3    0   14   14 =SYNX|-
   3    1   15   15 =WSPC|.
   3    2   16   16 +NODE|
   3    2   16   16 +PROP|
   3    2   16   16 +TAG |
   3    2   16   16 +HAND|
   3    2   16   16 =SYNX|!
   3    3   17   17 =SYNX|!
   3    4   18   18 -HAND|
   3    4   18   18 =META|int
   3    7   21   21 -TAG |
   3    7   21   21 -PROP|
   3    7   21   21 =WSPC|.
   3    8   22   22 +VAL |
   3    8   22   22 =TEXT|-2
   3   10   24   24 -VAL |
   3   10   24   24 -NODE|
   3   10   24   24 =EOL |\x0a
   4    0   25   25 =SYNX|-
   4    1   26   26 =WSPC|.
   4    2   27   27 +NODE|
   4    2   27   27 +PROP|
   4    2   27   27 +TAG |
   4    2   27   27 +HAND|
   4    2   27   27 =SYNX|!
   4    3   28   28 =SYNX|!
   4    4   29   29 -HAND|
   4    4   29   29 =META|int
   4    7   32   32 -TAG |
   4    7   32   32 -PROP|
   4    7   32   32 =WSPC|.
   4    8   33   33 +VAL |
   4    8   33   33 =TEXT|33
   4   10   35   35 -VAL |
   4   10   35   35 -NODE|
   4   10   35   35 =EOL |\x0a
   5    0   36   36 -SEQ |
   5    0   36   36 -NODE|
   5    0   36   36 -DOC |

perl-pp-perl

 na
[
  1,
  -2,
  33
]

perl-pplibyaml-perl

 na
[
  1,
  -2,
  33
]

perl-syck-perl

 na
[
  1,
  -2,
  33
]

perl-xs-perl

 na
[
  1,
  -2,
  33
]

perl-yaml-perl

 na
[
  1,
  -2,
  33
]

py-pyyaml-py

 na
[1, -2, 33]

py-ruamel-py

 na
[1, -2, 33]

perl-tiny-json

 ni
YAML::Tiny does not support a feature in line '!!int 1' at /yaml/bin/perl-tiny-json line 12.

perl-tiny-perl

 ni
YAML::Tiny does not support a feature in line '!!int 1' at /yaml/bin/perl-tiny-perl line 15.