Skip to content

Commit

Permalink
Simplify injecting of @inc paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed Apr 27, 2024
1 parent d051ba5 commit 698b4a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Test/Harness.pm
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ sub runtests {

# Don't propagate to our children
local $ENV{HARNESS_OPTIONS};
_apply_extra_INC($harness);
my $aggregate = $harness->runtests(@tests);

my $total = $aggregate->total;
Expand Down Expand Up @@ -199,8 +198,7 @@ sub _new_harness {
}
}

# Do things the old way on VMS...
push @lib, _filtered_inc() if IS_VMS;
push @lib, _filtered_inc();

# If $Verbose isn't numeric default to 1. This helps core.
my $verbosity = ( $Verbose ? ( $Verbose !~ /\d/ ) ? 1 : $Verbose : 0 );
Expand Down

0 comments on commit 698b4a3

Please sign in to comment.