X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F60core.t;h=9ee9b6dd2f4725ec93c6d553a8925911946ac101;hb=9a4dfc45a830249b60333bac02b77b4354f4b2cf;hp=f92159b290128fadf702c3b87ba0f3f0f03f6623;hpb=6cea42c920f50e5f0aa8faaf6a06c2a630a32e83;p=dbsrgits%2FDBIx-Class.git diff --git a/t/60core.t b/t/60core.t index f92159b..9ee9b6d 100644 --- a/t/60core.t +++ b/t/60core.t @@ -636,4 +636,6 @@ SKIP: { throws_ok { $schema->resultset} qr/resultset\(\) expects a source name/, 'resultset with no argument throws exception'; +throws_ok { $schema->source('Artist')->result_class->new( 'bugger' ) } qr/must be a hashref/; + done_testing;