projects
/
gitmo/Moo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
make role application interface consistent
[gitmo/Moo.git]
/
t
/
role-tiny.t
diff --git
a/t/role-tiny.t
b/t/role-tiny.t
index
b3ee22f
..
254e62b
100644
(file)
--- a/
t/role-tiny.t
+++ b/
t/role-tiny.t
@@
-51,7
+51,7
@@
BEGIN {
sub try_apply_to {
my $to = shift;
- exception { Role::Tiny->apply_role_to_package('MyRole', $to) }
+ exception { Role::Tiny->apply_role_to_package($to, 'MyRole') }
}
is(try_apply_to('MyClass'), undef, 'role applies cleanly');