blob: be9942a043ed6f5d60fda4c135e9bc1fb30885f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!perl
use strict;
use lib 't/lib';
use Test::More tests => 2;
use App::Prove;
{
local $ENV{HARNESS_TIMER} = 0;
my $prv = App::Prove->new;
ok !$prv->timer, 'timer set via HARNESS_TIMER';
}
{
local $ENV{HARNESS_TIMER} = 1;
my $prv = App::Prove->new;
ok $prv->timer, 'timer set via HARNESS_TIMER';
}
|