Correct messages.

This commit is contained in:
Bradley M. Kuhn 2015-12-09 19:53:20 -08:00
parent d059523830
commit 63383eef02

View file

@ -75,9 +75,10 @@ ok( (looks_like_number($drapperId) and $drapperId > $id1),
=cut
dies_ok { $sp->addEmailAddress(undef, 'drapper@example.org', 'paypal'); }
"_addEmailAdress: dies for undefined id";
"addEmailAddress: dies for undefined id";
dies_ok { $sp->addEmailAddress("String", 'drapper@example.org', 'paypal'); }
"_addEmailAdress: dies for non-numeric id";
"addEmailAddress: dies for non-numeric id";
=item addAddressType