Restore ability to handle underdefined root (t/prefetch/incomplete.t)
[dbsrgits/DBIx-Class.git] / t / 101source.t
CommitLineData
f5f2af8f 1use warnings;
2use strict;
3
4use Test::More;
5use Test::Exception;
6
7use lib qw(t/lib);
8use DBICTest;
9
10my $schema = DBICTest->init_schema;
11
12throws_ok {$schema->source()} qr/\Qsource() expects a source name/, 'Empty args for source caught';
13
14done_testing();