new release with updated M::I
[gitmo/MooseX-Types.git] / t / 18_combined_libs.t
CommitLineData
ca9d7442 1#!/usr/bin/env perl
2use strict;
3use warnings;
4use FindBin;
5use lib "$FindBin::Bin/lib";
6
7use Test::More tests => 4;
8
9BEGIN { use_ok 'Combined', qw/Foo2Alias MTFNPY NonEmptyStr/ }
10
11# test that a type from TestLibrary was exported
12ok Foo2Alias;
13
14# test that a type from TestLibrary2 was exported
15ok MTFNPY;
16
17is NonEmptyStr->name, 'TestLibrary2::NonEmptyStr',
18 'precedence for conflicting types is correct';