Skip to content

Commit

Permalink
Added done_testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Horne committed Nov 18, 2020
1 parent 0d67bce commit 553723a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions t/snippets.t
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ eval 'use Test::Pod::Snippets';
if($@) {
plan(skip_all => 'Test::Pod::Snippets required for testing POD code snippets');
} else {
my $tps = Test::Pod::Snippets->new;
my $tps = Test::Pod::Snippets->new();

my @modules = qw/ CGI::Info /;

$tps->runtest( module => $_, testgroup => 1 ) for @modules;
$tps->runtest(module => $_, testgroup => 1) for @modules;

done_testing();
}

0 comments on commit 553723a

Please sign in to comment.