This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libmoosex-attributehelpers-perl.
commit e98bf3d338f6b3e104dda33218ed374610ffd01a Author: gregor herrmann <gre...@debian.org> Date: Sun Oct 25 16:01:00 2015 +0100 Drop MooseX-AttributeHelpers-0.23-Fix-tests-to-cope-radnomized-hash-keys.patch. Fixed upstream. --- ...23-Fix-tests-to-cope-radnomized-hash-keys.patch | 61 ---------------------- debian/patches/series | 1 - 2 files changed, 62 deletions(-) diff --git a/debian/patches/MooseX-AttributeHelpers-0.23-Fix-tests-to-cope-radnomized-hash-keys.patch b/debian/patches/MooseX-AttributeHelpers-0.23-Fix-tests-to-cope-radnomized-hash-keys.patch deleted file mode 100644 index cbec25b..0000000 --- a/debian/patches/MooseX-AttributeHelpers-0.23-Fix-tests-to-cope-radnomized-hash-keys.patch +++ /dev/null @@ -1,61 +0,0 @@ -Origin: CPAN RT -Bug: https://rt.cpan.org/Ticket/Display.html?id=81564 -Bug-Debian: http://bugs.debian.org/720269 -Reviewed-by: gregor herrmann <gre...@debian.org> -Last-Update: 2013-08-24 -. -From 94d4ecede542aa0ae5e33e1aa68c6d9731bf295e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> -Date: Fri, 2 Aug 2013 19:09:45 +0200 -Subject: [PATCH] Fix tests to cope radnomized hash keys -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Similar patch is in Moose. - -<https://rt.cpan.org/Public/Bug/Display.html?id=81564> - -Signed-off-by: Petr Písař <ppi...@redhat.com> ---- - t/003_basic_hash.t | 4 ++-- - t/203_trait_hash.t | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/t/003_basic_hash.t b/t/003_basic_hash.t -index 1f842ae..c21ac52 100644 ---- a/t/003_basic_hash.t -+++ b/t/003_basic_hash.t -@@ -170,10 +170,10 @@ is_deeply($options->provides, { - is($options->type_constraint->type_parameter, 'Str', '... got the right container type'); - - $stuff->set_option( oink => "blah", xxy => "flop" ); --my @key_value = $stuff->key_value; -+my @key_value = sort{ $a->[0] cmp $b->[0] } $stuff->key_value; - is_deeply( - \@key_value, -- [ [ 'xxy', 'flop' ], [ 'quantity', 4 ], [ 'oink', 'blah' ] ], -+ [ sort{ $a->[0] cmp $b->[0] } [ 'xxy', 'flop' ], [ 'quantity', 4 ], [ 'oink', 'blah' ] ], - '... got the right key value pairs' - ); - -diff --git a/t/203_trait_hash.t b/t/203_trait_hash.t -index 8e876b1..451c0bb 100644 ---- a/t/203_trait_hash.t -+++ b/t/203_trait_hash.t -@@ -156,10 +156,10 @@ is_deeply($options->provides, { - is($options->type_constraint->type_parameter, 'Str', '... got the right container type'); - - $stuff->set_option( oink => "blah", xxy => "flop" ); --my @key_value = $stuff->key_value; -+my @key_value = sort{ $a->[0] cmp $b->[0] } $stuff->key_value; - is_deeply( - \@key_value, -- [ [ 'xxy', 'flop' ], [ 'quantity', 4 ], [ 'oink', 'blah' ] ], -+ [ sort{ $a->[0] cmp $b->[0] } [ 'xxy', 'flop' ], [ 'quantity', 4 ], [ 'oink', 'blah' ] ], - '... got the right key value pairs' - ); - --- -1.8.1.4 - diff --git a/debian/patches/series b/debian/patches/series index 81cd39b..ce9f749 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1 @@ whatis-in-manpages -MooseX-AttributeHelpers-0.23-Fix-tests-to-cope-radnomized-hash-keys.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoosex-attributehelpers-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits