File: 06-skip-all.t

package info (click to toggle)
libtest-warnings-perl 0.016-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 352 kB
  • ctags: 8
  • sloc: perl: 339; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 209 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
use strict;
use warnings FATAL => 'all';

use Test::More;
use Test::Warnings ':all';

eval 'use Foo::Bar::Baz';
plan skip_all => 'Need Foo::Bar::Baz to continue!' if $@;

fail('we should not ever get here');