fix spelling of integer
[gitmo/MooseX-Types.git] / t / lib / TestLibrary2.pm
CommitLineData
ca9d7442 1package TestLibrary2;
2
3use MooseX::Types
4 -declare => [qw( MTFNPY NonEmptyStr )];
5use MooseX::Types::Moose 'Str';
6
7subtype MTFNPY,
8 as Str,
9 where { length $_ },
10 message { 'MTFNPY must not be empty' };
11
12subtype NonEmptyStr,
13 as Str,
14 where { length $_ },
15 message { 'Str must not be empty' };
16
171;