2023-02-22T15:32 2023-02-22T15:32 ok 1 - warnings->import succeeds after importing "warnings" sub ok 2 - no warnings worked as expected ok 3 - correct warnings were enabled after warnings->import 1..3 PASS: t/22-warnings-bareword 1..6 ok 1 - Test 'with :report_warnings enabled, had_no_warnings() tells about warnings that we may not have seen before' result count ok 2 - subtest 'no (unexpected) warnings' of 'with :report_warnings enabled, had_no_warnings() tells about warnings that we may not have seen before' compare ok ok 3 - subtest 'no (unexpected) warnings' of 'with :report_warnings enabled, had_no_warnings() tells about warnings that we may not have seen before' compare actual_ok ok 4 - subtest 'no (unexpected) warnings' of 'with :report_warnings enabled, had_no_warnings() tells about warnings that we may not have seen before' compare name ok 5 - checking depth ok 6 - subtest 'no (unexpected) warnings' of 'with :report_warnings enabled, had_no_warnings() tells about warnings that we may not have seen before' compare diag # suppressed STDERR:this is a warning 1 2 3 at t/23-report-warnings.t line 17. PASS: t/23-report-warnings ok 1 - test the appearance of a normal warning ok 2 - warning has origin properly added when it was lacking 1..2 PASS: t/12-no-newline 1..6 # suppressed STDERR:here is a warning at t/21-fail-on-warning.t line 25. ok 1 - Test 'failed immediately when we had a warning' result count ok 2 - subtest 'unexpected warning' of 'failed immediately when we had a warning' compare ok ok 3 - subtest 'unexpected warning' of 'failed immediately when we had a warning' compare actual_ok ok 4 - subtest 'unexpected warning' of 'failed immediately when we had a warning' compare type ok 5 - subtest 'unexpected warning' of 'failed immediately when we had a warning' compare name ok 6 - subtest 'unexpected warning' of 'failed immediately when we had a warning' compare diag PASS: t/21-fail-on-warning 1..2 ok 1 # skip no conflicts module found to check against ok 2 # skip This information-only test requires CPAN::Meta::Check 0.011 ok 1 # skip no conflicts module found to check against ok 2 # skip This information-only test requires CPAN::Meta::Check 0.011 SKIP: t/zzz-check-breaks ok 1 - non-existent sub in warning handler does not result in an exception ok 2 # skip PadWalker required for this test 1..2 # suppressed STDERR:this warning is not expected to be caught at (eval 1) line 14. ok 2 # skip PadWalker required for this test SKIP: t/20-propagate-stub # original warn handler captured a warning: hello this is a warning at (eval 1) line 18. ok 1 - got one warning propagated ok 2 - ..and it is the warning we just issued, with original location intact ok 3 # skip PadWalker required for this test 1..3 ok 3 # skip PadWalker required for this test SKIP: t/17-propagate-subname-colons 1..1 ok 1 - warning() was imported # suppressed STDERR:this warning is not expected to be caught at t/11-double-use.t line 15. PASS: t/11-double-use # original warn handler captured a warning: hello this is a warning at t/13-propagate-warnings.t line 16. ok 1 - got one warning propagated ok 2 - ..and it is the warning we just issued, with original location intact ok 3 # skip PadWalker required for this test 1..3 ok 3 # skip PadWalker required for this test SKIP: t/13-propagate-warnings ok 1 - warnings() successfully captured the warning ok 2 - warning() successfully the warning as a string ok 3 - warnings() successfully captured all warnings ok 4 - warning() successfully captured all warnings as a scalar ref # no warning here # nor here ok 5 - warnings() successfully captured all warnings (none!) # no warning here # nor here ok 6 - warning() successfully captured all warnings (none!) ok 7 - warning() reports zero warnings caught ok 8 - no (unexpected) warnings (via done_testing) 1..8 PASS: t/09-warnings-contents ok 1 - this is a passing test ok 2 - no (unexpected) warnings (via END block) ok 3 - two tests have been run (the pass, and our no-warnings-via-END test) 1..3 PASS: t/07-no_plan 1..19 ok 1 - warnings are now allowed # this warning will not cause a failure at t/01-basic.t line 27. ok 2 - warnings are not allowed again ok 3 - warnings are still not allowed # suppressed STDERR:this warning is not expected to be caught at t/01-basic.t line 32. ok 4 - Test 'all functionality ok, checking warnings via END block' result count ok 5 - subtest 'no (unexpected) warnings' of 'all functionality ok, checking warnings via END block' compare ok ok 6 - subtest 'no (unexpected) warnings' of 'all functionality ok, checking warnings via END block' compare actual_ok ok 7 - subtest 'no (unexpected) warnings' of 'all functionality ok, checking warnings via END block' compare type ok 8 - subtest 'no (unexpected) warnings' of 'all functionality ok, checking warnings via END block' compare name ok 9 - subtest 'no (unexpected) warnings' of 'all functionality ok, checking warnings via END block' compare diag ok 10 - subtest 'no warnings, with a custom name' of 'all functionality ok, checking warnings via END block' compare ok ok 11 - subtest 'no warnings, with a custom name' of 'all functionality ok, checking warnings via END block' compare actual_ok ok 12 - subtest 'no warnings, with a custom name' of 'all functionality ok, checking warnings via END block' compare type ok 13 - subtest 'no warnings, with a custom name' of 'all functionality ok, checking warnings via END block' compare name ok 14 - subtest 'no warnings, with a custom name' of 'all functionality ok, checking warnings via END block' compare diag ok 15 - subtest 'no (unexpected) warnings (via END block)' of 'all functionality ok, checking warnings via END block' compare ok ok 16 - subtest 'no (unexpected) warnings (via END block)' of 'all functionality ok, checking warnings via END block' compare actual_ok ok 17 - subtest 'no (unexpected) warnings (via END block)' of 'all functionality ok, checking warnings via END block' compare type ok 18 - subtest 'no (unexpected) warnings (via END block)' of 'all functionality ok, checking warnings via END block' compare name ok 19 - subtest 'no (unexpected) warnings (via END block)' of 'all functionality ok, checking warnings via END block' compare diag PASS: t/01-basic ok 1 - a passing test to keep done_testing happy 1..1 # suppressed STDERR:this warning is not expected to be caught at t/10-no-done_testing.t line 14. PASS: t/10-no-done_testing ok 1 - non-existent sub in warning handler does not result in an exception ok 2 # skip PadWalker required for this test 1..2 # suppressed STDERR:this warning is not expected to be caught at t/19-propagate-nonexistent-subname.t line 14. ok 2 # skip PadWalker required for this test SKIP: t/19-propagate-nonexistent-subname 1..1 # # Versions for all modules listed in static metadata (including optional ones): # # === Configure Requires === # # Module Want Have # ------------------- ---- ---- # ExtUtils::MakeMaker any 7.64 # # === Test Requires === # # Module Want Have # ------------------- ---- -------- # ExtUtils::MakeMaker any 7.64 # File::Spec any 3.84 # Test::More 0.94 1.302190 # if any 0.0610 # # === Test Recommends === # # Module Want Have # ---------- -------- -------- # CPAN::Meta 2.120900 2.150010 # # === Test Suggests === # # Module Want Have # ------------------------ ----- -------- # CPAN::Meta::Check 0.011 missing # CPAN::Meta::Requirements any 2.140 # PadWalker any missing # Test::Tester 0.108 1.302190 # # === Runtime Requires === # # Module Want Have # ------------- ---- -------- # Carp any 1.52 # Exporter any 5.77 # Test::Builder any 1.302190 # parent any 0.238 # strict any 1.12 # warnings any 1.58 # # === Other Modules === # # Module Have # --------------- ------- # Encode 3.17 # File::Temp 0.2311 # JSON::PP 4.07 # Module::Runtime missing # Sub::Name missing # YAML missing # autodie 2.34 # ok 1 - Reported prereqs PASS: t/00-report-prereqs ok 1 # skip PadWalker required for this test 1..1 # suppressed STDERR:this warning is not expected to be caught at t/16-propagate-ignore.t line 18. ok 1 # skip PadWalker required for this test SKIP: t/16-propagate-ignore ok 1 - passing test # Subtest: here is a subtest ok 1 - another passing test 1..1 ok 2 - here is a subtest ok 3 - had_no_warnings was not called via the subtest's done_testing ok 4 - no (unexpected) warnings (via done_testing) 1..4 PASS: t/03-subtest ok 1 - here is a passing test, to keep plan happy 1..1 # suppressed STDERR:this is not a fatal warning, because Test::Warnings is not loaded at t/08-use-if.t line 14. PASS: t/08-use-if 1..0 # SKIP Need Does::Not::Exist::595927164963545 to continue! 1..0 # SKIP Need Does::Not::Exist::595927164963545 to continue! SKIP: t/06-skip-all ok 1 - a passing test ok 2 - we have had one test so far ok 3 - no (unexpected) warnings (via done_testing) 1..3 # test count ok! PASS: t/02-done_testing 1..1 ok 1 - a passing test, to keep the harness happy # suppressed STDERR:this warning is not expected to be caught at t/05-no-end-block.t line 14. PASS: t/05-no-end-block # original warn handler captured a warning: hello this is a warning at t/14-propagate-subname.t line 18. ok 1 - got one warning propagated ok 2 - ..and it is the warning we just issued, with original location intact ok 3 # skip PadWalker required for this test 1..3 ok 3 # skip PadWalker required for this test SKIP: t/14-propagate-subname ok 1 # skip PadWalker required for this test 1..1 # suppressed STDERR:this warning is not expected to be caught at t/15-propagate-default.t line 18. ok 1 # skip PadWalker required for this test SKIP: t/15-propagate-default ok 1 - no tests run during END ok 2 - no (unexpected) warnings (via done_testing) 1..2 PASS: t/04-no-tests # original warn handler captured a warning: hello this is a warning at (eval 1) line 19. ok 1 - got one warning propagated ok 2 - ..and it is the warning we just issued, with original location intact ok 3 # skip PadWalker required for this test 1..3 ok 3 # skip PadWalker required for this test SKIP: t/18-propagate-subname-package DURATION: 1