projects
/
gitmo/Moose.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
keep the same return value init_meta had previously
[gitmo/Moose.git]
/
t
/
bugs
/
inheriting_from_roles.t
1
#!/usr/bin/perl
2
3
use strict;
4
use warnings;
5
6
use Test::More;
7
use Test::Fatal;
8
9
10
{
11
package My::Role;
12
use Moose::Role;
13
}
14
{
15
package My::Class;
16
use Moose;
17
18
::like( ::exception {
19
extends 'My::Role';
20
}, qr/You cannot inherit from a Moose Role \(My\:\:Role\)/, '... this croaks correctly' );
21
}
22
23
done_testing;