projects
/
p5sagit/Eval-WithLexicals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
handle inner scope lexicals
[p5sagit/Eval-WithLexicals.git]
/
t
/
simple.t
diff --git
a/t/simple.t
b/t/simple.t
index
e4316f3
..
22ea7c4
100644
(file)
--- a/
t/simple.t
+++ b/
t/simple.t
@@
-27,4
+27,10
@@
is_deeply(
'Inner scope plus lexical ok'
);
+is_deeply(
+ [ $eval->eval('{ my $y = 0 }; $x') ],
+ [ 1 ],
+ 'Inner scope and other lexical ok'
+);
+
done_testing;