File: lib_Path_IsDev_Role_Matcher_Child_BaseName_MatchRegexp_pm.t

package info (click to toggle)
libpath-isdev-perl 1.001003-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 728 kB
  • sloc: perl: 958; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This test was generated for <lib/Path/IsDev/Role/Matcher/Child/BaseName/MatchRegexp.pm>
# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.004000
# with template 02-raw-require.t.tpl
my $file = "Path/IsDev/Role/Matcher/Child/BaseName/MatchRegexp.pm";
my $err;
{
  local $@;
  eval { require $file; 1 } or $err = $@;
};

if( not defined $err ) {
  print "1..1\nok 1 - require ${file}\n";
  exit 0;
}
print "1..1\nnot ok 1 - require ${file}\n";
print STDERR "# ${_}\n" for split /\n/, $err;
exit 1;