update foreign tests
[p5sagit/Function-Parameters.git] / t / foreign / Method-Signatures-Simple / RT80510.t
CommitLineData
1a52f2db 1#!perl
2use strict;
3use warnings FATAL => 'all';
4use Test::More tests => 2;
5
6use Function::Parameters;
7
8fun empty ($x) {}
9
10is scalar empty(1), undef, "empty func returns nothing (scalar context)";
11is_deeply [empty(1,2)], [], "empty func returns nothing (list context)";
12
13__END__