From: Rafael Kitover Date: Tue, 9 Jun 2009 23:29:39 +0000 (-0700) Subject: removing last added test as it should not work by design X-Git-Tag: 0.82~18^2~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1a893e8db6d9f52018688a589c8c2b7dab92b7d3;p=gitmo%2FMoose.git removing last added test as it should not work by design --- diff --git a/t/100_bugs/027_compose_over_attribute.t b/t/100_bugs/027_compose_over_attribute.t deleted file mode 100644 index 215bd8f..0000000 --- a/t/100_bugs/027_compose_over_attribute.t +++ /dev/null @@ -1,31 +0,0 @@ -use strict; -use warnings; - -use Test::More tests => 2; -use Test::Exception; - -{ - package BaseRole; - use Moose::Role; - has foo => (is => 'ro'); -} - -TODO: { - local $TODO = '+attributes in roles that compose over other roles'; - - eval q{ - package ChildRole; - use Moose::Role; - with 'BaseRole'; - has '+foo' => (default => 'bar'); - - package AClass; - use Moose; - with 'ChildRole'; - }; - - ok( (not $@), '+attribute created in child role' ); - - is eval{ AClass->new->foo }, 'bar', - '+attribute in child role works correctly'; -}