1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
Description: Adjust tests to Module::Starter::Simple >= 1.790
Citing the docs:
The attribute that previously held the author, `$self->{author}` now holds
an arrayref of authoremails.
Origin: vendor
Bug-Debian: https://bugs.debian.org/1126216
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2026-01-23
Forwarded: https://github.com/rueycheng/Module-Starter-Smart/pull/6
Bug: https://github.com/rueycheng/Module-Starter-Smart/pull/6
--- a/t/01.create_distro.t
+++ b/t/01.create_distro.t
@@ -12,10 +12,9 @@
};
Module::Starter->create_distro(
- author => 'me',
+ author => ['me <me@there.com>'],
builder => 'ExtUtils::MakeMaker',
modules => ['Modern::Mo'],
- email => 'me@there.com',
dir => $root,
);
}
@@ -34,10 +33,9 @@
};
Module::Starter->create_distro(
- author => 'me',
+ author => ['me <me@there.com>'],
builder => 'ExtUtils::MakeMaker',
modules => ['Modern::Mumu'],
- email => 'me@there.com',
dir => $root,
);
}
--- a/t/03.create_distro_with_build.t
+++ b/t/03.create_distro_with_build.t
@@ -17,10 +17,9 @@
};
Module::Starter->create_distro(
- author => 'me',
+ author => ['me <me@there.com>'],
builder => 'Module::Build',
modules => ['Foo::Bar'],
- email => 'me@there.com',
dir => $root,
);
}
|