X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-Singleton.git;a=blobdiff_plain;f=t%2Fwarnings_once.t;fp=t%2Fwarnings_once.t;h=6152226a8de6413bdca021b4e05c97fce1fe489f;hp=696cbe57f47487614b470f7888f381831480dcde;hb=8769c3ba7bcf327946b54be2a4c25dd7f7cba6c9;hpb=00fb2bf8d29ac3721793ff07fa0bc7816ae623ff diff --git a/t/warnings_once.t b/t/warnings_once.t index 696cbe5..6152226 100644 --- a/t/warnings_once.t +++ b/t/warnings_once.t @@ -1,6 +1,11 @@ # test script for: https://rt.cpan.org/Ticket/Display.html?id=46086 +use strict; +use warnings; + use Test::More qw(no_plan); -use Test::NoWarnings; +use Test::Requires { + 'Test::NoWarnings' => 0.01 +}; BEGIN { package OnlyUsedOnce;