# YAML Test Matrix

--- &test-98YD
  Title: Spec Example 5.5. Comment Indicator
  Tags: [ comment, empty, spec ]

YAML

# Comment only.

Expected Events

+STR
-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

go-yaml-json

 json_ok

hs-hsyaml-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

dotnet-yamldotnet-json

 json_diff
null

js-jsyaml-json

 json_diff
null

hs-reference-yeast

 na
Line  Col Char Byte Token|Content
   1    0    0    0 +COMM|
   1    0    0    0 =SYNX|#
   1    1    1    1 =META|.Comment.only.
   1   15   15   15 -COMM|
   1   15   15   15 =EOL |\x0a

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