update foreign tests
[p5sagit/Function-Parameters.git] / t / foreign / Method-Signatures / into.t
CommitLineData
1a52f2db 1#!perl
2use strict;
3use warnings FATAL => 'all';
4
5# Importing always affects the currently compiling scope.
6
7package Foo;
8
9use Test::More 'no_plan';
10
11BEGIN {
12 package Bar;
13 require Function::Parameters;
14 Function::Parameters->import;
15}
16
17is( Foo->foo(42), 42 );
18
19method foo ($arg) {
20 return $arg;
21}