File: lib_Dist_Zilla_Util_Test_KENTNL_dztest_pm.t

package info (click to toggle)
libdist-zilla-util-test-kentnl-perl 1.005014-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 340 kB
  • sloc: perl: 595; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 524 bytes parent folder | download | duplicates (3)
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/Util/Test/KENTNL/dztest.pm>
# using by Dist::Zilla::Plugin::Test::Compile::PerFile ( @Author::KENTNL/Test::Compile::PerFile ) version 0.003902
# with template 02-raw-require.t.tpl
my $file = "Dist/Zilla/Util/Test/KENTNL/dztest.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;