revert remove of name() in Makefile.PL
[p5sagit/Config-Any.git] / t / 63-invalid.t
CommitLineData
8af0a7cf 1use strict;
2use warnings;
3
4use Test::More tests => 2;
5
6use Config::Any::Perl;
7
8{
9 my $file = 't/conf/conf_invalid.pl';
10 my $config = eval { Config::Any::Perl->load( $file ) };
11
12 ok( !$config, 'config load failed' );
13 ok( $@, "error thrown ($@)" );
14}