On Fri, 2008-01-18 at 16:57 -0600, Ian Malpass wrote: > I got a failure message from CPAN testers for Pod::Extract::URI for > 5.11.0 patch 33001 on Linux 2.6.22-3-amd64 (x86_64-linux-thread-multi-ld)[0] > > The failures were where I was testing to see if an arrayref of qr// > patterns was the array I was expecting. is_deeply() has heretofore > worked perfectly well. > > The test line in question is: > > is_deeply( $peu->stop_uris, [ qr/foo/ ] ); > > And the failure is: > > # Failed test at t/new.t line 42. > # Structures begin differing at: > # $got->[0] = (?i-xsm:foo) > # $expected->[0] = (?-xism:foo) > # Looks like you failed 1 test of 24.
Are you positive you didn't mean to say qr/foo/i ? Are you sure that $peu->stop_uris should be returning qr/foo/i instead of qr/foo/? I know this sounds obvious... but I just want to make sure. Regards, Jonathan Rockway
signature.asc
Description: This is a digitally signed message part