summaryrefslogtreecommitdiffstats
path: root/t/basic.t
diff options
context:
space:
mode:
Diffstat (limited to 't/basic.t')
-rw-r--r--t/basic.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/basic.t b/t/basic.t
index 8171972..565970a 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -31,8 +31,7 @@ use Test::More;
}
baz {
- my $foo = 1;
- return $foo + 2;
+ 1 + 2
}
::is(ref($code), 'CODE');
::is($code->(), 3);