Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: third_party/JSON/JSON-2.59/t/15_prefix.t

Issue 183763019: Remove third_party/JSON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/JSON/JSON-2.59/t/14_latin1.t ('k') | third_party/JSON/JSON-2.59/t/16_tied.t » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/JSON/JSON-2.59/t/15_prefix.t
diff --git a/third_party/JSON/JSON-2.59/t/15_prefix.t b/third_party/JSON/JSON-2.59/t/15_prefix.t
deleted file mode 100644
index 3071be277f8f6b4a0860c742a9be5da3e772cc53..0000000000000000000000000000000000000000
--- a/third_party/JSON/JSON-2.59/t/15_prefix.t
+++ /dev/null
@@ -1,16 +0,0 @@
-# copied over from JSON::XS and modified to use JSON
-
-BEGIN { $| = 1; print "1..4\n"; }
-BEGIN { $ENV{PERL_JSON_BACKEND} = "JSON::backportPP"; }
-
-use JSON;
-
-my $xs = JSON->new->allow_nonref;
-
-eval { $xs->decode ("[] ") };
-print $@ ? "not " : "", "ok 1\n";
-eval { $xs->decode ("[] x") };
-print $@ ? "" : "not ", "ok 2\n";
-print 2 == ($xs->decode_prefix ("[][]"))[1] ? "" : "not ", "ok 3\n";
-print 3 == ($xs->decode_prefix ("[1] t"))[1] ? "" : "not ", "ok 4\n";
-
« no previous file with comments | « third_party/JSON/JSON-2.59/t/14_latin1.t ('k') | third_party/JSON/JSON-2.59/t/16_tied.t » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698