Index: trunk/phase3/tests/phpunit/includes/json/ServicesJsonTest.php |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | array( '♥ü', 'unicode string test' ), |
65 | 65 | array( array( 'some', 'string', 'values' ), 'basic array of strings' ), |
66 | 66 | array( array( 'key1' => 'val1', 'key2' => 'val2' ), 'array with string keys' ), |
67 | | - array( array( 1 => 'val1', 3 => 'val2', '2' => 'val3' ), 'out of order numbered array test' ), |
| 67 | + array( array( 1 => 'val1', 3 => 'val2', '2' => 'val3' ), 'out of order numbered array test' ), |
68 | 68 | array( array(), 'empty array test' ), |
69 | 69 | array( $obj, 'basic object test' ), |
70 | 70 | array( new stdClass, 'empty object test' ), |
— | — | @@ -73,21 +73,21 @@ |
74 | 74 | |
75 | 75 | function provideValuesToDecode() { |
76 | 76 | return array( |
77 | | - array( '1', 'basic integer' ), |
78 | | - array( '-1', 'negative integer' ), |
79 | | - array( '1.1', 'basic float' ), |
80 | | - array( '1.1e1', 'scientific float' ), |
81 | | - array( 'true', 'basic bool true' ), |
82 | | - array( 'false', 'basic bool false' ), |
83 | | - array( '"some string"', 'basic string test' ), |
84 | | - array( '"some string\nwith newline"', 'newline string test' ), |
85 | | - array( '"♥ü"', 'unicode character string test' ), |
86 | | - array( '"\u2665"', 'unicode \\u string test' ), |
87 | | - array( '["some","string","values"]', 'basic array of strings' ), |
88 | | - array( '[]', 'empty array test' ), |
| 77 | + array( '1', 'basic integer' ), |
| 78 | + array( '-1', 'negative integer' ), |
| 79 | + array( '1.1', 'basic float' ), |
| 80 | + array( '1.1e1', 'scientific float' ), |
| 81 | + array( 'true', 'basic bool true' ), |
| 82 | + array( 'false', 'basic bool false' ), |
| 83 | + array( '"some string"', 'basic string test' ), |
| 84 | + array( '"some string\nwith newline"', 'newline string test' ), |
| 85 | + array( '"♥ü"', 'unicode character string test' ), |
| 86 | + array( '"\u2665"', 'unicode \\u string test' ), |
| 87 | + array( '["some","string","values"]', 'basic array of strings' ), |
| 88 | + array( '[]', 'empty array test' ), |
89 | 89 | array( '{"key":"value"}', 'Basic key => value test' ), |
90 | 90 | array( '{}', 'empty object test' ), |
91 | | - array( 'null', 'null test' ), |
| 91 | + array( 'null', 'null test' ), |
92 | 92 | ); |
93 | 93 | } |
94 | 94 | } |