X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F11-detach.t;h=a91d1394dd73a504750d6d6273e8d5df903306af;hb=3b18f02197b39a66ea8779d68d1c90d790cf8031;hp=620af76a3fdf01a32d51a5b6d8d1ecf391648386;hpb=4dd588d5239c5f5f562d59c0377f29a1075bbe6f;p=perl%2Fmodules%2FThread-Cleanup.git diff --git a/t/11-detach.t b/t/11-detach.t index 620af76..a91d139 100644 --- a/t/11-detach.t +++ b/t/11-detach.t @@ -18,10 +18,12 @@ use threads::shared; use Test::More tests => 5 * (2 + 2 + 1) + 1; -use Thread::Cleanup; +BEGIN { + defined and diag "Using threads $_" for $threads::VERSION; + defined and diag "Using threads::shared $_" for $threads::shared::VERSION; +} -diag "Using threads $threads::VERSION"; -diag "Using threads::shared $threads::shared::VERSION"; +use Thread::Cleanup; my %called : shared; my %nums : shared;