Skip to content

Commit

Permalink
Fix HARNESS_PERL_SWITCHES=-I handling in TAP::Harness::Env
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed Aug 13, 2023
1 parent 6eacd6c commit c2c6e52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Revision history for Test-Harness

- Add missing negation in EINTR check
- Fix HARNESS_PERL_SWITCHES=-I handling in TAP::Harness::Env

3.46 2023-07-30
- Color the "ok"s as well.
Expand Down
2 changes: 1 addition & 1 deletion lib/TAP/Harness/Env.pm
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ sub create {
my $package = shift;
my %input = %{ shift || {} };

my @libs = @{ delete $input{libs} || [] };
my @libs = @{ delete $input{lib} || [] };
my @raw_switches = @{ delete $input{switches} || [] };
my @opt
= ( @raw_switches, shellwords( $ENV{HARNESS_PERL_SWITCHES} || '' ) );
Expand Down

0 comments on commit c2c6e52

Please sign in to comment.