Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reorg test classes
  • Loading branch information
jberger committed Apr 1, 2012
1 parent ce6c8ef commit 73a1d65
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions t/basic.t
Expand Up @@ -13,6 +13,11 @@ use Test::More;
isa => 'Num',
is => 'rw'
);

package My::Class::Position;
use Moose;
extends 'My::Class';
has '+x' => (history_getter => 'position_history');
}

{
Expand All @@ -36,13 +41,6 @@ use Test::More;
is_deeply( $obj->x_history, [ 2, 3 ], "Initial value also exists in history" );
}

{
package My::Class::Position;
use Moose;
extends 'My::Class';
has '+x' => (history_getter => 'position_history');
}

{
my $obj = My::Class::Position->new;
isa_ok($obj, 'My::Class');
Expand Down

0 comments on commit 73a1d65

Please sign in to comment.