|
@@ -22,9 +22,9 @@ class JsonFormatterTest extends \PHPUnit_Framework_TestCase
|
|
*/
|
|
*/
|
|
public function testUnicodeWithPrependedSlash()
|
|
public function testUnicodeWithPrependedSlash()
|
|
{
|
|
{
|
|
- if (!extension_loaded('mbstring')) {
|
|
|
|
- $this->markTestSkipped('Test requires the mbstring extension');
|
|
|
|
- }
|
|
|
|
|
|
+ if (!extension_loaded('mbstring')) {
|
|
|
|
+ $this->markTestSkipped('Test requires the mbstring extension');
|
|
|
|
+ }
|
|
|
|
|
|
$data = '"' . chr(92) . chr(92) . chr(92) . 'u0119"';
|
|
$data = '"' . chr(92) . chr(92) . chr(92) . 'u0119"';
|
|
$encodedData = JsonFormatter::format($data, true, true);
|
|
$encodedData = JsonFormatter::format($data, true, true);
|