X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F40-threads.t;h=b86a4b46ec89fd4201d45163ad857995a92088c1;hb=e5e39f5e8bec67b3a08f861da63c5eb4cafed09f;hp=e483b7f24f76405cd36b03359ffce4fe3d49320f;hpb=2b43040992d1105e0cb8e0aee5a5e9f3b6c58dd8;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/40-threads.t b/t/40-threads.t index e483b7f..b86a4b4 100644 --- a/t/40-threads.t +++ b/t/40-threads.t @@ -32,10 +32,8 @@ use Variable::Magic qw/wizard cast dispell getdata VMG_THREADSAFE VMG_OP_INFO_NA BEGIN { skipall 'This Variable::Magic isn\'t thread safe' unless VMG_THREADSAFE; plan tests => (4 * 18 + 1) + (4 * 13 + 1); - my $v = $threads::VERSION; - diag "Using threads $v" if defined $v; - $v = $threads::shared::VERSION; - diag "Using threads::shared $v" if defined $v; + defined and diag "Using threads $_" for $threads::VERSION; + defined and diag "Using threads::shared $_" for $threads::shared::VERSION; } my $destroyed : shared = 0;