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-Tag: v0.082810~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2108ffbf830f7d79fcca5ddd44cb8d434c16d74b;hp=00d605256e12a025c93f42ff19c2ab3351869e09;p=dbsrgits%2FDBIx-Class.git Newer Test::More lazy-loads more stuff (overload.pm in this case) Make the 'undefer' dummy test do more work (cherry pick of 77cc50d1) --- 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.