projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix endless loop on BareSourcelessResultClass->throw_exception(...)
[dbsrgits/DBIx-Class.git]
/
t
/
60core.t
diff --git
a/t/60core.t
b/t/60core.t
index
f92159b
..
9ee9b6d
100644
(file)
--- 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;