# YAML Test Matrix

--- &test-MYW6
  Title: Block Scalar Strip
  Tags: [ 1.3-err, literal, scalar, whitespace ]

YAML

|-
 ab
 
 
...

Expected Events

+STR
+DOC
=VAL |ab
-DOC ...
-STR

Expected JSON

"ab"

c-libfyaml-event

 ok

c-libyaml-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-xs-json

 json_ok

py-pyyaml-json

 json_ok

py-ruamel-json

 json_ok

ruby-psych-json

 json_ok

cpp-rapidyaml-event

 diff
Minimal Events:
+STR
+DOC
=VAL :ab
-DOC ...
-STR
Transformed Events:
+STR
+DOC
=VAL :ab
-DOC
-STR
Got Events:
+STR
+DOC
=VAL 'ab
-DOC
-STR

perl-syck-json

 error
Syck parser (line 5, column 0): syntax error at /perl5/lib/perl5/x86_64-linux-thread-multi/YAML/Syck.pm line 60, <> line 1.

perl-syck-perl

 error
Syck parser (line 5, column 0): syntax error at /perl5/lib/perl5/x86_64-linux-thread-multi/YAML/Syck.pm line 60, <> line 1.

perl-tiny-json

 error
YAML::Tiny failed to classify line '|-' at /yaml/bin/perl-tiny-json line 12.

perl-tiny-perl

 error
YAML::Tiny failed to classify line '|-' at /yaml/bin/perl-tiny-perl line 15.

perl-yaml-json

 error
YAML Error: Expected separator '---'
   Code: YAML_PARSE_ERR_NO_SEPARATOR
   Line: 1
   Document: 2
 at /perl5/lib/perl5/YAML/Loader.pm line 88.

perl-yaml-perl

 error
YAML Error: Expected separator '---'
   Code: YAML_PARSE_ERR_NO_SEPARATOR
   Line: 1
   Document: 2
 at /perl5/lib/perl5/YAML/Loader.pm line 88.

hs-reference-yeast

 na
Line  Col Char Byte Token|Content
   1    0    0    0 +DOC |
   1    0    0    0 +NODE|
   1    0    0    0 +VAL |
   1    0    0    0 =SYNX||
   1    1    1    1 =SYNX|-
   1    2    2    2 =EOL |\x0a
   2    0    3    3 =DENT|.
   2    1    4    4 =TEXT|ab
   2    3    6    6 -VAL |
   2    3    6    6 =EOL |\x0a
   3    0    7    7 =DENT|.
   3    1    8    8 =EOL |\x0a
   4    0    9    9 =DENT|.
   4    1   10   10 =EOL |\x0a
   5    0   11   11 -NODE|
   5    0   11   11 -DOC |
   5    0   11   11 =FOOT|...
   5    3   14   14 =EOL |\x0a

perl-pp-perl

 na
'ab'

perl-pplibyaml-perl

 na
'ab'

perl-xs-perl

 na
'ab'

py-pyyaml-py

 na
'ab'

py-ruamel-py

 na
'ab'