summaryrefslogtreecommitdiff
path: root/lib/bignum/t/bninfnan.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bignum/t/bninfnan.t')
-rw-r--r--lib/bignum/t/bninfnan.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bignum/t/bninfnan.t b/lib/bignum/t/bninfnan.t
index 2b84406866..adaf4fca0b 100644
--- a/lib/bignum/t/bninfnan.t
+++ b/lib/bignum/t/bninfnan.t
@@ -8,7 +8,7 @@ use strict;
BEGIN
{
$| = 1;
- my $location = $0; $location =~ s{^(.*/).*}{$1};
+ my $location = $0; $location =~ s/bninfnan.t//;
if ($ENV{PERL_CORE})
{
@INC = qw(../lib); # testing with the core distribution