summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2018-05-01 20:41:53 -0400
committerJames E Keenan <jkeenan@cpan.org>2018-05-01 20:41:53 -0400
commitcbcc0a7a8ff8be62f4c5ff590a87272f17a50538 (patch)
tree7dea7dda89a1a185bbd02d7710c62d71557ddb77 /lib
parentc1e5fb491108e541609c1a6f7770774fd3dd0af1 (diff)
Consolidate all tests of licenses into 1 file.
Except for looselips.
Diffstat (limited to 'lib')
-rw-r--r--lib/ExtUtils/ModuleMaker/Auxiliary.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ExtUtils/ModuleMaker/Auxiliary.pm b/lib/ExtUtils/ModuleMaker/Auxiliary.pm
index 57079f4..25a87ac 100644
--- a/lib/ExtUtils/ModuleMaker/Auxiliary.pm
+++ b/lib/ExtUtils/ModuleMaker/Auxiliary.pm
@@ -208,6 +208,7 @@ sub licensetest {
ok(chdir "Alpha-$license", "changed to Alpha-$license directory");
my $licensetext = read_file_string('LICENSE');
like($licensetext, $pattern, "$license license has predicted content");
+ ok(chdir $tdir, "CLEANUP tempdir");
}
sub _process_personal_defaults_file {
@@ -488,7 +489,6 @@ sub license_text_test {
sub compact_build_tests {
# Assumes COMPACT => 1
- #my ($dist_name) = @_;
my ($components) = @_;
my $dist_name = join('-' => @{$components});
ok( -d $dist_name, "compact top-level directory exists" );