From: Vincent Pit Date: Mon, 4 Aug 2008 22:23:23 +0000 (+0200) Subject: Add a test in t/23-branch.t for the glob strange case X-Git-Tag: v0.02~15 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Nary.git;a=commitdiff_plain;h=fb7bf9d912eada90e9d1c7f8da68ae8e76f63111 Add a test in t/23-branch.t for the glob strange case --- diff --git a/t/23-branch.t b/t/23-branch.t index f806089..cfc87c2 100644 --- a/t/23-branch.t +++ b/t/23-branch.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 14; +use Test::More tests => 15; use Sub::Nary; @@ -59,6 +59,8 @@ my @tests = ( [ \&ret1234, { map { $_ => 0.25 } 1 .. 4 } ], [ \&retinif, { 2 => 1 } ], + + [ sub { <*.*> }, { list => 1 / 3, 1 => 2 / 3 } ], ); my $i = 1;