File: 07_optional.t

package info (click to toggle)
libtest-tcp-perl 2.00-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 204 kB
  • sloc: perl: 233; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use Test::More tests => 2;

ok( 1, 'One' );

SKIP: {
    eval { require Test::SharedFork };

    skip 'Test::SharedFork needed for tests', 1 if $@;

    ok( 2, 'Two' );
}

1;