Skip to content

Commit

Permalink
Replace old basic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Mar 10, 2024
1 parent 8664d37 commit aa53885
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 99 deletions.
3 changes: 1 addition & 2 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ lib/HTML/Tagset.pm
Makefile.PL
MANIFEST
README.md
t/00_about_verbose.t
t/01_old_junk.t
t/00-load.t
t/pod.t
9 changes: 9 additions & 0 deletions t/00-load.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!perl -w

use Test::More tests => 1;

use HTML::Tagset;

diag( "Testing HTML::Tagset $HTML::Tagset::VERSION, Test::More $Test::More::VERSION, Perl $], $^X" );

pass( 'Module loaded' );
85 changes: 0 additions & 85 deletions t/00_about_verbose.t

This file was deleted.

8 changes: 0 additions & 8 deletions t/01_old_junk.t

This file was deleted.

17 changes: 13 additions & 4 deletions t/pod.t
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
#!perl -w
#!perl

use strict;
use warnings;

use Test::More;
eval "use Test::Pod 1.14";
plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
all_pod_files_ok();

my $module = 'Test::Pod 1.14';

if ( eval "use $module; 1;" ) { ## no critic (ProhibitStringyEval)
all_pod_files_ok();
}
else {
plan skip_all => "$module required for testing POD";
}

0 comments on commit aa53885

Please sign in to comment.