From 2a912b8c394dd46fa3ac86cb0b060aa8087f02e8 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Sun, 25 Sep 2011 02:09:42 +0000 Subject: [PATCH] Followup r96717; Fix whitespace. --- .../includes/json/ServicesJsonTest.php | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/phpunit/includes/json/ServicesJsonTest.php b/tests/phpunit/includes/json/ServicesJsonTest.php index e3c62b54d0..8f2421a288 100644 --- a/tests/phpunit/includes/json/ServicesJsonTest.php +++ b/tests/phpunit/includes/json/ServicesJsonTest.php @@ -63,7 +63,7 @@ class ServicesJsonTest extends MediaWikiTestCase { array( '♥ü', 'unicode string test' ), array( array( 'some', 'string', 'values' ), 'basic array of strings' ), array( array( 'key1' => 'val1', 'key2' => 'val2' ), 'array with string keys' ), - array( array( 1 => 'val1', 3 => 'val2', '2' => 'val3' ), 'out of order numbered array test' ), + array( array( 1 => 'val1', 3 => 'val2', '2' => 'val3' ), 'out of order numbered array test' ), array( array(), 'empty array test' ), array( $obj, 'basic object test' ), array( new stdClass, 'empty object test' ), @@ -73,21 +73,21 @@ class ServicesJsonTest extends MediaWikiTestCase { function provideValuesToDecode() { return array( - array( '1', 'basic integer' ), - array( '-1', 'negative integer' ), - array( '1.1', 'basic float' ), - array( '1.1e1', 'scientific float' ), - array( 'true', 'basic bool true' ), - array( 'false', 'basic bool false' ), - array( '"some string"', 'basic string test' ), - array( '"some string\nwith newline"', 'newline string test' ), - array( '"♥ü"', 'unicode character string test' ), - array( '"\u2665"', 'unicode \\u string test' ), - array( '["some","string","values"]', 'basic array of strings' ), - array( '[]', 'empty array test' ), + array( '1', 'basic integer' ), + array( '-1', 'negative integer' ), + array( '1.1', 'basic float' ), + array( '1.1e1', 'scientific float' ), + array( 'true', 'basic bool true' ), + array( 'false', 'basic bool false' ), + array( '"some string"', 'basic string test' ), + array( '"some string\nwith newline"', 'newline string test' ), + array( '"♥ü"', 'unicode character string test' ), + array( '"\u2665"', 'unicode \\u string test' ), + array( '["some","string","values"]', 'basic array of strings' ), + array( '[]', 'empty array test' ), array( '{"key":"value"}', 'Basic key => value test' ), array( '{}', 'empty object test' ), - array( 'null', 'null test' ), + array( 'null', 'null test' ), ); } } -- 2.20.1