]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/40-threads.t
This is 0.39
[perl/modules/indirect.git] / t / 40-threads.t
index 3f2fe250dd9bd88e4253720d83096263c10513c4..f7d87bc061cbd792c7973e59aa855920980f89f0 100644 (file)
@@ -1,10 +1,10 @@
-#!perl -T
+#!perl
 
 use strict;
 use warnings;
 
 use lib 't/lib';
-use indirect::TestThreads;
+use VPIT::TestHelpers threads => [ 'indirect' => 'indirect::I_THREADSAFE()' ];
 
 use Test::Leaner;
 
@@ -62,4 +62,4 @@ $_->join for @threads;
 
 pass 'done';
 
-done_testing(scalar(@threads) * 2 * (2 + 3) + 1);
+done_testing;