projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Mouse::Util::does_role() respects $thing->does() method
[gitmo/Mouse.git]
/
t
/
010_basics
/
015_buildargs.t
diff --git
a/t/010_basics/015_buildargs.t
b/t/010_basics/015_buildargs.t
index
4b9b1f3
..
47c074b
100644
(file)
--- a/
t/010_basics/015_buildargs.t
+++ b/
t/010_basics/015_buildargs.t
@@
-24,7
+24,7
@@
use Test::More tests => 14;
extends qw(Foo);
}
-foreach my $class qw(Foo Bar) {
+foreach my $class (qw(Foo Bar)) {
is( $class->new->bar, undef, "no args" );
is( $class->new( bar => 42 )->bar, 42, "normal args" );
is( $class->new( 37 )->bar, 37, "single arg" );