In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/4a7557453e4808e01b8e275ab6ccc62046f69da4?hp=9f28c6384ccf40ab7e158f98d343a59c296c6074>

- Log -----------------------------------------------------------------
commit 4a7557453e4808e01b8e275ab6ccc62046f69da4
Author: Yves Orton <[email protected]>
Date:   Tue Dec 4 00:00:28 2012 +0100

    Fix per-hash hash order dependency bug in version.pm
    
    If we make each hash have its own keyorder then this test will fail
    pretty regularly. Fixing it to get sorted keys from Dumper for the
    relevent test prevents this failure.
-----------------------------------------------------------------------

Summary of changes:
 lib/version.pm             |    2 +-
 lib/version/t/coretests.pm |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/version.pm b/lib/version.pm
index 286dc79..27774bd 100644
--- a/lib/version.pm
+++ b/lib/version.pm
@@ -6,7 +6,7 @@ use strict;
 
 use vars qw(@ISA $VERSION $CLASS $STRICT $LAX *declare *qv);
 
-$VERSION = 0.9901;
+$VERSION = 0.9902;
 
 $CLASS = 'version';
 
diff --git a/lib/version/t/coretests.pm b/lib/version/t/coretests.pm
index 2283f93..15a1f1f 100644
--- a/lib/version/t/coretests.pm
+++ b/lib/version/t/coretests.pm
@@ -505,6 +505,7 @@ EOF
     }
 
     {
+        local $Data::Dumper::Sortkeys= 1;
        # http://rt.cpan.org/Public/Bug/Display.html?id=30004
        my $v1 = $CLASS->$method("v0.1_1");
        (my $alpha1 = Dumper($v1)) =~ s/.+'alpha' => ([^,]+),.+/$1/ms;

--
Perl5 Master Repository

Reply via email to