Add tests for renaming the fun keyword.
[p5sagit/Function-Parameters.git] / t / rename.t
CommitLineData
60682a8e 1use strict;
2use warnings;
3use Test::More;
4
5use Function::Parameters 'f';
6
7my $add = f ($x, $y) { $x + $y };
8
9is $add->(2, 4), 6;
10
11done_testing;