X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=blobdiff_plain;f=t%2F10-join.t;h=0a4ea4de61b8c4bda0267b87382825f38e75727c;hp=df54d311efea7d741d5bad066ee9536bc2f32f40;hb=ba8793aed63c1cd66942055b1c2d934bd1c28a9d;hpb=4326713dbe5e0da04adad5a5f421fcfcad34eb41 diff --git a/t/10-join.t b/t/10-join.t index df54d31..0a4ea4d 100644 --- a/t/10-join.t +++ b/t/10-join.t @@ -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;