sub is needed to make this work, I think.

This commit is contained in:
Bradley M. Kuhn 2015-12-06 19:07:34 -08:00
parent a06d4a63fa
commit 62d7ae0dbd

View file

@ -33,7 +33,8 @@ Test adding a supporter to the database.
=cut
dies_ok { $sp->addSupporter({}) } "ledger_entity_id required";
dies_ok(sub { $sp->addSupporter({}) }, "ledger_entity_id required");
$dbh->disconnect();