ACIL FM
Dark
Refresh
Current DIR:
/usr/share/doc/perl-Test-Simple/t/Legacy/subtest
/
usr
share
doc
perl-Test-Simple
t
Legacy
subtest
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
args.t
620 B
chmod
View
DL
Edit
Rename
Delete
bail_out.t
1.25 MB
chmod
View
DL
Edit
Rename
Delete
basic.t
4.7 MB
chmod
View
DL
Edit
Rename
Delete
callback.t
1016 B
chmod
View
DL
Edit
Rename
Delete
die.t
535 B
chmod
View
DL
Edit
Rename
Delete
do.t
283 B
chmod
View
DL
Edit
Rename
Delete
events.t
376 B
chmod
View
DL
Edit
Rename
Delete
fork.t
1.2 MB
chmod
View
DL
Edit
Rename
Delete
for_do_t.test
112 B
chmod
View
DL
Edit
Rename
Delete
implicit_done.t
479 B
chmod
View
DL
Edit
Rename
Delete
line_numbers.t
3.77 MB
chmod
View
DL
Edit
Rename
Delete
plan.t
1.34 MB
chmod
View
DL
Edit
Rename
Delete
predicate.t
4.73 MB
chmod
View
DL
Edit
Rename
Delete
singleton.t
712 B
chmod
View
DL
Edit
Rename
Delete
threads.t
430 B
chmod
View
DL
Edit
Rename
Delete
todo.t
5.33 MB
chmod
View
DL
Edit
Rename
Delete
wstat.t
369 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/share/doc/perl-Test-Simple/t/Legacy/subtest/singleton.t
#!/usr/bin/perl -w BEGIN { if( $ENV{PERL_CORE} ) { chdir 't'; @INC = ( '../lib', 'lib' ); } else { unshift @INC, 't/lib'; } } use strict; use warnings; use Test::More tests => 3; { package Test::Singleton; use Test::Builder; my $TB = Test::Builder->new; sub singleton_ok ($;$) { my( $val, $name ) = @_; $TB->ok( $val, $name ); } } ok 1, 'TB top level'; subtest 'doing a subtest' => sub { plan tests => 4; ok 1, 'first test in subtest'; Test::Singleton::singleton_ok(1, 'this should not fail'); ok 1, 'second test in subtest'; Test::Singleton::singleton_ok(1, 'this should not fail'); }; ok 1, 'left subtest';
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply