Codebase list libexporter-tiny-perl / cc07737
Compatibility with older Test::More Toby Inkster 1 year, 7 months ago
2 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
2424
2525 use strict;
2626 use warnings;
27 use Test::More;
27 use Test::More tests => 5;
2828
2929 BEGIN {
3030 package Local::Exporter;
7878 [],
7979 '-want !-want',
8080 ) or &$dump;
81
82 done_testing;
2424
2525 use strict;
2626 use warnings;
27 use Test::More;
27 use Test::More tests => 3;
2828
2929 BEGIN {
3030 package Local::Exporter;
4040 is_deeply( [ FLAVORS() ], [ qw( CHOCOLATE VANILLA ) ] );
4141 is_deeply( \@FLAVORS, [ qw( chocolate vanilla ) ] );
4242 is_deeply( \%FLAVORS, { qw( 1 chocolate 2 vanilla ) } );
43
44 done_testing;