# 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"

cpp-event

 ok

hs-yaml-event

 ok

java-event

 ok

js-event

 ok

libyaml-event

 ok

nimyaml-event

 ok

perl5-pegex-event

 ok

perl5-pp-event

 ok

pyyaml-event

 ok

ruamel-event

 ok

hs-yaml-json

 json_ok

java-json

 json_ok

js-json

 json_ok

js-yaml-json

 json_ok

luajit-json

 json_ok

perl5-pm-json

 json_ok

perl5-pp-json

 json_ok

perl5-syck-json

 json_ok

perl5-tiny-json

 json_ok

perl5-xs-json

 json_ok

pyyaml-json

 json_ok

ruamel-json

 json_ok

ruby-json

 json_ok

perl5-pm-pl

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

perl5-pp-pl

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

perl5-syck-pl

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

perl5-tiny-pl

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

perl5-xs-pl

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

pyyaml-py

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

ruamel-py

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