Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.26
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
perl-Test-Simple /
t /
Legacy /
subtest /
Delete
Unzip
Name
Size
Permission
Date
Action
args.t
620
B
-rw-r--r--
2020-10-22 03:10
bail_out.t
1.25
KB
-rw-r--r--
2020-10-22 03:10
basic.t
4.7
KB
-rw-r--r--
2020-10-22 03:10
callback.t
1016
B
-rw-r--r--
2020-10-22 03:10
die.t
535
B
-rw-r--r--
2020-10-22 03:10
do.t
283
B
-rw-r--r--
2020-10-22 03:10
events.t
376
B
-rw-r--r--
2020-10-22 03:10
for_do_t.test
112
B
-rw-r--r--
2020-10-22 03:10
fork.t
1.2
KB
-rw-r--r--
2020-10-22 03:10
implicit_done.t
479
B
-rw-r--r--
2020-10-22 03:10
line_numbers.t
3.77
KB
-rw-r--r--
2020-10-22 03:10
plan.t
1.34
KB
-rw-r--r--
2020-10-22 03:10
predicate.t
4.73
KB
-rw-r--r--
2020-10-22 03:10
singleton.t
712
B
-rw-r--r--
2020-10-22 03:10
threads.t
430
B
-rw-r--r--
2020-10-22 03:10
todo.t
5.33
KB
-rw-r--r--
2020-10-22 03:10
wstat.t
369
B
-rw-r--r--
2020-10-22 03:10
Save
Rename
#!/usr/bin/perl -w use strict; use Test::Builder; BEGIN { if( $ENV{PERL_CORE} ) { chdir 't'; @INC = ( '../lib', 'lib' ); } else { unshift @INC, 't/lib'; } } use Test::Builder::NoOutput; my $tb = Test::Builder->new; $tb->ok( !eval { $tb->subtest() } ); $tb->like( $@, qr/^\Qsubtest()'s second argument must be a code ref/ ); $tb->ok( !eval { $tb->subtest("foo") } ); $tb->like( $@, qr/^\Qsubtest()'s second argument must be a code ref/ ); my $foo; $tb->subtest('Arg passing', sub { $foo = shift; $tb->ok(1); }, 'foo'); $tb->is_eq($foo, 'foo'); $tb->done_testing();