This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Test-Simple to Alpha 078
[perl5.git] / cpan / Test-Simple / t / Legacy / ribasushi_threads2.t
CommitLineData
518760d9
CG
1use strict;
2use warnings;
3
2e52a9b8 4use Test::CanThread qw/AUTHOR_TESTING/;
518760d9
CG
5use Test::More;
6
7{
8 my $todo = sub {
9 my $out;
10 ok(1);
11 42;
12 };
13
14 is(
15 threads->create($todo)->join,
16 42,
17 "Correct result after do-er",
18 );
19}
20
21done_testing;