Skip Menu |

This queue is for tickets about the DateTimeX-Format CPAN distribution.

Report information
The Basics
Id: 109063
Status: new
Priority: 0/
Queue: DateTimeX-Format

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Tests fail (with latest DateTime::Locale?)
The module's test suite fails, probably if the newest DateTime::Locale (1.01) is installed. Output from '/usr/bin/make test': PERL_DL_NONLAZY=1 "/bbbike/perl-5.10.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-load.t t/01-basic_use.t t/02-coercions.t t/03-custom_pattern.t t/pod-coverage.t t/pod.t # Testing DateTimeX::Format 1.04, Perl 5.010001, /bbbike/perl-5.10.1/bin/perl t/00-load.t ............ ok Attribute (locale) does not pass the type constraint because: Validation failed for 'MooseX::Types::DateTime::ButMaintained::Locale' with value DateTime::Locale::FromData={ am_pm_abbreviated: [ "AM", "PM" ], available_formats: { E: "ccc", EHm: "E HH:mm", EHms: "E HH:mm:ss", Ed: "d E", Ehm: "E h:mm a", Ehms: "E h:mm:ss a", ... }, code: "en-US", date_format_full: "EEEE, MMMM d, y", date_format_long: "MMMM d, y", date_format_medium: "MMM d, y", ... } at /opt/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Object.pm line 24 Moose::Object::new('Foo', 'HASH(0x2d674a0)') called at t/01-basic_use.t line 16 # Looks like you planned 7 tests but ran 1. # Looks like your test exited with 255 just after 1. t/01-basic_use.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/7 subtests # Failed test 'Coerce from call arg of locale worked' # at t/02-coercions.t line 16. # got: '' # expected: 'DateTime::Locale::en_AU' # Looks like you failed 1 test of 5. t/02-coercions.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/5 subtests Attribute (locale) does not pass the type constraint because: Validation failed for 'MooseX::Types::DateTime::ButMaintained::Locale' with value DateTime::Locale::FromData={ am_pm_abbreviated: [ "AM", "PM" ], available_formats: { E: "ccc", EHm: "E HH:mm", EHms: "E HH:mm:ss", Ed: "d E", Ehm: "E h:mm a", Ehms: "E h:mm:ss a", ... }, code: "en-US", date_format_full: "EEEE, MMMM d, y", date_format_long: "MMMM d, y", date_format_medium: "MMM d, y", ... } at /opt/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Moose/Object.pm line 24 Moose::Object::new('DateTimeX::Format::RequiresPattern', 'HASH(0x378ad18)') called at t/03-custom_pattern.t line 19 # Looks like your test exited with 255 before it could output anything. t/03-custom_pattern.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/3 subtests t/pod-coverage.t ....... ok t/pod.t ................ ok