Cross Reference: plan.t
xref
: /
osnet-11
/
usr
/
src
/
cmd
/
perl
/
5.8.4
/
distrib
/
lib
/
Test
/
Simple
/
t
/
plan.t
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
#!/
usr
/
bin
/
perl
-w
BEGIN
{
if
(
$ENV
{
PERL_CORE
} )
{
chdir
't'
;
@
INC
=
'../lib'
;
}
}
use
Test
::
More
;
plan
tests
=>
4
;
eval
{
plan
tests
=>
4
};
like
( $@,
'/^You tried to plan twice!/'
,
'disallow double plan'
)
;
eval
{
plan
'no_plan'
};
like
( $@,
'/^You tried to plan twice!/'
,
'disallow chaning plan'
)
;
pass
(
'Just testing plan()'
)
;
pass
(
'Testing it some more'
)
;