Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the IO-All CPAN distribution.

Report information
The Basics
Id: 57708
Status: resolved
Priority: 0/
Queue: IO-All

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

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



Subject: Test suite fails with Test-Simple-0.95_01 and later
See http://www.cpantesters.org/cpan/report/6914306 for a sample test report. I believe that changes described in http://aspn.activestate.com/ASPN/Mail/Message/perl5-porters/3857791 are responsible for this problem. Regards, Slaven
Now that Test::Simple 0.96 has been released to CPAN (i.e., the change that is breaking these tests are no longer just in a dev version of Test::Simple), there will be a lot more failure reports for IO::All. On Fri May 21 06:34:47 2010, SREZIC wrote: Show quoted text
> See http://www.cpantesters.org/cpan/report/6914306 for a sample test > report. I believe that changes described in > http://aspn.activestate.com/ASPN/Mail/Message/perl5-porters/3857791 are > responsible for this problem. > > Regards, > Slaven
Subject: [PATCH] Test suite fails with Test-Simple-0.95_01 and later
On Fri May 21 06:34:47 2010, SREZIC wrote: Show quoted text
> See http://www.cpantesters.org/cpan/report/6914306 for a sample test > report. I believe that changes described in > http://aspn.activestate.com/ASPN/Mail/Message/perl5-porters/3857791 are > responsible for this problem.
The attached patch fixes the tests.
Subject: IO-All.patch
# Fix tests for Test::More 0.96 # https://rt.cpan.org/Ticket/Display.html?id=57708 --- IO-All-0.39/t/file_spec.t.orig 2010-08-11 23:04:21.886750000 -0400 +++ IO-All-0.39/t/file_spec.t 2010-08-11 23:04:27.277375000 -0400 @@ -36,10 +36,10 @@ is(io('/foo/bar/baz')->abs2rel('/foo'), f 'bar/baz'); is(io('foo/bar/baz')->rel2abs('/moo'), f '/moo/foo/bar/baz'); -is(io->dir('doo/foo')->catdir('goo', 'hoo'), f 'doo/foo/goo/hoo'); -is(io->dir->catdir('goo', 'hoo'), f 'goo/hoo'); -is(io->catdir('goo', 'hoo'), f 'goo/hoo'); +is("".io->dir('doo/foo')->catdir('goo', 'hoo'), f 'doo/foo/goo/hoo'); +is("".io->dir->catdir('goo', 'hoo'), f 'goo/hoo'); +is("".io->catdir('goo', 'hoo'), f 'goo/hoo'); -is(io->file('doo/foo')->catfile('goo', 'hoo'), f 'doo/foo/goo/hoo'); -is(io->file->catfile('goo', 'hoo'), f 'goo/hoo'); -is(io->catfile('goo', 'hoo'), f 'goo/hoo'); +is("".io->file('doo/foo')->catfile('goo', 'hoo'), f 'doo/foo/goo/hoo'); +is("".io->file->catfile('goo', 'hoo'), f 'goo/hoo'); +is("".io->catfile('goo', 'hoo'), f 'goo/hoo');
patch appears to be released. closing...