File: Dump.t

package info (click to toggle)
libcgi-pm-perl 3.49-1squeeze2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,044 kB
  • ctags: 354
  • sloc: perl: 6,095; makefile: 9
file content (5 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (11)
1
2
3
4
5
use Test::More 'no_plan';
use CGI;
my $cgi = CGI->new('<a>=<b>');
like($cgi->Dump, qr/\Q&lt;a&gt;/, 'param names are HTML escaped by Dump()');
like($cgi->Dump, qr/\Q&lt;b&gt;/, 'param values are HTML escaped by Dump()');