X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F002_basic_w_subtypes.t;h=16bad20f509ae8507b41a63aba245cb873294b23;hb=b5f363acfcf077778dd4f3b59460a0cbb9e51400;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..16bad20 100644 --- a/t/002_basic_w_subtypes.t +++ b/t/002_basic_w_subtypes.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More no_plan => 1; +use Test::More tests => 11; BEGIN { use_ok('MooseX::Storage'); @@ -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 }, }