X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Ftype_constraints%2Futil_std_type_constraints.t;h=89c35bac8d47a008ec0a5247a306dd3ffcc5448f;hb=9c44971f087c3b69a46685ba068b2f1f42120935;hp=d98f16cdeebc6e0ba13c3846b2f0f7b7e6044515;hpb=eb4cc222991e509161ef9e03735ba26848d1ed17;p=gitmo%2FMoose.git diff --git a/t/type_constraints/util_std_type_constraints.t b/t/type_constraints/util_std_type_constraints.t index d98f16c..89c35ba 100644 --- a/t/type_constraints/util_std_type_constraints.t +++ b/t/type_constraints/util_std_type_constraints.t @@ -1014,6 +1014,7 @@ sub test_constraint { if ( $type->has_inlined_type_constraint ) { $inlined = eval_closure( source => 'sub { ( ' . $type->_inline_check('$_[0]') . ' ) }', + environment => $type->inline_environment, ); }