]> git.vpit.fr Git - perl/modules/Test-Leaner.git/blobdiff - t/lib/Test/Leaner/TestImport.pm
Replace some code from t/03-fallback.t by Test::Leaner::TestImport
[perl/modules/Test-Leaner.git] / t / lib / Test / Leaner / TestImport.pm
index fd70030394b47bfe11eb9a96ca02b19529e81502..0c556818793da7db446f44a70a9e06b37b8e7b81 100644 (file)
@@ -51,6 +51,8 @@ my @default_exports = qw<
  BAIL_OUT
 >;
 
+sub default_exports { @default_exports }
+
 sub check_imports {
  my %imported     = map { $_ => 1 } @{ $_[0] || [] };
  my @not_imported = @{ $_[1] || [] };
@@ -185,7 +187,12 @@ sub test_import_arg {
  }
 }
 
-our @EXPORT = qw<
+our @EXPORT_OK = qw<
+ get_subroutine
+ has_module_version
+ has_test_more_version
+ has_exporter_version
+ default_exports
  test_import_arg
 >;