Merge 'trunk' into 'cdbicompat_integration'
[dbsrgits/DBIx-Class.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');