]> git.vpit.fr Git - perl/modules/Sub-Nary.git/commitdiff
Add a test in t/23-branch.t for the glob strange case
authorVincent Pit <vince@profvince.com>
Mon, 4 Aug 2008 22:23:23 +0000 (00:23 +0200)
committerVincent Pit <vince@profvince.com>
Mon, 4 Aug 2008 22:23:23 +0000 (00:23 +0200)
t/23-branch.t

index f806089a649ded05b90ba99687fa37822f5d3056..cfc87c2f1b575eda0752b70bc29aa2dacd939680 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
 use strict;
 use warnings;
 
-use Test::More tests => 14;
+use Test::More tests => 15;
 
 use Sub::Nary;
 
 
 use Sub::Nary;
 
@@ -59,6 +59,8 @@ my @tests = (
  [ \&ret1234, { map { $_ => 0.25 } 1 .. 4 } ],
 
  [ \&retinif, { 2 => 1 } ],
  [ \&ret1234, { map { $_ => 0.25 } 1 .. 4 } ],
 
  [ \&retinif, { 2 => 1 } ],
+
+ [ sub { <*.*> }, { list => 1 / 3, 1 => 2 / 3 } ],
 );
 
 my $i = 1;
 );
 
 my $i = 1;