# YAML Test Matrix

--- &test-D83L
  Title: Block scalar indicator order
  Tags: [ indent, 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"
]

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

perl-yaml-json

 json_ok

py-pyyaml-json

 json_ok

py-ruamel-json

 json_ok

ruby-psych-json

 json_ok

perl-tiny-json

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

perl-pp-perl

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

perl-pplibyaml-perl

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

perl-syck-perl

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

perl-tiny-perl

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

perl-xs-perl

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

perl-yaml-perl

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

py-pyyaml-py

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

py-ruamel-py

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