File: 30_tap_harness_compat.t

package info (click to toggle)
libtap-formatter-html-perl 0.13%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 460 kB
  • sloc: perl: 754; javascript: 80; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 306 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use strict;
use warnings;

use lib 'lib';
use lib 't/lib';

use Test::More 'no_plan';

use TAP::Harness;
use TAP::Formatter::HTML;

# RT #82738: required TAP::Harness formatter method not available...
eval {
    TAP::Formatter::HTML->new->color(1);
};
my $e = $@;
ok(!$e, 'no error on color') || diag($e);