[libconfig-model-dpkg-perl] 01/06: test that © merge is not confused by comma

dod at debian.org dod at debian.org
Sat May 20 18:04:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 3d5e7545ee4485e801ac1339790e1132f8e3d52d
Author: Dominique Dumont <dod at debian.org>
Date:   Sun May 14 09:21:36 2017 +0200

    test that © merge is not confused by comma
---
 t/scanner/squash_copyright_years.t | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/t/scanner/squash_copyright_years.t b/t/scanner/squash_copyright_years.t
index 12bc60d..c15e2f0 100644
--- a/t/scanner/squash_copyright_years.t
+++ b/t/scanner/squash_copyright_years.t
@@ -43,7 +43,25 @@ my @tests = (
 !,
         [undef,7,7,7,7,undef,7],
         [ [ '2007-2015, Daniel Adler <dadler at uni-goettingen.de>', 'ISC'] ]
-    ]
+    ],
+    [
+        'dir with slight diff in copyright',
+        q!---
+# id 0 is not used
+-
+  - unknown
+  - unknown
+-
+  - '2008-2017, GNUstep Application Project'
+  - 'LPGL-2+'
+-
+  - '2005-2016 GNUstep Application Project'
+  - 'LPGL-2+'
+...
+!,
+        [ undef, 3, 3 ],
+        [ ['2005-2017, GNUstep Application Project', 'LPGL-2+' ] ]
+    ],
 );
 
 foreach my $t (@tests) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list