[libconfig-model-dpkg-perl] 02/03: test automatic fix of too long description lines in several paragraphs
dod at debian.org
dod at debian.org
Wed May 13 17:44:02 UTC 2015
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 9eae1530de17202a994e875959ae655f067c2b15
Author: Dominique Dumont <dod at debian.org>
Date: Wed May 13 19:42:26 2015 +0200
test automatic fix of too long description lines in several paragraphs
---
t/model_tests.d/dpkg-control-examples/gnu-r-stuff | 6 ++++--
t/model_tests.d/dpkg-control-test-conf.pl | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/t/model_tests.d/dpkg-control-examples/gnu-r-stuff b/t/model_tests.d/dpkg-control-examples/gnu-r-stuff
index 2182114..c249535 100644
--- a/t/model_tests.d/dpkg-control-examples/gnu-r-stuff
+++ b/t/model_tests.d/dpkg-control-examples/gnu-r-stuff
@@ -15,5 +15,7 @@ Section: gnu-r
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: clustalw, muscle, phyml
Description: Multiplatform interface for sequence ...
- SeaView reads and writes various file formats (NEXUS, MSF, CLUSTAL, FASTA,
- PHYLIP, MASE, Newick) of DNA and ...
+ SeaView reads and writes various file formats (NEXUS, MSF, CLUSTAL, FASTA, PHYLIP, MASE, Newick) of DNA and ...
+ .
+ Another very long line to test multi paragraph formatting with Text::Autoformat which requires a special parameter to fill more than one paragraph. There, this should be long enought to trigger the automatic format when applying fix.
+
\ No newline at end of file
diff --git a/t/model_tests.d/dpkg-control-test-conf.pl b/t/model_tests.d/dpkg-control-test-conf.pl
index 1918968..54cfa84 100644
--- a/t/model_tests.d/dpkg-control-test-conf.pl
+++ b/t/model_tests.d/dpkg-control-test-conf.pl
@@ -173,7 +173,8 @@ providing the following file:
},
{
name => 'gnu-r-stuff',
- load_warnings => [ qr/standards version/ , (qr/Vcs/) x 2 ],
+ # last warning is about line too long.
+ load_warnings => [ qr/standards version/ , (qr/Vcs/) x 2 , qr/Description/],
apply_fix => 1,
check => [
'source Section' => 'gnu-r',
--
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