my $import = sub {
shift;
+
my @imports = &_handle_import_args;
@imports = @EXPORT unless @imports;
my @test_more_imports;
*{$pkg."::$_"} = $leaner_stash->{$_};
}
}
+
my $test_more_import = 'Test::More'->can('import');
+ return unless $test_more_import;
+
@_ = (
'Test::More',
@_,
lock $plan if THREADSAFE;
push @_, 'no_diag' if $no_diag;
}
+
goto $test_more_import;
};