Current Path : /proc/2470164/root/usr/share/doc/perl-Test-Simple/t/Test2/acceptance/ |
Current File : //proc/2470164/root/usr/share/doc/perl-Test-Simple/t/Test2/acceptance/try_it_no_plan.t |
use strict; use warnings; use Test2::API qw/context/; sub plan { my $ctx = context(); $ctx->plan(@_); $ctx->release; } sub ok($;$) { my ($bool, $name) = @_; my $ctx = context(); $ctx->ok($bool, $name); $ctx->release; } plan(0, 'no_plan'); ok(1, "First"); ok(1, "Second"); 1;