]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - t/41-threads-teardown.t
Port threads tests to the new VPIT::TestHelpers interface
[perl/modules/indirect.git] / t / 41-threads-teardown.t
index 6c4814c0057da6a6987f3c16c2ff34c3f1ca4c8f..a4a005f6370a62bf9791dcf5bb2ed5ab131f34d9 100644 (file)
@@ -3,9 +3,12 @@
 use strict;
 use warnings;
 
+BEGIN { require indirect; }
+
 use lib 't/lib';
-use VPIT::TestHelpers;
-use indirect::TestThreads;
+use VPIT::TestHelpers (
+ threads => [ 'indirect' => indirect::I_THREADSAFE ],
+);
 
 use Test::Leaner tests => 3;