[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: t: Add test for "0-width" UTF-8 characters



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

nthykier pushed a commit to branch master
in repository lintian.

commit b5f2ef4a504d8ac18773f0a6d2328d8c7e9589a2
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Sep 21 21:21:33 2013 +0200

    t: Add test for "0-width" UTF-8 characters
    
    Add a test case for #677366, which turns out to be unreproducible.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 t/tests/changelog-file-general/debian/debian/changelog.in |    4 ++++
 t/tests/changelog-file-general/tags                       |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/t/tests/changelog-file-general/debian/debian/changelog.in b/t/tests/changelog-file-general/debian/debian/changelog.in
index 537b9d7..24efa7c 100644
--- a/t/tests/changelog-file-general/debian/debian/changelog.in
+++ b/t/tests/changelog-file-general/debian/debian/changelog.in
@@ -14,6 +14,10 @@
     certain program would report its line number correctly.  Especially since,
     we have an extra empty line in the start of the entry.
 
+  * Below is another very long line (UTF-8), which should have a "visual" width
+    of ~75 characters, but consists of over 200 bytes.
+    üüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüü
+
  -- {$author}  {$date}
 
 {$source} ({$version}) unstable; urgency=low
diff --git a/t/tests/changelog-file-general/tags b/t/tests/changelog-file-general/tags
index d72257e..de1f239 100644
--- a/t/tests/changelog-file-general/tags
+++ b/t/tests/changelog-file-general/tags
@@ -7,5 +7,5 @@ W: changelog-file-general: debian-changelog-line-too-long line 7
 W: changelog-file-general: improbable-bug-number-in-closes 12
 W: changelog-file-general: latest-debian-changelog-entry-without-new-date
 W: changelog-file-general: latest-debian-changelog-entry-without-new-version
-W: changelog-file-general: syntax-error-in-debian-changelog line 25 "badly formatted heading line"
-W: changelog-file-general: syntax-error-in-debian-changelog line 27 "found change data where expected next heading or eof"
+W: changelog-file-general: syntax-error-in-debian-changelog line 29 "badly formatted heading line"
+W: changelog-file-general: syntax-error-in-debian-changelog line 31 "found change data where expected next heading or eof"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: