Newer Test::More lazy-loads more stuff (overload.pm in this case)
Peter Rabbitson [Mon, 20 Oct 2014 13:23:25 +0000 (15:23 +0200)]
Make the 'undefer' dummy test do more work

(cherry pick of 77cc50d1)

xt/optional_deps.t

index 781273c..efb7edf 100644 (file)
@@ -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.