projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove duplicate arg-check in create(), adjust exception text
[dbsrgits/DBIx-Class.git]
/
t
/
cdbi
/
02-Film.t
diff --git
a/t/cdbi/02-Film.t
b/t/cdbi/02-Film.t
index
fe4a691
..
5d0f860
100644
(file)
--- a/
t/cdbi/02-Film.t
+++ b/
t/cdbi/02-Film.t
@@
-32,7
+32,7
@@
is(Film->__driver, "SQLite", "Driver set correctly");
}
eval { my $duh = Film->insert; };
-like $@, qr/create needs a hashref/, "needs a hashref";
+like $@, qr/Result object instantiation requires a hashref as argument/, "needs a hashref";
ok +Film->create_test_film;