[libical-parser-html-perl] 03/09: normalize all

Florian Schlichting fsfs at moszumanska.debian.org
Wed Apr 23 16:42:41 UTC 2014


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

fsfs pushed a commit to branch master
in repository libical-parser-html-perl.

commit 96f1eaff63921d00755101a257ac3aa48e1c1a35
Author: Florian Schlichting <fsfs at debian.org>
Date:   Wed Apr 23 17:10:11 2014 +0200

    normalize all
---
 debian/patches/normlize-test-output.patch | 22 +++++++++++++++++++++-
 debian/patches/series                     |  4 ++--
 2 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/debian/patches/normlize-test-output.patch b/debian/patches/normlize-test-output.patch
index b62d26b..4fc5787 100644
--- a/debian/patches/normlize-test-output.patch
+++ b/debian/patches/normlize-test-output.patch
@@ -1,6 +1,6 @@
 Description: fix test failure due to output formatting differences
 Author: Florian Schlichting <fsfs at debian.org>
-Forwarded: not_yet
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=94968
 
 --- a/t/01parse.t
 +++ b/t/01parse.t
@@ -14,3 +14,23 @@ Forwarded: not_yet
  	is($got,$expect,"$f -> $type");
      }
  }
+@@ -32,6 +35,9 @@
+     $got=~s/ class=""//g;
+     dump_html("$caldir/multical.$type.html",$got) if $ENV{_DUMP_TEST_HTML_};
+     my $expect=slurp("t/calendars/multical.$type.html");
++    $got    =~ s/^ *//gm; # $got is indented
++    $expect =~ s/^ *//gm; # $expect is not intendet but once
++    $expect =~ s/; charset=utf-8/;             charset=UTF-8/;
+     is($got,$expect,"multical -> $type");
+ }
+ #no link output
+@@ -43,6 +49,9 @@
+     $got=~s/ class=""//g;
+     dump_html("$caldir/multical.nolink.$type.html",$got) if $ENV{_DUMP_TEST_HTML_};
+     my $expect=slurp("t/calendars/multical.nolink.$type.html");
++    $got    =~ s/^ *//gm; # $got is indented
++    $expect =~ s/^ *//gm; # $expect is not intendet but once
++    $expect =~ s/; charset=utf-8/;             charset=UTF-8/;
+     is($got,$expect,"multical -> $type (no links)");
+ }
+ sub dump_html {
diff --git a/debian/patches/series b/debian/patches/series
index ad40a12..7844c12 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
-normlize-test-output.patch
-this-month.patch
 perl5.18.patch
+this-month.patch
+normlize-test-output.patch
 test-longstring.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libical-parser-html-perl.git



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