projects
/
gitmo/MooseX-ClassAttribute.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a3ced88
)
switch all tests to done_testing
Dave Rolsky [Wed, 20 Jan 2010 21:51:23 +0000 (15:51 -0600)]
t/03-introspection.t
patch
|
blob
|
blame
|
history
t/04-with-native-traits.t
patch
|
blob
|
blame
|
history
t/lib/SharedTests.pm
patch
|
blob
|
blame
|
history
diff --git
a/t/03-introspection.t
b/t/03-introspection.t
index
8c340d3
..
3c3ac02
100644
(file)
--- a/
t/03-introspection.t
+++ b/
t/03-introspection.t
@@
-3,7
+3,7
@@
use warnings;
use lib 't/lib';
-use Test::More tests => 14;
+use Test::More;
# We just want the class definitions in here.
use SharedTests;
@@
-103,3
+103,5
@@
ok(
!Child->meta()->has_class_attribute_value('YetAnotherAttribute'),
'Child does not have a class attribute value for YetAnotherAttribute'
);
+
+done_testing();
diff --git
a/t/04-with-native-traits.t
b/t/04-with-native-traits.t
index
169cd95
..
9984e25
100644
(file)
--- a/
t/04-with-native-traits.t
+++ b/
t/04-with-native-traits.t
@@
-1,7
+1,7
@@
use strict;
use warnings;
-use Test::More tests => 2;
+use Test::More;
{
package MyClass;
@@
-21,3
+21,5
@@
is( MyClass->counter(), 0 );
MyClass->inc_counter();
is( MyClass->counter(), 1 );
+
+done_testing();
diff --git
a/t/lib/SharedTests.pm
b/t/lib/SharedTests.pm
index
3c83bee
..
efedc60
100644
(file)
--- a/
t/lib/SharedTests.pm
+++ b/
t/lib/SharedTests.pm
@@
-160,8
+160,6
@@
use Test::More;
}
sub run_tests {
- plan tests => 30;
-
local $Test::Builder::Level = $Test::Builder::Level + 1;
{
@@
-342,6
+340,8
@@
sub run_tests {
'trigger passes old value correctly'
);
}
+
+ done_testing();
}
1;