This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
overhaul dist/B-Deparse/t/core.t
authorDavid Mitchell <davem@iabyn.com>
Wed, 10 Oct 2012 11:28:38 +0000 (12:28 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 10 Oct 2012 15:39:21 +0000 (16:39 +0100)
commitd8e99b9768201060c8fa1d6458d88c8b7081f491
treedeed3d95b20e613f42bfb9134c6325a7827d0d83
parentbc1cc2c34ba3dffdb265b796a76b2a144983b053
overhaul dist/B-Deparse/t/core.t

Originally, this test file just checked that CORE::foo got correctly
deparsed as CORE::foo, hence the name. This commit expands it
to fully test both CORE:: verses none, plus that any arguments
are correctly deparsed. It tests many more keywords, and it also
cross-checks against regen/keywords.pl to make sure we've tested all
keywords, and with the correct strength.

(There is very little of the original file left.)
dist/B-Deparse/t/core.t