# YAML Test Matrix

--- &test-D83L
  Title: Block scalar indicator order
  Tags: [ literal ]

YAML

- |2-
  explicit indent and chomp
- |-2
  chomp and explicit indent

Expected Events

+STR
+DOC
+SEQ
=VAL |explicit indent and chomp
=VAL |chomp and explicit indent
-SEQ
-DOC
-STR

Expected JSON

[
"explicit indent and chomp",
"chomp and explicit indent"
]

cpp-event

 ok

hs-yaml-event

 ok

java-event

 ok

js-event

 ok

libyaml-event

 ok

nimyaml-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-xs-json

 json_ok

pyyaml-json

 json_ok

ruamel-json

 json_ok

ruby-json

 json_ok

perl5-pegex-event

 diff
Got Events:
+STR
+DOC
+SEQ
=VAL |explicit indent and chomp
=VAL :|-2
-SEQ
-DOC
+DOC
=VAL :  chomp and explicit indent
-DOC
-STR

perl5-tiny-json

 json_diff
[
  "explicit indent and chomp\n",
  "chomp and explicit indent"
]

perl5-pm-pl

 na
[
  'explicit indent and chomp',
  'chomp and explicit indent'
]

perl5-pp-pl

 na
[
  'explicit indent and chomp',
  'chomp and explicit indent'
]

perl5-syck-pl

 na
[
  'explicit indent and chomp',
  'chomp and explicit indent'
]

perl5-tiny-pl

 na
[
  'explicit indent and chomp
',
  'chomp and explicit indent'
]

perl5-xs-pl

 na
[
  'explicit indent and chomp',
  'chomp and explicit indent'
]

pyyaml-py

 na
['explicit indent and chomp', 'chomp and explicit indent']

ruamel-py

 na
['explicit indent and chomp', 'chomp and explicit indent']