X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F10-join.t;h=b957f25138986e93d806e60cfad3c3d87d258a20;hb=86915a65eed5d806e6c48b8b8fda1d3c4d990987;hp=df54d311efea7d741d5bad066ee9536bc2f32f40;hpb=4dd588d5239c5f5f562d59c0377f29a1075bbe6f;p=perl%2Fmodules%2FThread-Cleanup.git diff --git a/t/10-join.t b/t/10-join.t index df54d31..b957f25 100644 --- a/t/10-join.t +++ b/t/10-join.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Config qw/%Config/; +use Config qw<%Config>; BEGIN { if (!$Config{useithreads}) { @@ -18,10 +18,12 @@ use threads::shared; use Test::More tests => 5 * (2 + 2) + 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;