properly supporting a where clause in the suger example and proof you can customize...
[gitmo/MooseX-Dependent.git] / t / 02-depending.t
index 6b4ac1a..72d799b 100644 (file)
@@ -61,7 +61,7 @@ use Test::More tests=>23; {
     ok UniqueInt->check([2,[3..6]]), 'PASS unique in set';
     ok UniqueInt->check([3,[100..110]]), 'PASS unique in set';
        
-       ## Same as above, with suger
+       ## Same as above, with sugar
     subtype UniqueInt2,
          as depending {
             my ($dependent_int, $constraining_arrayref) = @_;