X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F10-recursion.t;h=027eba24b69bdbb2d122163ab775a012ab3b34ab;hb=4a74c27f7b2e1eb7f1e27232d62aaffbac5f0c34;hp=c95315ce4d04685c0f8351292ec9ae6034b1e934;hpb=9eb6e8c6a5da5d60eb1986db304565b8ea826aed;p=gitmo%2FMooseX-Types-Structured.git diff --git a/t/10-recursion.t b/t/10-recursion.t index c95315c..027eba2 100644 --- a/t/10-recursion.t +++ b/t/10-recursion.t @@ -33,7 +33,7 @@ BEGIN { subtype Const() => as Int | Str; subtype Pair() => as Tuple[ Expr, Expr ]; - enum Op() => qw[ + - ]; + enum Op() => [ qw[ + - ] ]; subtype BinOp() => as Tuple[ Expr, Op, Expr ]; subtype Lambda() => as Tuple[ Var, Expr ];