com php-src: Fix invalid test for bug 54484: ext/json/tests/bug54484.phpt
| From: | Jakub Zelenka | Date: | Mon, 02 Feb 2015 20:53:27 +0000 |
| Subject: | com php-src: Fix invalid test for bug 54484: ext/json/tests/bug54484.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84705@lists.php.net to get a copy of this message | ||
Commit: c3cd2d33ca89a6b2188e29cfbb1451818fd60024
Author: Jakub Zelenka <bukka@php.net> Mon, 2 Feb 2015 20:53:27 +0000
Parents: fdc14c64be4ccccd56a8f01339f908f2570b40ef
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c3cd2d33ca89a6b2188e29cfbb1451818fd60024
Log:
Fix invalid test for bug 54484
Bugs:
https://bugs.php.net/54484
Changed paths:
M ext/json/tests/bug54484.phpt
Diff:
diff --git a/ext/json/tests/bug54484.phpt b/ext/json/tests/bug54484.phpt
index e56d8bd..897c655 100644
--- a/ext/json/tests/bug54484.phpt
+++ b/ext/json/tests/bug54484.phpt
@@ -15,7 +15,7 @@ json_decode("invalid json");
var_dump(json_last_error());
-json_decode("\001 invalid json");
+json_decode("\"\001 invalid json\"");
var_dump(json_last_error());