# YAML Test Matrix

--- &test-4Q9F
  Title: Folded Block Scalar [1.3]
  Tags: [ 1.3-mod, folded, scalar, whitespace ]

YAML

--- >
 ab
 cd
 
 ef


 gh

Expected Events

+STR
+DOC ---
=VAL >ab cd\nef\n\ngh\n
-DOC
-STR

Expected JSON

"ab cd\nef\n\ngh\n"

c-libfyaml-event

 ok

c-libyaml-event

 ok

cpp-yamlcpp-event

 ok

dotnet-yamldotnet-event

 ok

hs-hsyaml-event

 ok

java-snakeyaml-event

 ok

js-yaml-event

 ok

nim-nimyaml-event

 ok

perl-pp-event

 ok

perl-pplibyaml-event

 ok

py-pyyaml-event

 ok

py-ruamel-event

 ok

c-libfyaml-json

 json_ok

dotnet-yamldotnet-json

 json_ok

hs-hsyaml-json

 json_ok

java-snakeyaml-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

py-pyyaml-json

 json_ok

py-ruamel-json

 json_ok

ruby-psych-json

 json_ok

perl-tiny-json

 json_diff
"ab cd ef gh\n"

perl-yaml-json

 json_diff
"ab cd\nef\n\n\ngh\n"

perl-pp-perl

 na
'ab cd
ef

gh
'

perl-pplibyaml-perl

 na
'ab cd
ef

gh
'

perl-syck-perl

 na
'ab cd
ef

gh
'

perl-tiny-perl

 na
'ab cd ef gh
'

perl-xs-perl

 na
'ab cd
ef

gh
'

perl-yaml-perl

 na
'ab cd
ef


gh
'

py-pyyaml-py

 na
'ab cd\nef\n\ngh\n'

py-ruamel-py

 na
'ab cd\nef\n\ngh\n'