simplify more stuff
[gitmo/Class-MOP.git] / t / 100_BinaryTree_test.t
index 339397f..f6f1c37 100644 (file)
@@ -17,9 +17,9 @@ use lib catdir($FindBin::Bin, 'lib');
 
 ok(!Class::MOP::is_class_loaded('BinaryTree'), '... the binary tree class is not loaded');
 
-ok ! exception {
+is( exception {
     Class::MOP::load_class('BinaryTree');
-}, '... loaded the BinaryTree class without dying';
+}, undef, '... loaded the BinaryTree class without dying' );
 
 ok(Class::MOP::is_class_loaded('BinaryTree'), '... the binary tree class is now loaded');