Skip to content

Commit

Permalink
Adjust a few tests after changing install command.
Browse files Browse the repository at this point in the history
Since it would errro when PERLBREW_ROOT is missing, we need to ensure
PERLBRE_ROOT exist if we intend to run `install`  in the test code.
  • Loading branch information
gugod committed Jul 21, 2022
1 parent 02dcc71 commit ba06b6c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions t/12.destdir.t
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ my $DESTDIR = tempdir( CLEANUP => 1 );

use Test::More;

## setup

App::Perlbrew::Path
->new($ENV{PERLBREW_ROOT})
->rmpath;

## mock

no warnings 'redefine';
Expand Down
6 changes: 0 additions & 6 deletions t/12.sitecustomize.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ $ENV{PERLBREW_ROOT} = $App::perlbrew::PERLBREW_ROOT;

use Test::More;

## setup

App::Perlbrew::Path
->new ($ENV{PERLBREW_ROOT})
->rmpath;

## mock

no warnings 'redefine';
Expand Down

0 comments on commit ba06b6c

Please sign in to comment.