r63046 - in /branches/upstream/libtest-longstring-perl/current: Changes META.yml README lib/Test/LongString.pm t/03like.t
angelabad-guest at users.alioth.debian.org
angelabad-guest at users.alioth.debian.org
Tue Sep 28 18:19:40 UTC 2010
Author: angelabad-guest
Date: Tue Sep 28 18:19:30 2010
New Revision: 63046
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63046
Log:
[svn-upgrade] new version libtest-longstring-perl (0.14)
Modified:
branches/upstream/libtest-longstring-perl/current/Changes
branches/upstream/libtest-longstring-perl/current/META.yml
branches/upstream/libtest-longstring-perl/current/README
branches/upstream/libtest-longstring-perl/current/lib/Test/LongString.pm
branches/upstream/libtest-longstring-perl/current/t/03like.t
Modified: branches/upstream/libtest-longstring-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-longstring-perl/current/Changes?rev=63046&op=diff
==============================================================================
--- branches/upstream/libtest-longstring-perl/current/Changes (original)
+++ branches/upstream/libtest-longstring-perl/current/Changes Tue Sep 28 18:19:30 2010
@@ -18,3 +18,6 @@
0.13
Allow to display LCSS output in diagnostics
+
+0.14
+ Compatibility fix with perl 5.13.5
Modified: branches/upstream/libtest-longstring-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-longstring-perl/current/META.yml?rev=63046&op=diff
==============================================================================
--- branches/upstream/libtest-longstring-perl/current/META.yml (original)
+++ branches/upstream/libtest-longstring-perl/current/META.yml Tue Sep 28 18:19:30 2010
@@ -1,15 +1,23 @@
--- #YAML:1.0
-name: Test-LongString
-version: 0.13
-abstract: ~
-license: perl
-author:
+name: Test-LongString
+version: 0.14
+abstract: ~
+author:
- Rafael Garcia-Suarez <rgs at consttype.org>
-generated_by: ExtUtils::MakeMaker version 6.42
-distribution_type: module
-requires:
- Test::Builder: 0.12
- Test::Builder::Tester: 1.04
+license: perl
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+requires:
+ Test::Builder: 0.12
+ Test::Builder::Tester: 1.04
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: branches/upstream/libtest-longstring-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-longstring-perl/current/README?rev=63046&op=diff
==============================================================================
--- branches/upstream/libtest-longstring-perl/current/README (original)
+++ branches/upstream/libtest-longstring-perl/current/README Tue Sep 28 18:19:30 2010
@@ -1,4 +1,4 @@
-Test::LongString v0.11
+Test::LongString v0.14
======================
A library to test long strings.
@@ -22,4 +22,4 @@
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
-Copyright (c) 2002, 2003, 2004, 2005, 2006 Rafael Garcia-Suarez
+Copyright (c) 2002 - 2010 Rafael Garcia-Suarez
Modified: branches/upstream/libtest-longstring-perl/current/lib/Test/LongString.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-longstring-perl/current/lib/Test/LongString.pm?rev=63046&op=diff
==============================================================================
--- branches/upstream/libtest-longstring-perl/current/lib/Test/LongString.pm (original)
+++ branches/upstream/libtest-longstring-perl/current/lib/Test/LongString.pm Tue Sep 28 18:19:30 2010
@@ -3,7 +3,7 @@
use strict;
use vars qw($VERSION @ISA @EXPORT $Max $Context $LCSS);
-$VERSION = '0.13';
+$VERSION = '0.14';
use Test::Builder;
my $Tester = new Test::Builder();
@@ -438,7 +438,7 @@
A git repository for this module is available at
- http://consttype.org/git/Test-LongString.git
+ git://github.com/rgs/Test-LongString.git
=head1 SEE ALSO
Modified: branches/upstream/libtest-longstring-perl/current/t/03like.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-longstring-perl/current/t/03like.t?rev=63046&op=diff
==============================================================================
--- branches/upstream/libtest-longstring-perl/current/t/03like.t (original)
+++ branches/upstream/libtest-longstring-perl/current/t/03like.t Tue Sep 28 18:19:30 2010
@@ -7,6 +7,8 @@
use Test::Builder::Tester::Color;
use Test::LongString;
+my $DEFAULT_FLAGS = $] < 5.013005 ? '-xism' : '^';
+
test_out("ok 1 - foo matches foo");
like_string("foo", qr/foo/, "foo matches foo");
test_test("a small string matches");
@@ -15,7 +17,7 @@
test_fail(4);
test_diag(qq( got: "bar"
# length: 3
-# doesn't match '(?-xism:foo)'));
+# doesn't match '(?$DEFAULT_FLAGS:foo)'));
like_string("bar", qr/foo/, "foo matches foo");
test_test("a small string doesn't match");
@@ -23,7 +25,7 @@
test_fail(4);
test_diag(qq( got: undef
# length: -
-# doesn't match '(?-xism:foo)'));
+# doesn't match '(?$DEFAULT_FLAGS:foo)'));
like_string(undef, qr/foo/, "foo matches foo");
test_test("got undef");
@@ -31,7 +33,7 @@
test_fail(4);
test_diag(qq( got: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"...
# length: 100
-# doesn't match '(?-xism:^a*\$)'));
+# doesn't match '(?$DEFAULT_FLAGS:^a*\$)'));
like_string(("a"x60)."b".("a"x39), qr/^a*$/, "long string matches a*");
test_test("a huge string doesn't match");
@@ -39,6 +41,6 @@
test_fail(4);
test_diag(qq( got: "bar"
# length: 3
-# matches '(?-xism:bar)'));
+# matches '(?$DEFAULT_FLAGS:bar)'));
unlike_string("bar", qr/bar/, "foo doesn't match bar");
test_test("a small string matches while it shouldn't");
More information about the Pkg-perl-cvs-commits
mailing list