Skip to content

Commit

Permalink
this changed in moose a while back
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Apr 2, 2011
1 parent a3f89f2 commit 920a098
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lib/MooseX/POE/Meta/Trait/Object.pm
Expand Up @@ -27,7 +27,7 @@ sub new {
);
$self->{session_id} = $session->ID;

$self->BUILDALL($params);
$self->BUILDALL($params) if Moose->VERSION < 1.05;
return $self;
}

Expand Down
10 changes: 2 additions & 8 deletions t/14_bug_double_build.t
Expand Up @@ -21,19 +21,13 @@ my $cnt_start = 0;

Test::MooseX::POE::DoubleBuild->new;

TODO: {
local $TODO = 'fix this';
is($cnt, 1, 'BUILD called once');
}
is($cnt, 1, 'BUILD called once');

is($cnt_start, 0, 'START not called');

POE::Kernel->run;

TODO: {
local $TODO = 'will be fixed with the other';
is($cnt, 1, 'BUILD still called once');
}
is($cnt, 1, 'BUILD still called once');

is($cnt_start, 1, 'START called once');

Expand Down

0 comments on commit 920a098

Please sign in to comment.