fix for prototype undecl issue when type constraint utils loaded before consumers...
[gitmo/Moose.git] / t / 201_example.t
index e253ffa..33f9058 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 1;
+use Test::More tests => 21;
 use Test::Exception;
 
 BEGIN {
@@ -12,8 +12,6 @@ BEGIN {
 
 ## Roles
 
-=begin nonsense
-
 {
     package Constraint;
     use Moose::Role;
@@ -130,4 +128,3 @@ ok($at_least_10_chars->does('Constraint::OnLength'), '... Constraint::LengthAtLe
 ok(!defined($at_least_10_chars->validate('barrrrrrrrr')), '... validated correctly');
 is($at_least_10_chars->validate('bar'), 'must be at least 10 chars', '... validation failed correctly');
 
-=cut