X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F002_basic_w_subtypes.t;h=e468ca8bd3eb51dbfd2228dcb650162f746a9770;hb=ba5bba75ba0c4f8af075e95ce3b00e5376bedf5c;hp=663dda43b6832e8d67527f1c58fec9421a81dc39;hpb=95f31c36141c0108605fadf16d9abd9ec8bd63f3;p=gitmo%2FMooseX-Storage.git diff --git a/t/002_basic_w_subtypes.t b/t/002_basic_w_subtypes.t index 663dda4..e468ca8 100644 --- a/t/002_basic_w_subtypes.t +++ b/t/002_basic_w_subtypes.t @@ -70,14 +70,14 @@ cases. is_deeply( $foo->pack, { - __class__ => 'Foo', + __CLASS__ => 'Foo', number => 10, string => 'foo', float => 10.5, array => [ 1 .. 10 ], hash => { map { $_ => undef } ( 1 .. 10 ) }, object => { - __class__ => 'Foo', + __CLASS__ => 'Foo', number => 2 }, }, @@ -88,14 +88,14 @@ cases. { my $foo = Foo->unpack( { - __class__ => 'Foo', + __CLASS__ => 'Foo', number => 10, string => 'foo', float => 10.5, array => [ 1 .. 10 ], hash => { map { $_ => undef } ( 1 .. 10 ) }, object => { - __class__ => 'Foo', + __CLASS__ => 'Foo', number => 2 }, }