X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=blobdiff_plain;f=t%2F11-detach.t;h=620af76a3fdf01a32d51a5b6d8d1ecf391648386;hp=32339aed251d7deef0323c1441d54627d7130146;hb=4dd588d5239c5f5f562d59c0377f29a1075bbe6f;hpb=4c809697b9f79c6f752911f19642becfdff2dd87 diff --git a/t/11-detach.t b/t/11-detach.t index 32339ae..620af76 100644 --- a/t/11-detach.t +++ b/t/11-detach.t @@ -20,6 +20,9 @@ use Test::More tests => 5 * (2 + 2 + 1) + 1; use Thread::Cleanup; +diag "Using threads $threads::VERSION"; +diag "Using threads::shared $threads::shared::VERSION"; + my %called : shared; my %nums : shared; @@ -71,9 +74,6 @@ my @t = map { $thr; } 0 .. 4; -diag "Using threads $threads::VERSION"; -diag "Using threads::shared $threads::shared::VERSION"; - $_->detach for @t; sleep 2;