projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix test warning
[gitmo/Moose.git]
/
t
/
020_attributes
/
006_attribute_required.t
diff --git
a/t/020_attributes/006_attribute_required.t
b/t/020_attributes/006_attribute_required.t
index
4f65021
..
5df07cc
100644
(file)
--- a/
t/020_attributes/006_attribute_required.t
+++ b/
t/020_attributes/006_attribute_required.t
@@
-3,12
+3,9
@@
use strict;
use warnings;
-use Test::More tests => 16;
+use Test::More;
use Test::Exception;
-BEGIN {
- use_ok('Moose');
-}
{
package Foo;
@@
-68,3
+65,4
@@
throws_ok {
Foo->new;
} qr/^Attribute \(bar\) is required/, '... must supply all the required attribute';
+done_testing;