projects
/
gitmo/Mouse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Reorganize t/100_bugs/
[gitmo/Mouse.git]
/
t
/
100_bugs
/
016_inheriting_from_roles.t
1
#!/usr/bin/perl
2
# This is automatically generated by author/import-moose-test.pl.
3
# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
4
use t::lib::MooseCompat;
5
6
use strict;
7
use warnings;
8
9
use Test::More;
10
use Test::Exception;
11
12
13
{
14
package My::Role;
15
use Mouse::Role;
16
}
17
{
18
package My::Class;
19
use Mouse;
20
21
::throws_ok {
22
extends 'My::Role';
23
} qr/You cannot inherit from a Mouse Role \(My\:\:Role\)/,
24
'... this croaks correctly';
25
}
26
27
done_testing;