From: Ed J Date: Sun, 28 Jan 2018 01:46:09 +0000 (+0000) Subject: add release test for optdep pod newer than pm X-Git-Tag: v0.07048_01~3^2~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=53e77a88be70297e48629843fce11d82244d8b71;hp=0ce7386a4658f2e74345f312bed17cf780063605;p=dbsrgits%2FDBIx-Class-Schema-Loader.git add release test for optdep pod newer than pm --- diff --git a/xt/optdep-pod.t b/xt/optdep-pod.t index f94afb1..ea329da 100644 --- a/xt/optdep-pod.t +++ b/xt/optdep-pod.t @@ -4,5 +4,10 @@ use strict; use Test::More; ok -f 'lib/DBIx/Class/Schema/Loader/Optional/Dependencies.pod', 'optdep pod present'; +cmp_ok + -M 'lib/DBIx/Class/Schema/Loader/Optional/Dependencies.pod' || 2 ** 15, + '<', + -M 'lib/DBIx/Class/Schema/Loader/Optional/Dependencies.pm', + 'optdep pod newer than pm'; done_testing;