File: lib_Dist_Zilla_Role_Bootstrap_pm.t

package info (click to toggle)
libdist-zilla-role-bootstrap-perl 1.001004-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 332 kB
  • sloc: perl: 295; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 506 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/Dist/Zilla/Role/Bootstrap.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 = "Dist/Zilla/Role/Bootstrap.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;