Revision history for Perl extension MooseX::ConfigFromFile
0.03 - ???
+ - The test suite now uses Test::Fatal instead of Test::Exception (Karen
+ Etheridge).
- Fix bug reported by Strayph in #moose with inheritance (perigrin)
0.02 - Jan 23, 2008
all_from 'lib/MooseX/ConfigFromFile.pm';
test_requires 'Test::More' => '0.42';
+test_requires 'Test::Fatal';
requires 'Moose' => '0.35';
requires 'MooseX::Types::Path::Class' => '0.04';
#!/usr/bin/env perl
use strict;
use Test::More;
-use Test::Exception;
+use Test::Fatal;
{
package A;
use Moose;
}
ok(B->does('MooseX::ConfigFromFile'), 'B does ConfigFromFile');
-lives_ok { B->new_with_config() } 'B->new_with_config lives';
+is(exception { B->new_with_config() }, undef, 'B->new_with_config lives');
done_testing();