File: config-unknown-directive.t

package info (click to toggle)
libhtml-lint-perl 2.20%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 304 kB
  • ctags: 64
  • sloc: perl: 1,014; sh: 48; makefile: 20
file content (20 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use warnings;
use strict;
require 't/LintTest.pl';

checkit( [
    # [ 'config-unknown-directive' => q{Set #1 (6:5) Unknown directive "bongo"} ],
    [ 'config-unknown-directive' => qr/Unknown directive "bongo"$/ ],
], [<DATA>] );

__DATA__
<html>
    <head>
        <title>Test stuff</title>
    </head>
    <body bgcolor="white">
        <!-- html-lint bongo: on -->
        <!-- html-lint all: off -->
        <!-- html-lint elem-img-sizes-missing: off -->
    </body>
</html>