Merge branch 'stable'
[gitmo/Class-MOP.git] / t / 085_load_class_gvstash_detect_bug.t
index 7a7faf8..8f2ed6e 100644 (file)
@@ -6,18 +6,18 @@ use Test::Fatal;
 use Class::MOP;
 use lib 't/lib';
 
-ok ! exception {
+is( exception {
     Class::MOP::load_class('TestClassLoaded::Sub');
-};
+}, undef );
 
 TestClassLoaded->can('a_method');
 
-ok ! exception {
+is( exception {
     Class::MOP::load_class('TestClassLoaded');
-};
+}, undef );
 
-ok ! exception {
+is( exception {
     TestClassLoaded->a_method;
-};
+}, undef );
 
 done_testing;