Permalink
Browse files

Drop AttributeShortcuts from t/*

...or we may run into chicken-vs-egg issues with that package.
  • Loading branch information...
1 parent e506628 commit 72167690c69125fc477fc6419a2186c41ca14f91 @RsrchBoy committed Aug 27, 2012
Showing with 10 additions and 8 deletions.
  1. +5 −4 t/validate_class.t
  2. +5 −4 t/validate_role.t
View
9 t/validate_class.t
@@ -9,7 +9,6 @@ use warnings;
{
package TestClass;
use Moose;
- use MooseX::AttributeShortcuts;
with 'TestRole';
@@ -21,9 +20,11 @@ use warnings;
has bar => (
- traits => ['Array'],
- isa => 'ArrayRef',
- is => 'lazy',
+ traits => ['Array'],
+ isa => 'ArrayRef',
+ is => 'ro',
+ lazy => 1,
+ builder => '_build_bar',
handles => {
View
9 t/validate_role.t
@@ -9,7 +9,6 @@ use warnings;
{
package TestRole;
use Moose::Role;
- use MooseX::AttributeShortcuts;
with 'TestRole::One';
@@ -23,9 +22,11 @@ use warnings;
has bar => (
- traits => ['Array'],
- isa => 'ArrayRef',
- is => 'lazy',
+ traits => ['Array'],
+ isa => 'ArrayRef',
+ is => 'ro',
+ lazy => 1,
+ builder => '_build_bar',
handles => {

0 comments on commit 7216769

Please sign in to comment.