From: Dave Rolsky Date: Fri, 29 Oct 2010 21:30:57 +0000 (-0500) Subject: Fix test description X-Git-Tag: 1.18~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=65594cb42f7a2c12646212d1c419ac37bad32b6e;p=gitmo%2FMoose.git Fix test description --- diff --git a/t/070_native_traits/050_trait_hash.t b/t/070_native_traits/050_trait_hash.t index 77bd39a..107b851 100644 --- a/t/070_native_traits/050_trait_hash.t +++ b/t/070_native_traits/050_trait_hash.t @@ -178,9 +178,13 @@ sub run_tests { $obj->option_accessor( size => 42 ); - like( exception { - $obj->option_accessor; - }, qr/Cannot call accessor without at least 1 argument/, '... options added okay with defaults' ); + like( + exception { + $obj->option_accessor; + }, + qr/Cannot call accessor without at least 1 argument/, + 'error when calling accessor with no arguments' + ); is_deeply( $obj->options, { quantity => 4, size => 42 },