]> Dogcows Code - chaz/p5-CGI-Ex/blobdiff - t/9_jsondump_00_base.t
CGI::Ex 2.06
[chaz/p5-CGI-Ex] / t / 9_jsondump_00_base.t
index a124a4f60d1e3d5ec0a3a14f56f9cf037e7f52ca..29f6482f6ce98864f937aaf30e6ed33c38a06964 100644 (file)
@@ -7,7 +7,7 @@
 =cut
 
 use strict;
-use Test::More tests => 49;
+use Test::More tests => 52;
 
 use_ok('CGI::Ex::JSONDump');
 
@@ -89,6 +89,9 @@ test_dump('<script>', '"<scrip"+"t>"');
 test_dump('<script>', "'<scrip'+'t>'", {single_quote => 1});
 test_dump('<html>', '"<htm"+"l>"');
 test_dump('<!--', '"<!-"+"-"');
+test_dump('-->', '"--"+">"');
+test_dump('---', '"---"');
+test_dump('--', '"--"');
 test_dump('"', '"\\""');
 test_dump('a', "'a'", {single_quote => 1});
 test_dump('"', "'\"'", {single_quote => 1});
This page took 0.019625 seconds and 4 git commands to generate.