X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F84serialize.t;h=c04815121bd14cf1ec5fa188f8cfa0998a755112;hb=26148d36e66d7f7c67863cea8d6501739b765692;hp=99449d4d165d6c7f8604ff42f49d4721f9b1a820;hpb=7d7d697500011de9ac151b6303f27e56f696cec6;p=dbsrgits%2FDBIx-Class.git diff --git a/t/84serialize.t b/t/84serialize.t index 99449d4..c048151 100644 --- a/t/84serialize.t +++ b/t/84serialize.t @@ -1,11 +1,11 @@ use strict; -use warnings; +use warnings; use Test::More; use Test::Exception; use lib qw(t/lib); use DBICTest; -use Storable qw(dclone freeze thaw); +use Storable qw(dclone freeze nfreeze thaw); my $schema = DBICTest->init_schema(); @@ -19,6 +19,9 @@ my %stores = ( "freeze/thaw_func" => sub { thaw(freeze($_[0])); }, + "nfreeze/thaw_func" => sub { + thaw(nfreeze($_[0])); + }, ); plan tests => (11 * keys %stores); @@ -28,7 +31,7 @@ for my $name (keys %stores) { my $copy; my $artist = $schema->resultset('Artist')->find(1); - + # Test that the procedural versions will work if there's a registered # schema as with CDBICompat objects and that the methods work # without.