X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F41-clone.t;h=d66d098465245d13105f17fe85f3fedbf5fc5dda;hb=e5e39f5e8bec67b3a08f861da63c5eb4cafed09f;hp=eb1e8c23196e7ca243ac5637ed10b9c6b9b1b301;hpb=2b43040992d1105e0cb8e0aee5a5e9f3b6c58dd8;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/t/41-clone.t b/t/41-clone.t index eb1e8c2..d66d098 100644 --- a/t/41-clone.t +++ b/t/41-clone.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 => 2 * 3 + 2 * (2 * 10 + 2) + 2 * (2 * 7 + 2); - 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;