- Creating a anonymous subtype with both a constraint and a
message failed with a very unhelpful error, but should just
work. Reported by t0m. (Dave Rolsky)
+ * Tests
+ - Some tests that used Test::Warn if it was available failed
+ with older versions of Test::Warn. Reported by Fayland. (Dave
+ Rolsky)
0.58
!! This release has an incompatible change regarding !!
use Test::Exception;
BEGIN {
- unless ( eval 'use Test::Warn; 1' ) {
- plan skip_all => 'These tests require Test::Warn';
+ unless ( eval 'use Test::Warn 0.10; 1' ) {
+ plan skip_all => 'These tests require Test::Warn 0.10+';
}
else {
plan tests => 4;
use Test::Exception;
BEGIN {
- unless ( eval 'use Test::Warn; 1' ) {
- plan skip_all => 'These tests require Test::Warn';
+ unless ( eval 'use Test::Warn 0.10; 1' ) {
+ plan skip_all => 'These tests require Test::Warn 0.10';
}
else {
plan tests => 40;