Switch as_query testing to direct specification in is_same_sql_bind
[dbsrgits/DBIx-Class-Historic.git] / t / 52cycle.t
CommitLineData
a917fb06 1use strict;
2use warnings;
3use Test::More;
4
5use lib qw(t/lib);
6
7BEGIN {
8 eval { require Test::Memory::Cycle };
9 if ($@) {
10 plan skip_all => "leak test needs Test::Memory::Cycle";
11 } else {
12 plan tests => 1;
13 }
14}
15
16use DBICTest;
17use DBICTest::Schema;
18
19import Test::Memory::Cycle;
20
21my $s = DBICTest::Schema->clone;
22
23memory_cycle_ok($s, 'No cycles in schema');