[license-reconcile] 01/04: Update tests to changed licensecheck output.
gregor herrmann
gregoa at debian.org
Mon Nov 28 16:13:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository license-reconcile.
commit 67d5e74a400df7802405067a00e2f6ed2999bf8e
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Nov 28 16:54:08 2016 +0100
Update tests to changed licensecheck output.
Thanks: LocutusOfBorg for the pointer.
---
debian/control | 2 +-
t/09-wtfpl.t | 2 +-
t/20-copyright_extract.t | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index ee747c1..b6e25c3 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: debhelper (>= 9),
libmodule-build-perl,
perl (>= 5.18),
bash-completion
-Build-Depends-Indep: licensecheck,
+Build-Depends-Indep: licensecheck (>= 3.0.28),
libclass-xsaccessor-perl,
libconfig-any-perl,
libdebian-copyright-perl (>= 0.2),
diff --git a/t/09-wtfpl.t b/t/09-wtfpl.t
index 9032948..b246fce 100644
--- a/t/09-wtfpl.t
+++ b/t/09-wtfpl.t
@@ -12,7 +12,7 @@ isa_ok($LICENSECHECK, 'Debian::LicenseReconcile::LicenseCheck');
my @data = $LICENSECHECK->get_info('wtfpl');
cmp_deeply(\@data, [{
file=>'wtfpl',
- license=>'WTFPL',
+ license=>'do What The Fuck you want to Public License (v2)',
copyright=>['Copyright: 2004 Sam Hocevar <sam at hocevar.net>'],
}]);
diff --git a/t/20-copyright_extract.t b/t/20-copyright_extract.t
index 1682851..e137800 100644
--- a/t/20-copyright_extract.t
+++ b/t/20-copyright_extract.t
@@ -50,7 +50,7 @@ cmp_deeply(\@data, [{
@data = $LICENSECHECK->get_info('wtfpl', 'blah');
cmp_deeply(\@data, [{
file=>'wtfpl',
- license=>'WTFPL',
+ license=>'do What The Fuck you want to Public License (v2)',
copyright=>[
'Copyright: 2004 Sam Hocevar <sam at hocevar.net>'],
}]);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/license-reconcile.git
More information about the Pkg-perl-cvs-commits
mailing list