[Moose-commits] r7872 - MooseX-Types-Dependent/trunk/t
jnapiorkowski at code2.0beta.co.uk
jnapiorkowski at code2.0beta.co.uk
Mon Mar 30 15:14:36 BST 2009
Author: jnapiorkowski
Date: 2009-03-30 07:14:35 -0700 (Mon, 30 Mar 2009)
New Revision: 7872
Modified:
MooseX-Types-Dependent/trunk/t/02-depending.t
Log:
removed useless comments (just distract you from the code)
Modified: MooseX-Types-Dependent/trunk/t/02-depending.t
===================================================================
--- MooseX-Types-Dependent/trunk/t/02-depending.t 2009-03-30 14:13:44 UTC (rev 7871)
+++ MooseX-Types-Dependent/trunk/t/02-depending.t 2009-03-30 14:14:35 UTC (rev 7872)
@@ -44,8 +44,6 @@
Int,
sub {
my ($dependent_int, $constraining_arrayref) = @_;
- ## Yes, this is braindead way to check for uniques in an array
- ## but this doesn't require additional dependencies.
(grep { $_ == $dependent_int} @$constraining_arrayref) ? 0:1
},
ArrayRef[Int],
@@ -63,8 +61,6 @@
subtype UniqueInt2,
as depending {
my ($dependent_int, $constraining_arrayref) = @_;
- ## Yes, this is braindead way to check for uniques in an array
- ## but this doesn't require additional dependencies.
(grep { $_ == $dependent_int} @$constraining_arrayref) ? 0:1
} Int, ArrayRef[Int];
More information about the Moose-commits
mailing list