]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/40-threads.t
Port thread tests to the new VPIT::TestHelpers interface
[perl/modules/Variable-Magic.git] / t / 40-threads.t
index 1a3d5ab888324d9336138b6cc56190ce56c25f51..7f55f22fc43cea8ee85dcf3301ae06a3b6a14290 100644 (file)
@@ -3,16 +3,18 @@
 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 {