blob: ee760f17172991a37276cc6459b8d4e21b0ba4ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/perl -w
# $Id: has_plan2.t,v 1.1 2009/05/16 21:42:57 simon Exp $
BEGIN {
if( $ENV{PERL_CORE} ) {
chdir 't';
@INC = '../lib';
}
}
use Test::More;
BEGIN {
if( !$ENV{HARNESS_ACTIVE} && $ENV{PERL_CORE} ) {
plan skip_all => "Won't work with t/TEST";
}
}
use strict;
use Test::Builder;
plan 'no_plan';
is(Test::Builder->new->has_plan, 'no_plan', 'has no_plan');
|