X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FEval-WithLexicals.git;a=blobdiff_plain;f=t%2Fsimple.t;fp=t%2Fsimple.t;h=d529ac8b223d84123c625ecc828092d1a2797c35;hp=22ea7c480a93b442df7411b0300593b6e30cfc8e;hb=4d546654611503afe4282e5a4a4e7e291101d9bb;hpb=40d8277ffc4b65605b2c972b269dfcda92c88fca diff --git a/t/simple.t b/t/simple.t index 22ea7c4..d529ac8 100644 --- a/t/simple.t +++ b/t/simple.t @@ -33,4 +33,10 @@ is_deeply( 'Inner scope and other lexical ok' ); +is_deeply( + [ keys %{$eval->lexicals} ], + [ '$x' ], + 'No capture of invisible $y' +); + done_testing;