Revert autogenerated tests. Tests should not changed radically.
[gitmo/Mouse.git] / t / 010_basics / 017_error_handling.t
index 0b6cb88..fee2964 100644 (file)
@@ -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;