Skip to content

Commit

Permalink
Remove Mail::RFC822::Address checks
Browse files Browse the repository at this point in the history
Since Mail::RFC822::Address is dynamically loaded, there is no longer
any need to check for it since that is handled by the
Log::Fine::Handle::Email module
  • Loading branch information
cfuhrman committed Dec 21, 2013
1 parent 4bffa50 commit 204cd42
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions t/15-handle-email.t
Expand Up @@ -20,15 +20,7 @@ use Test::More;
plan skip_all =>
"Email::Sender is not installed. Unable to test Log::Fine::Handle::Email";
} else {

eval "require Mail::RFC822::Address";

if ($@) {
plan skip_all =>
"Mail::RFC822::Address is not installed. Unable to test Log::Fine::Handle::Email";
} else {
plan tests => 9;
}
plan tests => 9;
}

use_ok("Log::Fine::Handle::Email");
Expand Down

0 comments on commit 204cd42

Please sign in to comment.