@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public function __construct() |
32 | 32 | { |
33 | - foreach($this->fixtures as $name => $path) { |
|
33 | + foreach ($this->fixtures as $name => $path) { |
|
34 | 34 | $this->fixtures[$name] = MODULE_DIR . '/' . $path; |
35 | 35 | } |
36 | 36 | } |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | $field->setValue($this->getFixture('hash_deep')); |
242 | 242 | $field->setReturnType('array'); |
243 | 243 | |
244 | - $this->assertEquals(["fast" => ["Kawasaki" => "KR1S250"],"slow" => ["Honda" => "FS150"]], $field->query('#>', '{"bikes":"japanese"}')); |
|
244 | + $this->assertEquals(["fast" => ["Kawasaki" => "KR1S250"], "slow" => ["Honda" => "FS150"]], $field->query('#>', '{"bikes":"japanese"}')); |
|
245 | 245 | |
246 | 246 | $this->setExpectedException('\JSONText\Exceptions\JSONTextException'); |
247 | 247 | $field->query('#>', '{"bikes","japanese"}'); // Bad JSON |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | $field->setValue($this->getFixture('hash_dupes')); |
272 | 272 | $field->setReturnType('array'); |
273 | 273 | |
274 | - $this->assertEquals([["Subaru" => "Impreza"],["Kawasaki" => "KR1S250"]], $field->query('#>', '{"japanese":"fast"}')); |
|
274 | + $this->assertEquals([["Subaru" => "Impreza"], ["Kawasaki" => "KR1S250"]], $field->query('#>', '{"japanese":"fast"}')); |
|
275 | 275 | } |
276 | 276 | |
277 | 277 | /** |