X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Nary.git;a=blobdiff_plain;f=t%2F23-branch.t;h=914b975cfa319bf4541b960f32320b66a63f3863;hp=cfc87c2f1b575eda0752b70bc29aa2dacd939680;hb=2d8aec84852aa584b41d7cfce42088fec7ca8582;hpb=ffe40b718c29e7f7a3ced4c719302736c573d710 diff --git a/t/23-branch.t b/t/23-branch.t index cfc87c2..914b975 100644 --- a/t/23-branch.t +++ b/t/23-branch.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 15; +use Test::More tests => 16; use Sub::Nary; @@ -60,7 +60,8 @@ my @tests = ( [ \&retinif, { 2 => 1 } ], - [ sub { <*.*> }, { list => 1 / 3, 1 => 2 / 3 } ], + [ sub { <*.*> }, { list => 1 / 3, 1 => 2 / 3 } ], + [ sub { stat $0 }, { 0 => 0.5, 13 => 0.5 } ], ); my $i = 1;