Debian Codegraph @

t/02_pp.t

raw symbols SCIP
1 use strict;
2 use warnings;
3 use utf8;
4 use Test::More;
5 BEGIN {
6 $ENV{PERL_ONLY} = 1;
7 }
8 use HTML::Escape;
9
10 ok(!HTML::Escape::USE_XS);
11 is(escape_html("<^o^>"), '&lt;^o^&gt;');
12 is(escape_html("'"), "&#39;");
13 is(escape_html("\0>"), "\0&gt;");
14 is(escape_html("`"), "&#96;");
15 is(escape_html("{}"), "&#123;&#125;");
16
17 done_testing;
18