File: typemap.t

package info (click to toggle)
libmoosex-types-loadableclass-perl 0.012-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 240 kB
  • ctags: 4
  • sloc: perl: 232; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 336 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;

use Test::More;
use Moose::Util::TypeConstraints;

# LoadableClass and ClassName should be exactly the same thing for
# type mappers to get it right when you're switching from one to another.

use MooseX::Types::LoadableClass qw/LoadableClass ClassName/;

ok ClassName->equals(LoadableClass);

done_testing;