update foreign tests
[p5sagit/Function-Parameters.git] / t / foreign / Method-Signatures-Simple / RT80508.t
CommitLineData
1a52f2db 1#!perl
2use strict;
3use warnings FATAL => 'all';
4use Test::More tests => 1;
5
6{
7 package My::Obj;
8 use Function::Parameters qw(:strict);
9
10 method with_space ( $this : $that ) {
11 return ($this, $that);
12 }
13}
14
15is_deeply [ My::Obj->with_space (1) ], [ 'My::Obj', 1 ], 'space between invocant name and colon should parse';
16
17__END__
18