projects
/
gitmo/Package-DeprecationManager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
37bcd4f
)
Use Test::Requires instead of hard dep on Test::Warn
Dave Rolsky [Thu, 14 Oct 2010 19:15:40 +0000 (14:15 -0500)]
dist.ini
patch
|
blob
|
blame
|
history
t/basic.t
patch
|
blob
|
blame
|
history
diff --git
a/dist.ini
b/dist.ini
index
fc06028
..
e10fcca
100644
(file)
--- a/
dist.ini
+++ b/
dist.ini
@@
-36,6
+36,5
@@
Sub::Install = 0
[Prereqs / TestRequires]
Test::Exception = 0
Test::More = 0.88
-Test::Warn = 0
[@Git]
diff --git
a/t/basic.t
b/t/basic.t
index
6eb35d5
..
9538d92
100644
(file)
--- a/
t/basic.t
+++ b/
t/basic.t
@@
-3,7
+3,10
@@
use warnings;
use Test::Exception;
use Test::More;
-use Test::Warn;
+
+use Test::Requires {
+ 'Test::Warn' => '0.21',
+};
{
throws_ok {