summaryrefslogtreecommitdiff
path: root/t/lib/fatal.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/fatal.t')
-rwxr-xr-xt/lib/fatal.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib/fatal.t b/t/lib/fatal.t
index c17a0a2c6f..4013fbd371 100755
--- a/t/lib/fatal.t
+++ b/t/lib/fatal.t
@@ -31,6 +31,6 @@ eval { opendir FOO, 'lkjqweriuapofukndajsdlfjnvcvn' };
print "not " unless $@ =~ /^Can't open/;
print "ok $i\n"; ++$i;
-eval { $a = opendir FOO, 'lkjqweriuapofukndajsdlfjnvcvn' };
+eval { my $a = opendir FOO, 'lkjqweriuapofukndajsdlfjnvcvn' };
print "not " if $@ =~ /^Can't open/;
print "ok $i\n"; ++$i;