WWW-Notifo
view release on metacpan or search on metacpan
use strict;
use warnings;
use lib qw( t/lib );
use Test::More tests => 38;
use JSON;
use MIME::Base64;
use WWW::Notifo qw( notifo );
sub want_error(&$;$) {
my ( $cb, $re, $msg ) = @_;
$msg = 'error' unless $msg;
eval { $cb->() };
ok $@, "$msg: threw error";
like $@, $re, "$msg: error matches";
}
{
my $HR;
( run in 0.772 second using v1.01-cache-2.11-cpan-49f99fa48dc )