);
}
-my $bar;
TODO: {
- $bar = Bar->new(array => [ qw( a b c ) ]);
+ my $bar = Bar->new( array => [qw( a b c )] );
todo_skip 'coercion in push dies here!', 1;
$bar->push_array('d');
- is($bar->get_array(3)->thing, 'd', 'push coerces the array');
-
+ is( $bar->get_array(3)->thing, 'd', 'push coerces the array' );
}
done_testing;