From: Shawn M Moore Date: Mon, 14 Sep 2009 02:41:53 +0000 (+0900) Subject: Better error X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=29ae69195801d1e643b9bad536275f9e2fbf169e;p=gitmo%2Fmoose-presentations.git Better error --- diff --git a/moose-class/exercises/t/lib/MooseClass/Tests.pm b/moose-class/exercises/t/lib/MooseClass/Tests.pm index 9debf05..924c5db 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! (Did you forget to 'use Moose'?)"); + or BAIL_OUT("$class does not have a meta() method (did you forget to 'use Moose'?)"); } sub check_isa {