]> git.vpit.fr Git - perl/modules/Sub-Nary.git/blobdiff - t/20-return.t
readline/<> should be seen as returning a list
[perl/modules/Sub-Nary.git] / t / 20-return.t
index 3d16d45ec24c8eff0190203e4fc39fe7607c0abc..fc85334a5a10ff85040ce3a4be3a3507e10de642 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 48;
+use Test::More tests => 49;
 
 use Sub::Nary;
 
@@ -70,6 +70,8 @@ my @tests = (
  [ sub { return eval { do { eval { @a } } } },      'list' ],
 
  [ sub { eval 'return 1, 2' }, 'list' ],
+
+ [ sub { return <$x> }, 'list' ],
 );
 
 my $i = 1;