Mini Shell

Direktori : /usr/share/doc/perl-Test-Simple/t/Legacy/Builder/
Upload File :
Current File : //usr/share/doc/perl-Test-Simple/t/Legacy/Builder/has_plan2.t

#!/usr/bin/perl -w

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');

Zerion Mini Shell 1.0