projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
20a2c95
)
Skip all inflation tests if DateTime is not available
Andy Grundman [Thu, 4 Aug 2005 16:51:46 +0000 (16:51 +0000)]
t/08inflate.t
patch
|
blob
|
blame
|
history
t/08inflate_has_a.t
patch
|
blob
|
blame
|
history
diff --git
a/t/08inflate.t
b/t/08inflate.t
index
41ba14c
..
4a98949
100644
(file)
--- a/
t/08inflate.t
+++ b/
t/08inflate.t
@@
-1,5
+1,7
@@
use Test::More;
-use DateTime;
+
+eval { require DateTime };
+plan skip_all => "Need DateTime for inflation tests" if $@;
plan tests => 4;
diff --git
a/t/08inflate_has_a.t
b/t/08inflate_has_a.t
index
eaeddf3
..
6f59161
100644
(file)
--- a/
t/08inflate_has_a.t
+++ b/
t/08inflate_has_a.t
@@
-1,5
+1,7
@@
use Test::More;
-use DateTime;
+
+eval { require DateTime };
+plan skip_all => "Need DateTime for inflation tests" if $@;
plan tests => 7;