'alias' and 'excludes' in with() are deprecated
[gitmo/Mouse.git] / t / 001_mouse / 807-multi-roles.t
index 671e7d5..4d0a3b0 100644 (file)
@@ -26,7 +26,7 @@ use Test::More tests => 3;
     package MyApp;
     use Mouse;
     with ('Requires', 'Method');
-    with ('Method2' => { alias => { bar => 'baz' } });
+    with ('Method2' => { -alias => { bar => 'baz' } });
 }
 
 my $m = MyApp->new;