diff options
Diffstat (limited to 't/Dump.t')
-rw-r--r-- | t/Dump.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/Dump.t b/t/Dump.t new file mode 100644 index 0000000..fafb5b2 --- /dev/null +++ b/t/Dump.t @@ -0,0 +1,5 @@ +use Test::More 'no_plan'; +use CGI; +my $cgi = CGI->new('<a>=<b>'); +like($cgi->Dump, qr/\Q<a>/, 'param names are HTML escaped by Dump()'); +like($cgi->Dump, qr/\Q<b>/, 'param values are HTML escaped by Dump()'); |