summaryrefslogtreecommitdiffstats
path: root/t/fun/anon.t
diff options
context:
space:
mode:
Diffstat (limited to 't/fun/anon.t')
-rw-r--r--t/fun/anon.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/fun/anon.t b/t/fun/anon.t
index 88b6991..2d273f4 100644
--- a/t/fun/anon.t
+++ b/t/fun/anon.t
@@ -4,6 +4,8 @@ use warnings;
use Test::More;
use lib 't/fun/lib';
+use Test::Requires 'Sub::Name';
+
use Fun;
my $fun = fun ($x, $y) { $x * $y };