X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=blobdiff_plain;f=t%2F10-join.t;h=df54d311efea7d741d5bad066ee9536bc2f32f40;hp=b3f92c2a6c552469ae0d8b8021408f1b3e5b4aca;hb=4dd588d5239c5f5f562d59c0377f29a1075bbe6f;hpb=4c809697b9f79c6f752911f19642becfdff2dd87 diff --git a/t/10-join.t b/t/10-join.t index b3f92c2..df54d31 100644 --- a/t/10-join.t +++ b/t/10-join.t @@ -20,6 +20,9 @@ use Test::More tests => 5 * (2 + 2) + 1; use Thread::Cleanup; +diag "Using threads $threads::VERSION"; +diag "Using threads::shared $threads::shared::VERSION"; + my %called : shared; my %nums : shared; @@ -70,9 +73,6 @@ my @t = map { $thr; } 0 .. 4; -diag "Using threads $threads::VERSION"; -diag "Using threads::shared $threads::shared::VERSION"; - $_->join for @t; is $x, -1, '$x in the main thread';