X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=blobdiff_plain;f=t%2F11-detach.t;h=a91d1394dd73a504750d6d6273e8d5df903306af;hp=620af76a3fdf01a32d51a5b6d8d1ecf391648386;hb=ba8793aed63c1cd66942055b1c2d934bd1c28a9d;hpb=4326713dbe5e0da04adad5a5f421fcfcad34eb41 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;