File: 30-test-builder.t

package info (click to toggle)
libhtml-lint-perl 2.06%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 256 kB
  • ctags: 86
  • sloc: perl: 795; sh: 23; makefile: 19
file content (13 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!perl -Tw

use warnings;
use strict;

# The test is not that html_ok() works, but that the tests=>1 gets
# acts as it should.

use Test::HTML::Lint tests=>1;

my $chunk = "<P>This is a fine chunk of code</P>";

html_ok( $chunk );