document Moo versus Any::Moose in brief with article link
[gitmo/Moo.git] / xt / more-jenga.t
CommitLineData
8ee5b111 1use strict;
2use warnings;
3use Test::More;
4
5use FindBin qw/ $Bin /;
6use lib "$Bin/lib";
7
8{
9 package ExampleRole;
10 use Moo::Role;
11
12 requires 'foo';
13
14 with qw/
15 ExampleMooseRoleOne
16 ExampleMooseRoleTwo
17 /;
18}
19
20{
21 package ExampleClass;
22 use Moose;
23
24 with 'ExampleRole';
25
26 sub foo {}
27}
28
29ok 1;
30
31done_testing;
32