Skip to content
This repository
tag: 2.10
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (18 sloc) 0.4 kb
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( [
    [ 'elem-unknown' => qr/unknown element <donky>/i ],
    [ 'elem-unclosed' => qr/<donky> at \(\d+:\d+\) is never closed/i ],
], [<DATA>] );
    
__DATA__
<HTML>
    <HEAD>
<TITLE>Test stuff</TITLE>
    </HEAD>
    <BODY BGCOLOR="white">
<NOBR>NOBR is fine with me!</NOBR>
<DONKY>
<NOBR>But Donky is not</NOBR>
    </BODY>
</HTML>
Something went wrong with that request. Please try again.