Moose compat: the details of load_class. Check whether the package has any methods...
[gitmo/Mouse.git] / t / 020-load-class.t
index dd27587..0373459 100644 (file)
@@ -12,16 +12,14 @@ can_ok('Anti::Mouse' => 'antimouse');
 
 do {
     package Class;
+    sub yay {}
 };
 
 ok(Mouse::load_class('Class'), "this should not die!");
 
-TODO: {
-    local $TODO = "can't have the previous test and this test pass.. yet";
-    throws_ok {
-        Mouse::load_class('FakeClassOhNo');
-    } qr/Can't locate /;
-};
+throws_ok {
+    Mouse::load_class('FakeClassOhNo');
+} qr/Can't locate /;
 
 throws_ok {
     Mouse::load_class('Anti::MouseError');