X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTest-Leaner.git;a=blobdiff_plain;f=t%2F80-threads.t;h=8d872eef38b1ad21bbc134db52fe061b841b642e;hp=3b0a5959b5e06229ae5b667056e4f6b89112daf0;hb=653bd706f7c17c61e34d98e6fcaed75861b2f7d7;hpb=eb0bd56068ca67ea93f621ef38f59dec9bdbbcd8 diff --git a/t/80-threads.t b/t/80-threads.t index 3b0a595..8d872ee 100644 --- a/t/80-threads.t +++ b/t/80-threads.t @@ -3,6 +3,8 @@ use strict; use warnings; +BEGIN { delete $ENV{PERL_TEST_LEANER_USES_TEST_MORE} } + sub skipall { my ($msg) = @_; require Test::Leaner; @@ -39,7 +41,7 @@ sub worker { diag "spawned thread $tid"; tick; for (1 .. 10) { - pass "test $_ in thread $tid"; + cmp_ok 1, '==', '1.0', "test $_ in thread $tid"; tick; } }