Subject: | Tests fail when YAML::XS is installed |
Config::Any nowadays warns:
Use of YAML::Syck or YAML to parse config files is DEPRECATED. Please
install YAML::XS for proper YAML support at
/usr/local/perl-5.8.9/lib/site_perl/5.8.9/Config/Any.pm line 198
When a user follows this suggestion, then your tests yield:
Error parsing ./t/04basic.yml: YAML::XS::Load Error: The problem:
found character that cannot start any token
was found at document: 1, line: 4, column: 10
while scanning for the next token at line: 4, column: 10
at
/home/sand/.cpan/build/HTML-FormFu-0.05002-sJ9c29/blib/lib/HTML/FormFu/ObjectUtil.pm
line 502
# Looks like you planned 7 tests but ran 1.
# Looks like your test exited with 9 just after 1.
t/04basic.t ..............................................
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 6/7 subtests
Error parsing ./t/04basic.yml: YAML::XS::Load Error: The problem:
found character that cannot start any token
was found at document: 1, line: 4, column: 10
while scanning for the next token at line: 4, column: 10
at
/home/sand/.cpan/build/HTML-FormFu-0.05002-sJ9c29/blib/lib/HTML/FormFu/ObjectUtil.pm
line 502
# Looks like your test exited with 9 before it could output anything.
t/05_repeated_render.t ...................................
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 2/2 subtests
HTH && Regards,