From: Shawn M Moore Date: Mon, 14 Sep 2009 02:37:35 +0000 (+0900) Subject: Less cryptic error X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=659524adcac7a812ea5edf3ce45c433aee794517;p=gitmo%2Fmoose-presentations.git Less cryptic error --- diff --git a/moose-class/exercises/t/lib/MooseClass/Tests.pm b/moose-class/exercises/t/lib/MooseClass/Tests.pm index a8865e0..9debf05 100644 --- a/moose-class/exercises/t/lib/MooseClass/Tests.pm +++ b/moose-class/exercises/t/lib/MooseClass/Tests.pm @@ -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 {