From: Dave Rolsky Date: Thu, 21 Oct 2010 19:59:48 +0000 (-0500) Subject: Tidy code a bit X-Git-Tag: 1.18~76 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d916fe15fd19cd782f5c57045420be2d7a9564f;p=gitmo%2FMoose.git Tidy code a bit --- diff --git a/t/070_native_traits/013_array_coerce.t b/t/070_native_traits/013_array_coerce.t index 8cdd3f7..71fc3fd 100644 --- a/t/070_native_traits/013_array_coerce.t +++ b/t/070_native_traits/013_array_coerce.t @@ -141,16 +141,14 @@ my $foo = Foo->new; ); } -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;