X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Upper.git;a=blobdiff_plain;f=t%2F09-load-threads.t;h=89cf8d3acf2522b3a2c29367b5c0e561d5e0d274;hp=3bd92f9b667bdfcfdc070669cb44d6f48e321a82;hb=142a069ea963bd4da61bfe27c6a9b745ee3f6456;hpb=7f24c0f5e913f78df408f9c70f6559d42a116c90 diff --git a/t/09-load-threads.t b/t/09-load-threads.t index 3bd92f9..89cf8d3 100644 --- a/t/09-load-threads.t +++ b/t/09-load-threads.t @@ -57,7 +57,7 @@ BEGIN { my $could_not_create_thread = 'Could not create thread'; -use Test::Leaner tests => 1 + (2 + 2 * 2) + 6 + (1 + 2 * 4); +use Test::Leaner tests => 1 + (2 + 2 * 2) + 6 + (2 * 4) + 2; sub is_loaded { my ($affirmative, $desc) = @_; @@ -252,3 +252,6 @@ SKIP: { } is_loaded 0, 'main body, after simultaneous threads'; + +do_load; +is_loaded 1, 'main body, loaded at end';