]> git.vpit.fr Git - perl/modules/Lexical-Types.git/blobdiff - t/30-threads.t
Correct failing tests locations
[perl/modules/Lexical-Types.git] / t / 30-threads.t
index 3f46124d0792b71fca8f3d3512ffe63fe125ba53..aa42d69f98c19ef1daa793b6fdfb3048a148956b 100644 (file)
@@ -34,6 +34,7 @@ BEGIN {
   my $tid = threads->tid();
   my ($file, $line) = (caller(0))[1, 2];
   my $where = "at $file line $line in thread $tid";
+  local $Test::Builder::Level = $Test::Builder::Level + 1;
   Test::More::is($_[0], __PACKAGE__, "base type is correct $where");
   Test::More::is($_[2], 'Tag', "original type is correct $where");
   $_[1] = $tid;