X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FVariable-Temp.git;a=blobdiff_plain;f=t%2F10-lexical.t;fp=t%2F10-lexical.t;h=0000000000000000000000000000000000000000;hp=8fc07fab9bd97b824b4b6c6ccff7b8b2f6a3731b;hb=5a4659ac8f3724ea57a8a2cf5ccf32f6e66ead22;hpb=44bbd934b677f763001b163b1b96c58d6d6b8602 diff --git a/t/10-lexical.t b/t/10-lexical.t deleted file mode 100644 index 8fc07fa..0000000 --- a/t/10-lexical.t +++ /dev/null @@ -1,25 +0,0 @@ -#!perl -T - -use strict; -use warnings; - -use Variable::Temp 'set_temp'; - -use Test::More tests => 7; - -my $x = 1; -is $x, 1; -{ - set_temp $x => 2; - is $x, 2; - $x = 3; - is $x, 3; - { - set_temp $x => 4; - is $x, 4; - set_temp $x => 5; - is $x, 5; - } - is $x, 3; -} -is $x, 1;