X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsqlmaker%2Flimit_dialects%2Ftorture.t;h=4dac672e9d233d5b4998a32b0fa6b4768bccb67a;hb=45792de6c71c39f2680d314fd302b962e804552e;hp=9d8d23db8098506e4a815df000341d9e12888130;hpb=d16df2398243321f1bd43fcc625d2e14852af0c9;p=dbsrgits%2FDBIx-Class.git diff --git a/t/sqlmaker/limit_dialects/torture.t b/t/sqlmaker/limit_dialects/torture.t index 9d8d23d..4dac672 100644 --- a/t/sqlmaker/limit_dialects/torture.t +++ b/t/sqlmaker/limit_dialects/torture.t @@ -3,9 +3,9 @@ use warnings; use Test::More; use Test::Exception; -use Storable 'dclone'; use lib qw(t/lib); use DBICTest ':DiffSQL'; +use DBIx::Class::_Util 'deep_clone'; my $schema = DBICTest->init_schema; my $native_limit_dialect = $schema->storage->sql_maker->{limit_dialect}; @@ -626,7 +626,7 @@ my $tests = { @where_bind, @group_bind, @having_bind, - @{ dclone \@order_bind }, # without this is_deeply throws a fit + @{ deep_clone \@order_bind }, # without this is_deeply throws a fit ], ], limit_offset_prefetch => [ @@ -738,7 +738,7 @@ my $tests = { @where_bind, @group_bind, @having_bind, - @{ dclone \@order_bind }, # without this is_deeply throws a fit + @{ deep_clone \@order_bind }, # without this is_deeply throws a fit ], ], limit_offset_prefetch => [