Revert autogenerated tests. Tests should not changed radically.
[gitmo/Mouse.git] / t / 020_attributes / 026_attribute_without_any_methods.t
index 36a6a19..0acf3c0 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;
-
+BEGIN{ $ENV{MOUSE_VERBOSE} = 1 }
 use strict;
 use warnings;
 
-use Test::More;
+use Test::More tests => 2;
 
 use Mouse ();
 use Mouse::Meta::Class;
@@ -23,5 +20,3 @@ like $warn, qr/Attribute \(foo\) of class Banana has no associated methods/,
 $warn = '';
 $meta->add_attribute('bar', is => 'bare');
 is $warn, '', 'add attribute with no methods and is => "bare"';
-
-done_testing;