# YAML Test Matrix

--- &test-MZX3
  Title: Non-Specific Tags on Scalars
  Tags: [ folded, scalar ]

YAML

- plain
- "double quoted"
- 'single quoted'
- >
  block
- plain again

Expected Events

+STR
+DOC
+SEQ
=VAL :plain
=VAL "double quoted
=VAL 'single quoted
=VAL >block\n
=VAL :plain again
-SEQ
-DOC
-STR

Expected JSON

[
"plain",
"double quoted",
"single quoted",
"block\n",
"plain again"
]

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-tiny-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 +NODE|
   1    0    0    0 +SEQ |
   1    0    0    0 =SYNX|-
   1    1    1    1 =WSPC|.
   1    2    2    2 +NODE|
   1    2    2    2 +VAL |
   1    2    2    2 =TEXT|plain
   1    7    7    7 -VAL |
   1    7    7    7 -NODE|
   1    7    7    7 =EOL |\x0a
   2    0    8    8 =SYNX|-
   2    1    9    9 =WSPC|.
   2    2   10   10 +NODE|
   2    2   10   10 +VAL |
   2    2   10   10 =SYNX|"
   2    3   11   11 =TEXT|double.quoted
   2   16   24   24 =SYNX|"
   2   17   25   25 -VAL |
   2   17   25   25 -NODE|
   2   17   25   25 =EOL |\x0a
   3    0   26   26 =SYNX|-
   3    1   27   27 =WSPC|.
   3    2   28   28 +NODE|
   3    2   28   28 +VAL |
   3    2   28   28 =SYNX|'
   3    3   29   29 =TEXT|single.quoted
   3   16   42   42 =SYNX|'
   3   17   43   43 -VAL |
   3   17   43   43 -NODE|
   3   17   43   43 =EOL |\x0a
   4    0   44   44 =SYNX|-
   4    1   45   45 +NODE|
   4    1   45   45 =WSPC|.
   4    2   46   46 +VAL |
   4    2   46   46 =SYNX|>
   4    3   47   47 =EOL |\x0a
   5    0   48   48 =DENT|..
   5    2   50   50 =TEXT|block
   5    7   55   55 =NEWL|\x0a
   6    0   56   56 -VAL |
   6    0   56   56 -NODE|
   6    0   56   56 =SYNX|-
   6    1   57   57 =WSPC|.
   6    2   58   58 +NODE|
   6    2   58   58 +VAL |
   6    2   58   58 =TEXT|plain.again
   6   13   69   69 -VAL |
   6   13   69   69 -NODE|
   6   13   69   69 =EOL |\x0a
   7    0   70   70 -SEQ |
   7    0   70   70 -NODE|
   7    0   70   70 -DOC |

perl-pp-perl

 na
[
  'plain',
  'double quoted',
  'single quoted',
  'block
',
  'plain again'
]

perl-pplibyaml-perl

 na
[
  'plain',
  'double quoted',
  'single quoted',
  'block
',
  'plain again'
]

perl-syck-perl

 na
[
  'plain',
  'double quoted',
  'single quoted',
  'block
',
  'plain again'
]

perl-tiny-perl

 na
[
  'plain',
  'double quoted',
  'single quoted',
  'block
',
  'plain again'
]

perl-xs-perl

 na
[
  'plain',
  'double quoted',
  'single quoted',
  'block
',
  'plain again'
]

perl-yaml-perl

 na
[
  'plain',
  'double quoted',
  'single quoted',
  'block
',
  'plain again'
]

py-pyyaml-py

 na
['plain', 'double quoted', 'single quoted', 'block\n', 'plain again']

py-ruamel-py

 na
['plain', 'double quoted', 'single quoted', 'block\n', 'plain again']