]> git.vpit.fr Git - perl/modules/Thread-Cleanup.git/blobdiff - t/11-detach.t
Move the module version diagnostics higher in t/1*
[perl/modules/Thread-Cleanup.git] / t / 11-detach.t
index 32339aed251d7deef0323c1441d54627d7130146..620af76a3fdf01a32d51a5b6d8d1ecf391648386 100644 (file)
@@ -20,6 +20,9 @@ use Test::More tests => 5 * (2 + 2 + 1) + 1;
 
 use Thread::Cleanup;
 
+diag "Using threads $threads::VERSION";
+diag "Using threads::shared $threads::shared::VERSION";
+
 my %called : shared;
 my %nums   : shared;
 
@@ -71,9 +74,6 @@ my @t = map {
  $thr;
 } 0 .. 4;
 
-diag "Using threads $threads::VERSION";
-diag "Using threads::shared $threads::shared::VERSION";
-
 $_->detach for @t;
 
 sleep 2;