Skip Menu |

This queue is for tickets about the JSON CPAN distribution.

Report information
The Basics
Id: 122421
Status: resolved
Priority: 0/
Queue: JSON

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

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



Subject: Requires Test::More 0.88
t/00_load_backport.pp fails on pristine 5.8.x perls, because it calls isa_ok() on the class name returned by JSON->backend, which doesn't work until Test::More 0.88. Additionally t/e02_bool.t uses note() which was not added until Test::More 0.82. Either the Test::More requirement needs bumping, or these tests need rewriting to not use such "modern" Test::More features.
On Mon Jul 10 21:28:01 2017, ilmari wrote: Show quoted text
> t/00_load_backport.pp fails on pristine 5.8.x perls, because it calls > isa_ok() on the class name returned by JSON->backend, which doesn't > work until Test::More 0.88. > > Additionally t/e02_bool.t uses note() which was not added until > Test::More 0.82. > > Either the Test::More requirement needs bumping, or these tests need > rewriting to not use such "modern" Test::More features.
Thanks for spotting this. Fixed with https://github.com/makamaka/JSON/commit/1bb0e44e83f03dc5afcc0b85e1703760290c49fa
On Mon Jul 10 22:36:27 2017, ISHIGAKI wrote: Show quoted text
> On Mon Jul 10 21:28:01 2017, ilmari wrote:
> > t/00_load_backport.pp fails on pristine 5.8.x perls, because it calls > > isa_ok() on the class name returned by JSON->backend, which doesn't > > work until Test::More 0.88. > > > > Additionally t/e02_bool.t uses note() which was not added until > > Test::More 0.82. > > > > Either the Test::More requirement needs bumping, or these tests need > > rewriting to not use such "modern" Test::More features.
> > Thanks for spotting this. Fixed with > https://github.com/makamaka/JSON/commit/1bb0e44e83f03dc5afcc0b85e1703760290c49fa
This has been fixed already. Closed. Thanks!