From: Dave Rolsky Date: Sun, 6 Jun 2010 15:06:39 +0000 (-0500) Subject: Remove commented-out code X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dc33ab7814ad4a566e08a37e57f7c509e3df9e74;p=gitmo%2FMoose.git Remove commented-out code --- diff --git a/t/070_native_traits/202_trait_array.t b/t/070_native_traits/202_trait_array.t index cd1c82e..e636719 100644 --- a/t/070_native_traits/202_trait_array.t +++ b/t/070_native_traits/202_trait_array.t @@ -190,16 +190,6 @@ is_deeply( is( $stuff->option_accessor( 1 => 'foo++' ), 'foo++' ); is( $stuff->option_accessor(1), 'foo++' ); -## check some errors - -#dies_ok { -# $stuff->insert_options(undef); -#} '... could not add an undef where a string is expected'; -# -#dies_ok { -# $stuff->set_option(5, {}); -#} '... could not add a hash ref where a string is expected'; - dies_ok { Stuff->new( options => [ undef, 10, undef, 20 ] ); }