Commit | Line | Data |
3890b670 |
1 | #!/usr/bin/perl -w |
2 | |
3 | use strict; |
4 | use warnings; |
5 | use MooseX::AutoDoc; |
6 | use FindBin '$Bin'; |
7 | use lib "$Bin/lib"; |
8 | use Test::More tests => 1; |
9 | |
10 | my $autodoc = MooseX::AutoDoc->new; |
a3e8bacb |
11 | my $spec = $autodoc->_package_info("AutoDocTest3"); |
3890b670 |
12 | |
13 | my $target = { |
14 | name => 'AutoDocTest3', |
15 | roles => [ { name => 'AutoDocTest::Role::Role1' } ], |
16 | superclasses => [{name => 'AutoDocTest2'}], |
17 | methods => [], |
18 | attributes => [], |
19 | }; |
20 | |
1c61aa9f |
21 | is_deeply($spec, $target); |