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