This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert all Storable's tests to use Test::More.
authorNicholas Clark <nick@ccl4.org>
Fri, 10 Dec 2010 14:38:52 +0000 (14:38 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 10 Dec 2010 14:54:39 +0000 (14:54 +0000)
commitdddb60fcaabdeab9e89341f56cd3c6ad6ad3cd90
treeba6db0689ada30c9e59af0b93974f9dbe222a713
parente9c8e76089e57d605c17550161ab47509161a07d
Convert all Storable's tests to use Test::More.

Originally Storable didn't use any test modules, and had an ok subroutine in
t/st-dump.pl. Subsequently some tests were made conditional on Test::More
loading, and more recently the distribution started bundling Test::More, at
which point newer tests were written to use it. However, the older tests have
never been refactored to use it. Hence refactor tests to use Test::More, and
delete the now-unused test functions from t/st-dump.pl

Tested on blead and 5.004.
18 files changed:
dist/Storable/t/blessed.t
dist/Storable/t/canonical.t
dist/Storable/t/compat01.t
dist/Storable/t/compat06.t
dist/Storable/t/dclone.t
dist/Storable/t/forgive.t
dist/Storable/t/freeze.t
dist/Storable/t/lock.t
dist/Storable/t/overload.t
dist/Storable/t/recurse.t
dist/Storable/t/restrict.t
dist/Storable/t/retrieve.t
dist/Storable/t/sig_die.t
dist/Storable/t/st-dump.pl
dist/Storable/t/tied.t
dist/Storable/t/tied_hook.t
dist/Storable/t/tied_items.t
dist/Storable/t/utf8.t