File: 01_compile.t

package info (click to toggle)
libobject-tiny-perl 1.09-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 292 kB
  • sloc: perl: 379; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 248 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl

# Compile-testing for Object::Tiny

use strict;
BEGIN {
	$|  = 1;
	$^W = 1;
}

use Test::More tests => 3;

ok( $] >= 5.004, 'Perl version is 5.004 or newer' );

require_ok( 'Object::Tiny' );

my $bad = 0;
is( $bad, 0, '$bad ok' );