projects
/
gitmo/Class-MOP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Convert all tests to done_testing.
[gitmo/Class-MOP.git]
/
t
/
314_class_is_pristine.t
diff --git
a/t/314_class_is_pristine.t
b/t/314_class_is_pristine.t
index
08e4b64
..
4ab95c0
100644
(file)
--- a/
t/314_class_is_pristine.t
+++ b/
t/314_class_is_pristine.t
@@
-2,8
+2,7
@@
use strict;
use warnings;
use Class::MOP;
-
-use Test::More tests => 3;
+use Test::More;
{
package Foo;
@@
-20,3
+19,5
@@
ok( $meta->is_pristine, 'Foo is still pristine after add_method' );
$meta->add_attribute( name => 'attr', reader => 'get_attr' );
ok( ! $meta->is_pristine, 'Foo is not pristine after add_attribute' );
+
+done_testing;