From: Peter Rabbitson Date: Mon, 20 Oct 2014 13:23:25 +0000 (+0200) Subject: Newer Test::More lazy-loads more stuff (overload.pm in this case) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=77cc50d1cb9aeb587aaf4523eaabb969dbb108a8 Newer Test::More lazy-loads more stuff (overload.pm in this case) Make the 'undefer' dummy test do more work --- diff --git a/xt/optional_deps.t b/xt/optional_deps.t index 781273c..efb7edf 100644 --- a/xt/optional_deps.t +++ b/xt/optional_deps.t @@ -9,7 +9,7 @@ use Scalar::Util; # load before we break require() use Carp (); # Carp is not used in the test, but we want to have it loaded for proper %INC comparison # a dummy test which lazy-loads more modules (so we can compare INC below) -ok (1); +is_deeply([], []); # record contents of %INC - makes sure there are no extra deps slipping into # Opt::Dep.