Less cryptic error
[gitmo/moose-presentations.git] / 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 {