Skip Menu |

This queue is for tickets about the Class-Discover CPAN distribution.

Report information
The Basics
Id: 56996
Status: resolved
Priority: 0/
Queue: Class-Discover

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

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



Subject: Test fails on Windows due to directory separator differences
t/simple.t .. 1/5 # Failed test 'Provided files' # at t/simple.t line 31. # +----+---------------------------------+--------------------------------+ # | Elt|Got |Expected | # +----+---------------------------------+--------------------------------+ # | 0|[ |[ | # | 1| { | { | # | 2| MyClass => { | MyClass => { | # * 3| file => 'lib\\Class1.pm', | file => 'lib/Class1.pm', * # | 4| type => 'class', | type => 'class', | # | 5| version => '0.03_a' | version => '0.03_a' | # | 6| } | } | # | 7| } | } | # | 8|] |] | # +----+---------------------------------+--------------------------------+ # Failed test 'Found files' # at t/simple.t line 39. # +----+---------------------------------+--------------------------------+ # | Elt|Got |Expected | # +----+---------------------------------+--------------------------------+ # | 0|[ |[ | # | 1| { | { | # | 2| MyClass => { | MyClass => { | # * 3| file => 'lib\\Class1.pm', | file => 'lib/Class1.pm', * # | 4| type => 'class', | type => 'class', | # | 5| version => '0.03_a' | version => '0.03_a' | # | 6| } | } | # | 7| }, | }, | # | 8| { | { | # | 9| MyClass2 => { | MyClass2 => { | # * 10| file => 'lib\\Class2.pm', | file => 'lib/Class2.pm', * # | 11| type => 'class' | type => 'class' | # | 12| } | } | # | 13| } | } | # | 14|] |] | # +----+---------------------------------+--------------------------------+ # Failed test 'Found files, no_index' # at t/simple.t line 56. # +----+---------------------------------+--------------------------------+ # | Elt|Got |Expected | # +----+---------------------------------+--------------------------------+ # | 0|[ |[ | # | 1| { | { | # | 2| MyClass2 => { | MyClass2 => { | # * 3| file => 'lib\\Class2.pm', | file => 'lib/Class2.pm', * # | 4| type => 'class' | type => 'class' | # | 5| } | } | # | 6| } | } | # | 7|] |] | # +----+---------------------------------+--------------------------------+ # Failed test 'Found files, no_index' # at t/simple.t line 67. # +----+------------------------------------+------------------------------------+ # | Elt|Got |Expected | # +----+------------------------------------+------------------------------------+ # | 0|[ |[ | # | 1| { | { | # | 2| Global => { | Global => { | # * 3| file => 'lib\\Nested.pm', | file => 'lib/Nested.pm', * # | 4| type => 'class' | type => 'class' | # | 5| } | } | # | 6| }, | }, | # | 7| { | { | # | 8| Global::Versioned => { | Global::Versioned => { | # * 9| file => 'lib\\Nested.pm', | file => 'lib/Nested.pm', * # | 10| type => 'class', | type => 'class', | # | 11| version => '1' | version => '1' | # | 12| } | } | # | 13| }, | }, | # | 14| { | { | # | 15| MyRole => { | MyRole => { | # * 16| file => 'lib\\Nested.pm', | file => 'lib/Nested.pm', * # | 17| type => 'role' | type => 'role' | # | 18| } | } | # | 19| }, | }, | # | 20| { | { | # | 21| Outer => { | Outer => { | # * 22| file => 'lib\\Nested.pm', | file => 'lib/Nested.pm', * # | 23| type => 'class' | type => 'class' | # | 24| } | } | # | 25| }, | }, | # | 26| { | { | # | 27| Outer::Inner::Unversioned => { | Outer::Inner::Unversioned => { | # * 28| file => 'lib\\Nested.pm', | file => 'lib/Nested.pm', * # | 29| type => 'class' | type => 'class' | # | 30| } | } | # | 31| }, | }, | # | 32| { | { | # | 33| Outer::Inner::Versioned => { | Outer::Inner::Versioned => { | # * 34| file => 'lib\\Nested.pm', | file => 'lib/Nested.pm', * # | 35| type => 'class', | type => 'class', | # | 36| version => '1' | version => '1' | # | 37| } | } | # | 38| } | } | # | 39|] |] | # +----+------------------------------------+------------------------------------+ # Looks like you failed 4 tests of 5. t/simple.t .. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/5 subtests
Fixed in v1.000002 which was just uploaded to CPAN