[Catalyst-commits] r13836 - in trunk/Config-Any: . lib/Config t
t/conf
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Fri Dec 10 18:16:41 GMT 2010
Author: bricas
Date: 2010-12-10 18:16:41 +0000 (Fri, 10 Dec 2010)
New Revision: 13836
Added:
trunk/Config-Any/t/conf/conf.extfail
Modified:
trunk/Config-Any/Changes
trunk/Config-Any/lib/Config/Any.pm
trunk/Config-Any/t/64-extfail.t
Log:
fix t/64-extfail.t to pass when t/lib is in @INC
Modified: trunk/Config-Any/Changes
===================================================================
--- trunk/Config-Any/Changes 2010-12-10 10:22:41 UTC (rev 13835)
+++ trunk/Config-Any/Changes 2010-12-10 18:16:41 UTC (rev 13836)
@@ -1,5 +1,8 @@
Revision history for Config-Any
+0.21 TO BE RELEASED
+ - fix t/64-extfail.t to pass when t/lib is in @INC
+
0.20 Fri 06 Aug 2010
- enable -ForceArray option by default for Config::General (caelum)
Modified: trunk/Config-Any/lib/Config/Any.pm
===================================================================
--- trunk/Config-Any/lib/Config/Any.pm 2010-12-10 10:22:41 UTC (rev 13835)
+++ trunk/Config-Any/lib/Config/Any.pm 2010-12-10 18:16:41 UTC (rev 13836)
@@ -6,7 +6,7 @@
use Carp;
use Module::Pluggable::Object ();
-our $VERSION = '0.20';
+our $VERSION = '0.21';
=head1 NAME
Modified: trunk/Config-Any/t/64-extfail.t
===================================================================
--- trunk/Config-Any/t/64-extfail.t 2010-12-10 10:22:41 UTC (rev 13835)
+++ trunk/Config-Any/t/64-extfail.t 2010-12-10 18:16:41 UTC (rev 13836)
@@ -8,14 +8,14 @@
{
my $result = eval {
Config::Any->load_files(
- { files => [ 't/conf/conf.unsupported' ], use_ext => 1 } );
+ { files => [ 't/conf/conf.extfail' ], use_ext => 1 } );
};
ok( !defined $result, 'empty result' );
ok( $@, 'error thrown' );
like(
$@,
- qr/There are no loaders available for \.unsupported files/,
+ qr/There are no loaders available for \.extfail files/,
'error message'
);
}
Added: trunk/Config-Any/t/conf/conf.extfail
===================================================================
--- trunk/Config-Any/t/conf/conf.extfail (rev 0)
+++ trunk/Config-Any/t/conf/conf.extfail 2010-12-10 18:16:41 UTC (rev 13836)
@@ -0,0 +1 @@
+Placeholder file for t/64-extfail.t
More information about the Catalyst-commits
mailing list