Less cryptic error
Shawn M Moore [Mon, 14 Sep 2009 02:37:35 +0000 (11:37 +0900)]
moose-class/exercises/t/lib/MooseClass/Tests.pm

index a8865e0..9debf05 100644 (file)
@@ -260,7 +260,7 @@ sub has_meta {
     my $class = shift;
 
     ok( $class->can('meta'), "$class has a meta() method" )
-        or BAIL_OUT("Cannot run tests against a class without a meta!");
+        or BAIL_OUT("Cannot run tests against a class without a meta! (Did you forget to 'use Moose'?)");
 }
 
 sub check_isa {