use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More 0.88;
sub class { $_[0]->(); }
sub handle_class {
- my ($pack, $use, $name, $proto, $is_block) = @_;
+ my ($usepack, $use, $inpack, $name, $proto, $is_block) = @_;
return (sub (&) { shift; }, undef, "package ${name};");
}
is($packname, 'Foo::Bar', 'Package saved ok');
is(__PACKAGE__, 'main', 'Package scoped correctly');
+
+done_testing;