X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F010_basics%2F017_error_handling.t;h=fee2964d3d92275ca723cc83ed5a78d2c6eaadb4;hb=9864f0e4ba233c5f30ad6dc7c484ced43d883d27;hp=0b6cb88ec3e30eaa4f8845dcfadcbc45e9930836;hpb=8845df4dd6432e3164d078ade741409061adae9f;p=gitmo%2FMouse.git diff --git a/t/010_basics/017_error_handling.t b/t/010_basics/017_error_handling.t index 0b6cb88..fee2964 100644 --- a/t/010_basics/017_error_handling.t +++ b/t/010_basics/017_error_handling.t @@ -1,12 +1,9 @@ #!/usr/bin/perl -# This is automatically generated by author/import-moose-test.pl. -# DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!! -use t::lib::MooseCompat; use strict; use warnings; -use Test::More; +use Test::More tests => 3; use Test::Exception; # This tests the error handling in Mouse::Object only @@ -23,5 +20,3 @@ throws_ok { Foo->new(undef) } qr/^\QSingle parameters to new() must be a HASH re throws_ok { Foo->does() } qr/^\QYou must supply a role name to does()/, 'Cannot call does() without a role name'; - -done_testing;