X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Nary.git;a=blobdiff_plain;f=t%2F21-list.t;h=9adca6aff7a54db2fbeb63836c0ceb31a5b37dae;hp=c260cd3edffe652400efb0c59a68bb4476b94c7b;hb=6faf4b78a5c4fdcf2f3d42e3decceb4968ba0347;hpb=fb7bf9d912eada90e9d1c7f8da68ae8e76f63111 diff --git a/t/21-list.t b/t/21-list.t index c260cd3..9adca6a 100644 --- a/t/21-list.t +++ b/t/21-list.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More tests => 34; +use Test::More tests => 35; use Sub::Nary; @@ -58,6 +58,8 @@ my @tests = ( [ sub { eval { 1, do { eval { @a }, 2 } } }, 'list' ], [ sub { eval '1, 2' }, 'list' ], + + [ sub { <$x> }, 'list' ], ); my $i = 1;