# YAML Test Matrix

--- &test-S7BG
  Title: Colon followed by comma
  Tags: [ scalar ]

YAML

---
- :,

Expected Events

+STR
+DOC ---
+SEQ
=VAL ::,
-SEQ
-DOC
-STR

Expected JSON

[
":,"
]

c-libfyaml-event

 ok

c-libyaml-event

 ok

cpp-rapidyaml-event

 ok

cpp-yamlcpp-event

 ok

dotnet-yamldotnet-event

 ok

hs-hsyaml-event

 ok

js-yaml-event

 ok

nim-nimyaml-event

 ok

perl-pp-event

 ok

perl-refparser-event

 ok

py-pyyaml-event

 ok

py-ruamel-event

 ok

rust-yamlrust-event

 ok

c-libfyaml-json

 json_ok

dotnet-yamldotnet-json

 json_ok

go-yaml-json

 json_ok

hs-hsyaml-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_diff
[
  ","
]

hs-reference-yeast

 na
Line  Col Char Byte Token|Content
   1    0    0    0 +DOC |
   1    0    0    0 =HEAD|---
   1    3    3    3 +NODE|
   1    3    3    3 =EOL |\x0a
   2    0    4    4 +SEQ |
   2    0    4    4 =SYNX|-
   2    1    5    5 =WSPC|.
   2    2    6    6 +NODE|
   2    2    6    6 +VAL |
   2    2    6    6 =TEXT|:,
   2    4    8    8 -VAL |
   2    4    8    8 -NODE|
   2    4    8    8 =EOL |\x0a
   3    0    9    9 -SEQ |
   3    0    9    9 -NODE|
   3    0    9    9 -DOC |

perl-pp-perl

 na
[
  ':,'
]

perl-pplibyaml-perl

 na
[
  ':,'
]

perl-syck-perl

 na
[
  ':,'
]

perl-tiny-perl

 na
[
  ':,'
]

perl-xs-perl

 na
[
  ':,'
]

perl-yaml-perl

 na
[
  ':,'
]

py-pyyaml-py

 na
[':,']

py-ruamel-py

 na
[':,']