Michael G Schwern listed:
[...]
> warnings::register (almost no docs)

There are no tests for warnings.pm either.

Note that there are two distinct points here :

1. test the warnings issued by the perl interpreter; this is done by
   lib/warnings.t, that calls the various files in t/lib/warnings/*.
   (Some warnings are also tested by other scripts in t/ : see the
   test descriptions in MANIFEST).

2. test the *modules* warnings.pm (i.e. the functions
   warnings::enabled(), warnings::warn(), etc.) and
   warnings/register.pm. There are currently no tests for that.

lib/warnings.t looks like it tests the 2d point, but in fact it tests
the first.

Probably the functionality implemented by lib/warnings.t should be
placed in some new script under t/. (And this test should also succeed
when doing 'make minitest'.) And lib/warnings.t should actually test
warnings.pm.

Reply via email to