]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/40-threads.t
Update VPIT::TestHelpers to 3edc6d15
[perl/modules/Variable-Magic.git] / t / 40-threads.t
index 1a3d5ab888324d9336138b6cc56190ce56c25f51..6e77c2fd24b27d5285c59265ec1b0f1b4daaa20d 100644 (file)
@@ -1,18 +1,20 @@
-#!perl -T
+#!perl
 
 use strict;
 use warnings;
 
-use lib 't/lib';
-use Variable::Magic::TestThreads;
-
-use Test::More 'no_plan';
-
 use Variable::Magic qw<
  wizard cast dispell getdata
  VMG_OP_INFO_NAME VMG_OP_INFO_OBJECT
 >;
 
+use lib 't/lib';
+use VPIT::TestHelpers (
+ threads => [ 'Variable::Magic' => 'Variable::Magic::VMG_THREADSAFE()' ],
+);
+
+use Test::Leaner 'no_plan';
+
 my $destroyed : shared = 0;
 
 sub try {