]> git.vpit.fr Git - perl/modules/Sub-Nary.git/blobdiff - t/23-branch.t
keys/values return a 'list', each return zero or two scalars
[perl/modules/Sub-Nary.git] / t / 23-branch.t
index 914b975cfa319bf4541b960f32320b66a63f3863..72451e40e80c45ecdff391facdcce0902df62e73 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 16;
+use Test::More tests => 17;
 
 use Sub::Nary;
 
@@ -60,8 +60,10 @@ my @tests = (
 
  [ \&retinif, { 2 => 1 } ],
 
- [ sub { <*.*> },   { list => 1 / 3, 1 => 2 / 3 } ],
+ [ sub { each %h }, { 0 => 0.5, 2 => 0.5 } ],
  [ sub { stat $0 }, { 0 => 0.5, 13 => 0.5 } ],
+
+ [ sub { <*.*> }, { list => 1 / 3, 1 => 2 / 3 } ],
 );
 
 my $i = 1;