]> git.vpit.fr Git - perl/modules/Thread-Cleanup.git/blobdiff - t/10-join.t
Move the module version diagnostics higher in t/1*
[perl/modules/Thread-Cleanup.git] / t / 10-join.t
index b3f92c2a6c552469ae0d8b8021408f1b3e5b4aca..df54d311efea7d741d5bad066ee9536bc2f32f40 100644 (file)
@@ -20,6 +20,9 @@ use Test::More tests => 5 * (2 + 2) + 1;
 
 use Thread::Cleanup;
 
+diag "Using threads $threads::VERSION";
+diag "Using threads::shared $threads::shared::VERSION";
+
 my %called : shared;
 my %nums   : shared;
 
@@ -70,9 +73,6 @@ my @t = map {
  $thr;
 } 0 .. 4;
 
-diag "Using threads $threads::VERSION";
-diag "Using threads::shared $threads::shared::VERSION";
-
 $_->join for @t;
 
 is $x, -1, '$x in the main thread';