From: Dave Rolsky Date: Sun, 14 Sep 2008 21:20:23 +0000 (+0000) Subject: superclasses expects an array, not a reference. X-Git-Tag: 0.58~34^2~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=635b9d7ebf4f2f46d7b87c40c2cc697c7037f6a3;p=gitmo%2FMoose.git superclasses expects an array, not a reference. --- diff --git a/t/060_compat/003_foreign_inheritence.t b/t/060_compat/003_foreign_inheritence.t index 323b97e..d0acaa1 100644 --- a/t/060_compat/003_foreign_inheritence.t +++ b/t/060_compat/003_foreign_inheritence.t @@ -80,6 +80,6 @@ lives_ok { } 'Immutability on Moose class extending Class::MOP class ok'; lives_ok { - SubClass2->meta->superclasses([ 'MyBase' ]); + SubClass2->meta->superclasses('MyBase'); } 'Can subclass the same non-Moose class twice with different metaclasses';