use inlined module hiding in tests
[catagits/Catalyst-Runtime.git] / t / aggregate / c3_appclass_bug.t
index 0e5f7ed..e7b44a4 100644 (file)
@@ -21,10 +21,10 @@ use Test::More tests => 1;
     /;
 }
 
-use Test::Exception;
-lives_ok {
+use Test::Fatal;
+is exception {
     TestAppC3ErrorUseMoose->setup();
-} 'No C3 error';
+}, undef, 'No C3 error';
 
 1;