Skip to content

Commit

Permalink
Changed a test for Mouse.
Browse files Browse the repository at this point in the history
DOES means does() or isa().
  • Loading branch information
hiratara committed Oct 29, 2010
1 parent dd923a0 commit 7eb24bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/trait.t
Expand Up @@ -20,7 +20,8 @@ our ($built, $demolished) = (0, 0);

my $bus = AnyMQ->new_with_traits( traits => ['Test']);

ok($bus->DOES('AnyMQ::Trait::Test'));
# Mouse hasn't supported UNIVERSAL::DOES yet
ok($bus->does('AnyMQ::Trait::Test') || $bus->isa('AnyMQ::Trait::Test'));

ok($built);
undef $bus;
Expand Down

0 comments on commit 7eb24bd

Please sign in to comment.