Subject: | rw attribs not properly serialised |
The attached failing test demonstrates the issue:
$ prove -lrv t/001_basic.t
t/001_basic.t ..
1..13
ok 1 - An object of class 'Foo' isa 'Foo'
ok 2 - ... got the right frozen class
ok 3 - ... rw_attrib packed correctly
ok 4 - An object of class 'Foo' isa 'Foo'
ok 5 - ... got the right number
ok 6 - ... got the right string
ok 7 - ... got the right boolean
ok 8 - ... got the right float
ok 9 - ... got the right array
ok 10 - ... got the right hash
ok 11 - An object of class 'Foo' isa 'Foo'
ok 12 - ... got the right number (in the embedded object)
ok 13 - ... got the right array (in the union)
ok 14 - ... got the right string (in the union)
# Looks like you planned 13 tests but ran 14.
Dubious, test returned 255 (wstat 65280, 0xff00)
All 13 subtests passed
Test Summary Report
-------------------
t/001_basic.t (Wstat: 65280 Tests: 14 Failed: 1)
Failed test: 14
Non-zero exit status: 255
Parse errors: Bad plan. You planned 13 tests but ran 14.
Subject: | patch |