From: Dave Rolsky Date: Thu, 30 Jun 2011 20:51:36 +0000 (-0400) Subject: Fix attr name in test output X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=01d83a8f8f6224d6b676828ead7613e36edfb862;p=gitmo%2Fmoose-presentations.git Fix attr name in test output --- diff --git a/moose-class/exercises/t/lib/MooseClass/Tests.pm b/moose-class/exercises/t/lib/MooseClass/Tests.pm index b6de65d..25d6073 100644 --- a/moose-class/exercises/t/lib/MooseClass/Tests.pm +++ b/moose-class/exercises/t/lib/MooseClass/Tests.pm @@ -316,14 +316,14 @@ sub tests06 { my $str = defined $invalid ? $invalid : 'undef'; ok( !$tc->check($invalid), - "salary_level type rejects invalid value - $str" + "history type rejects invalid value - $str" ); } for my $valid ( [], [1], [ 1, 2, 3 ], [ 1, -10, 9999 ] ) { ok( $tc->check($valid), - "salary_level type accepts valid value" + "history type accepts valid value" ); } }