File: lib_Test_File_ShareDir_Object_Dist_pm.t

package info (click to toggle)
libtest-file-sharedir-perl 1.001002-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 496 kB
  • ctags: 58
  • sloc: perl: 603; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 516 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/Test/File/ShareDir/Object/Dist.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 = "Test/File/ShareDir/Object/Dist.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;