File: Dump.t

package info (click to toggle)
libcgi-pm-perl 4.68-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,028 kB
  • sloc: perl: 6,082; 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()');