projects
/
gitmo/MooseX-Types-Common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add (author-only) warning tests
[gitmo/MooseX-Types-Common.git]
/
t
/
03-idiot.t
diff --git
a/t/03-idiot.t
b/t/03-idiot.t
index
c51c609
..
9d270c7
100644
(file)
--- a/
t/03-idiot.t
+++ b/
t/03-idiot.t
@@
-1,7
+1,7
@@
use strict;
use warnings FATAL => 'all';
-use Test::More tests => 2;
+use Test::More;
use Test::Warnings ':no_end_test', ':all';
use Test::Deep;
@@
-22,3
+22,5
@@
cmp_deeply(
'Warning mentions bad type',
);
+had_no_warnings if $ENV{AUTHOR_TESTING};
+done_testing;