Redid conversion to Test::Fatal
[gitmo/Moose.git] / t / 040_type_constraints / 010_misc_type_tests.t
index 2a8b22d..4b5e1d3 100644 (file)
@@ -13,9 +13,9 @@ BEGIN {
 
 # subtype 'aliasing' ...
 
-ok ! exception {
+is( exception {
     subtype 'Numb3rs' => as 'Num';
-}, '... create bare subtype fine';
+}, undef, '... create bare subtype fine' );
 
 my $numb3rs = find_type_constraint('Numb3rs');
 isa_ok($numb3rs, 'Moose::Meta::TypeConstraint');