# YAML Test Matrix

--- &test-96L6
  Title: Spec Example 2.14. In the folded scalars, newlines become spaces
  Tags: [ folded, scalar, spec ]

YAML

--- >
  Mark McGwire's
  year was crippled
  by a knee injury.

Expected Events

+STR
+DOC ---
=VAL >Mark McGwire's year was crippled by a knee injury.\n
-DOC
-STR

Expected JSON

"Mark McGwire's year was crippled by a knee injury.\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-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

perl-pp-perl

 na
'Mark McGwire\'s year was crippled by a knee injury.
'

perl-pplibyaml-perl

 na
'Mark McGwire\'s year was crippled by a knee injury.
'

perl-syck-perl

 na
'Mark McGwire\'s year was crippled by a knee injury.
'

perl-tiny-perl

 na
'Mark McGwire\'s year was crippled by a knee injury.
'

perl-xs-perl

 na
'Mark McGwire\'s year was crippled by a knee injury.
'

perl-yaml-perl

 na
'Mark McGwire\'s year was crippled by a knee injury.
'

py-pyyaml-py

 na
"Mark McGwire's year was crippled by a knee injury.\n"

py-ruamel-py

 na
"Mark McGwire's year was crippled by a knee injury.\n"