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