In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/2e7769021bc2a280a4de2b75287a35f775694e1b?hp=69f0857ceb3d6c587ce864cec2bf48cc666426c7>
- Log ----------------------------------------------------------------- commit 2e7769021bc2a280a4de2b75287a35f775694e1b Author: Rafael Garcia-Suarez <r...@consttype.org> Date: Sat Mar 31 11:27:05 2012 +0200 Adjust skip condition of tests for fields.pm to cover 5.14.* and improve diagnostics ----------------------------------------------------------------------- Summary of changes: dist/base/t/fields.t | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/base/t/fields.t b/dist/base/t/fields.t index 87c6ccc..df5834d 100644 --- a/dist/base/t/fields.t +++ b/dist/base/t/fields.t @@ -108,10 +108,10 @@ package main; ok(exists $x->{b}, 'x has b'); SKIP: { - skip "These tests trigger a perl bug", 2 if $] < 5.014001; + skip "These tests trigger a perl bug", 2 if $] < 5.015; $x->{a} = __PACKAGE__; - ok eval { delete $x->{a}; 1 }, 'deleting COW values'; + ok eval { delete $x->{a}; 1 }, 'deleting COW values' or diag $@; $x->{a} = __PACKAGE__; - ok eval { %$x = (); 1 }, 'clearing a restr hash containing COWs'; + ok eval { %$x = (); 1 }, 'clearing a restr hash containing COWs' or diag $@; } } -- Perl5 Master Repository