X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstrictures.t;fp=t%2Fstrictures.t;h=b721a66cd89129b8ba55791fb82471fbd079fcb3;hb=d50343b962ecab99ec40a0cfe99bb4ce9e510958;hp=8312e718585a7659b9131352fd7537700a71810f;hpb=7c7063c9bce905f3146305267492ce4b49a73c76;p=p5sagit%2Fstrictures.git diff --git a/t/strictures.t b/t/strictures.t index 8312e71..b721a66 100644 --- a/t/strictures.t +++ b/t/strictures.t @@ -35,7 +35,8 @@ sub test_hints { BEGIN { warnings->import('all'); warnings->import(FATAL => @strictures::WARNING_CATEGORIES); - warnings->import(NONFATAL => @strictures::V2_NONFATAL); + warnings->unimport(FATAL => @strictures::V2_NONFATAL); + warnings->import(@strictures::V2_NONFATAL); warnings->unimport(@strictures::V2_DISABLE); } BEGIN { capture_hints }