Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the YAML CPAN distribution.

Report information
The Basics
Id: 81120
Status: open
Priority: 0/
Queue: YAML

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Code de-serialization tests fail on perl <= 5.8.7
t/dump-code.t ............ 1/7 # Failed test 'a code ref (n->y)' # at /home/rabbit/.cpanm/work/1352733203.28591/YAML-0.84/blib/lib/Test/YAML.pm line 65. # got: '--- !!perl/code | # { # use warnings; # use strict 'refs'; # 'Something at least 30 chars'; # } # ' # expected: '--- !!perl/code | # { # BEGIN {${^WARNING_BITS} = "UUUUUUUUUUUU\001"} # use strict 'refs'; # 'Something at least 30 chars'; # } # ' # Failed test 'an array of the same code ref (n->y)' # at /home/rabbit/.cpanm/work/1352733203.28591/YAML-0.84/blib/lib/Test/YAML.pm line 65. # got: '--- # - &1 !!perl/code | # { # use warnings; # use strict 'refs'; # 'Something at least 30 chars'; # } # - *1 # - *1 # ' # expected: '--- # - &1 !!perl/code | # { # BEGIN {${^WARNING_BITS} = "UUUUUUUUUUUU\001"} # use strict 'refs'; # 'Something at least 30 chars'; # } # - *1 # - *1 # ' # Failed test 'blessed code ref (n->y)' # at /home/rabbit/.cpanm/work/1352733203.28591/YAML-0.84/blib/lib/Test/YAML.pm line 65. # got: '--- !!perl/code:Foo::Bar | # { # use warnings; # use strict 'refs'; # 'Something at least 30 chars'; # } # ' # expected: '--- !!perl/code:Foo::Bar | # { # BEGIN {${^WARNING_BITS} = "UUUUUUUUUUUU\001"} # use strict 'refs'; # 'Something at least 30 chars'; # } # ' # Looks like you failed 3 tests of 7. t/dump-code.t ............ Dubious, test returned 3 (wstat 768, 0x300) t/dump-perl-types.t ...... 1/14 # Failed test 'Code' # at t/dump-perl-types.t line 18. # got: '--- !!perl/code | # { # use warnings; # use strict 'refs'; # print "Hello, world\n"; # } # ' # expected: '--- !!perl/code | # { # BEGIN {${^WARNING_BITS} = "UUUUUUUUUUUU\001"} # use strict 'refs'; # print "Hello, world\n"; # } # ' # Failed test 'Code Glob' # at t/dump-perl-types.t line 18. # got: '--- !!perl/glob: # PACKAGE: main # NAME: var3 # CODE: !!perl/code | # { # use warnings; # use strict 'refs'; # print "Hello, world\n"; # } # ' # expected: '--- !!perl/glob: # PACKAGE: main # NAME: var3 # CODE: !!perl/code | # { # BEGIN {${^WARNING_BITS} = "UUUUUUUUUUUU\001"} # use strict 'refs'; # print "Hello, world\n"; # } # ' # Looks like you failed 2 tests of 14. t/dump-perl-types.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/14 subtests
This issue has been copied to: https://github.com/ingydotnet/yaml-pm/issues/129 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.