summaryrefslogtreecommitdiff
path: root/t/release-pp-is-loaded.t
blob: 1736cedafc19f4414f2441e9ed8d93b8c4f9d5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

BEGIN {
  unless ($ENV{RELEASE_TESTING}) {
    require Test::More;
    Test::More::plan(skip_all => 'these tests are for release candidate testing');
  }
}

use strict;
use warnings;

use Test::More;

BEGIN {
    $ENV{PV_TEST_PERL}                  = 1;
    $ENV{PV_WARN_FAILED_IMPLEMENTATION} = 1;
}

use Module::Implementation 0.04 ();
use Params::Validate;

is(
    Module::Implementation::implementation_for('Params::Validate'),
    'PP',
    'PP implementation is loaded when env var is set'
);

done_testing();