File: use_ok

package info (click to toggle)
libtest-inter-perl 1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 352 kB
  • sloc: perl: 1,776; sh: 22; makefile: 6
file content (21 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl

use strict;
use warnings;

our($o);

BEGIN {
  print "The first test will fail, all others will be skipped.\n\n";
  use Test::Inter;
  $o = new Test::Inter;
}

BEGIN { $o->use_ok('Xxx::Yyy'); }

$o->ok();
$o->ok( 1 == 1 );
$o->ok( 1 == 2 );

$o->done_testing();