CC: | exodist [...] cpan.org |
Subject: | Verbose warnings causes false positives |
Date: | Thu, 24 Jul 2014 19:37:20 +0000 |
To: | bugs-UNIVERSAL-isa [...] rt.cpan.org |
From: | Matt S Trout <mst [...] shadowcat.co.uk> |
Adding a ninth entry to t/warnings.t of -
$warning = '';
$bar->isa('Bar');
is( $warning, '', 'No warning on actual method call' );
reveals that we *do* still warn on an actual method call. This produces
fun failures like
http://www.cpantesters.org/cpan/report/3ee883b4-10fa-11e4-97f6-9b514fc05230
because newer Test::Builder versions now actually use ->isa to check the
types of things internally.
--
Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue
http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/
Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN
commercial support, training and consultancy packages could help your team.