Skip Menu |

This queue is for tickets about the Variable-Magic CPAN distribution.

Report information
The Basics
Id: 117081
Status: resolved
Priority: 0/
Queue: Variable-Magic

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

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



Subject: test t/22-len.t fails with bad plan on Perl 5.25.4
I got this on both OS X and Debian Linux. crux% prove -bv t/22-len.t t/22-len.t .. 1..55 ok 1 - len: wizard() doesn't trigger magic ok 2 - len: cast on array doesn't trigger magic ok 3 - len: get array length triggers magic correctly ok 4 - len: get array length have correct default length ok 5 - len: get array length correctly ok 6 - len: get last array index triggers magic correctly ok 7 - len: get last array index have correct default length ok 8 - len: get last array index correctly ok 9 - len: get array length 0 triggers magic correctly ok 10 - len: get array length 0 have correct default length ok 11 - len: get array length 0 correctly ok 12 - len: get empty array length triggers magic correctly ok 13 - len: get empty array length have correct default length ok 14 - len: get empty array length correctly ok 15 - len: get last empty array index triggers magic correctly ok 16 - len: get last empty array index have correct default length ok 17 - len: get last empty array index correctly ok 18 # skip len magic is no longer called for scalars ok 19 # skip len magic is no longer called for scalars ok 20 # skip len magic is no longer called for scalars ok 21 # skip len magic is no longer called for scalars ok 22 # skip len magic is no longer called for scalars ok 23 # skip len magic is no longer called for scalars ok 24 # skip len magic is no longer called for scalars ok 25 # skip len magic is no longer called for scalars ok 26 # skip len magic is no longer called for scalars ok 27 # skip len magic is no longer called for scalars ok 28 # skip len magic is no longer called for scalars ok 29 # skip len magic is no longer called for scalars ok 30 # skip len magic is no longer called for scalars ok 31 # skip len magic is no longer called for scalars ok 32 # skip len magic is no longer called for scalars ok 33 # skip len magic is no longer called for scalars ok 34 # skip len magic is no longer called for scalars ok 35 # skip len magic is no longer called for scalars ok 36 # skip len magic is no longer called for scalars ok 37 # skip len magic is no longer called for scalars ok 38 # skip len magic is no longer called for scalars ok 39 # skip len magic is no longer called for scalars ok 40 - len: wizard() doesn't croak ok 41 - len: cast() doesn't croak ok 42 - len: value doesn't croak ok 43 - len: after value ok 44 - len: noop wizard (for arrays) creation does not croak ok 45 - len: noop wizard (for arrays) cast does not croak ok 46 - len: noop wizard (for arrays) invocation does not croak ok 47 - len: noop magic on an array returns the previous length ok 48 - len: noop wizard (for strings) creation does not croak ok 49 - len: noop wizard (for strings) cast does not croak ok 50 - len: noop wizard (for strings) invocation does not croak ok 51 - len: noop magic on a string returns the previous length ok 52 - len: noop wizard (for strings) cast does not croak ok 53 - len: noop wizard (for strings) invocation does not croak ok 54 - len: noop magic on a unicode string returns the previous length # Looks like you planned 55 tests but ran 54. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/55 subtests (less 22 skipped subtests: 32 okay) Test Summary Report ------------------- t/22-len.t (Wstat: 65280 Tests: 54 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 55 tests but ran 54. Files=1, Tests=54, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.04 cusr 0.00 csys = 0.08 CPU) Result: FAIL
This was fixed in version 0.60.