X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fprefetch%2Fattrs_untouched.t;h=b2f25c38c4e6a165e09926cd96a009c205284bb2;hb=4a233f3019d2baa4bf2abee0c873c74d5cdf3a11;hp=53894b8a55c9517f7299eee39ae40a8ca18dda33;hpb=1cc3ce1eef3deb794a2b2dd4cff166b91145e7c4;p=dbsrgits%2FDBIx-Class.git diff --git a/t/prefetch/attrs_untouched.t b/t/prefetch/attrs_untouched.t index 53894b8..b2f25c3 100644 --- a/t/prefetch/attrs_untouched.t +++ b/t/prefetch/attrs_untouched.t @@ -1,23 +1,16 @@ -use warnings; +use warnings; +use strict; use Test::More; -use Test::Exception; use lib qw(t/lib); use DBICTest; + use Data::Dumper; +$Data::Dumper::Sortkeys = 1; my $schema = DBICTest->init_schema(); -my $orig_debug = $schema->storage->debug; - -use IO::File; - -BEGIN { - eval "use DBD::SQLite"; - plan $@ - ? ( skip_all => 'needs DBD::SQLite for testing' ) - : ( tests => 3 ); -} +plan tests => 3; # bug in 0.07000 caused attr (join/prefetch) to be modifed by search # so we check the search & attr arrays are not modified