summaryrefslogtreecommitdiff
path: root/lib/Class/Struct.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Class/Struct.t')
-rw-r--r--lib/Class/Struct.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Class/Struct.t b/lib/Class/Struct.t
index ffb5094d8c..694d622d4d 100644
--- a/lib/Class/Struct.t
+++ b/lib/Class/Struct.t
@@ -66,7 +66,7 @@ isa_ok $obj->c, 'aClass';
is $obj->c->meth(), 42;
-my $obj = MyOther->new;
+$obj = MyOther->new;
isa_ok $obj, 'MyOther';
$obj->s('foo');