pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/p5-HTML-Stream Update the patch to the test case, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ccd430c4c0b
branches:  trunk
changeset: 545509:9ccd430c4c0b
user:      he <he%pkgsrc.org@localhost>
date:      Wed Aug 06 09:40:51 2008 +0000

description:
Update the patch to the test case, so that it works as intended both with
and without p5-Test-Output installed.  Since this only affects the tests,
no version bump to the package.

diffstat:

 www/p5-HTML-Stream/distinfo         |   4 ++--
 www/p5-HTML-Stream/patches/patch-aa |  16 ++++++++++++----
 2 files changed, 14 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r b91976621b1c -r 9ccd430c4c0b www/p5-HTML-Stream/distinfo
--- a/www/p5-HTML-Stream/distinfo       Wed Aug 06 04:09:12 2008 +0000
+++ b/www/p5-HTML-Stream/distinfo       Wed Aug 06 09:40:51 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2008/08/05 11:22:13 he Exp $
+$NetBSD: distinfo,v 1.3 2008/08/06 09:40:51 he Exp $
 
 SHA1 (HTML-Stream-1.59.tar.gz) = f0e2214ca6543446b2aa1311872806a616029abf
 RMD160 (HTML-Stream-1.59.tar.gz) = adaa54013c4bcbe64097430960877e12b2a8d881
 Size (HTML-Stream-1.59.tar.gz) = 61947 bytes
-SHA1 (patch-aa) = f8f9d63d0efd39ea1c4e1484273e7663cea44928
+SHA1 (patch-aa) = c21c524fa6ded8f7e59e1d3b8841a0dbe0b2a452
diff -r b91976621b1c -r 9ccd430c4c0b www/p5-HTML-Stream/patches/patch-aa
--- a/www/p5-HTML-Stream/patches/patch-aa       Wed Aug 06 04:09:12 2008 +0000
+++ b/www/p5-HTML-Stream/patches/patch-aa       Wed Aug 06 09:40:51 2008 +0000
@@ -1,13 +1,21 @@
-$NetBSD: patch-aa,v 1.1 2008/08/05 11:22:13 he Exp $
+$NetBSD: patch-aa,v 1.2 2008/08/06 09:40:51 he Exp $
 
---- t/02-OO_Tests.t.orig       2008-08-05 12:28:40.000000000 +0200
+--- t/02-OO_Tests.t.orig       2008-06-01 19:19:04.000000000 +0200
 +++ t/02-OO_Tests.t
-@@ -43,7 +43,7 @@ is_deeply (\@tags, \@historic_tags, "Tag
+@@ -43,7 +43,8 @@ is_deeply (\@tags, \@historic_tags, "Tag
  # Skip tests if we can't run them.
  SKIP : {
        skip 'Test::Output is needed for OO tests to run.', 16
 -              unless eval { require 'Test::Output' };
-+              unless ! eval { use Test::Output };
++              unless eval { require Test::Output };
++      Test::Output->import();
  
        # Check that some of these tags actually work as expected...
        stdout_is( sub { $HTML->ABBR }, "<ABBR>" );
+@@ -70,4 +71,4 @@ SKIP : {
+       stdout_is( sub { $HTML->nl(0) }, "" );
+       stdout_is( sub { $HTML->nl(-1) }, "" );
+       stdout_is( sub { $HTML->nl("a") }, "" );
+-}
+\ No newline at end of file
++}



Home | Main Index | Thread Index | Old Index