From 0d0836bc615c3bc41b865a8cf41ad2292fd0b7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Guti=C3=A9rrez?= Date: Tue, 7 Mar 2023 21:52:28 +0100 Subject: [PATCH] reformat test --- tests/PHPDI/ContainerTest.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/tests/PHPDI/ContainerTest.php b/tests/PHPDI/ContainerTest.php index 3af5b2a..0c7e81b 100644 --- a/tests/PHPDI/ContainerTest.php +++ b/tests/PHPDI/ContainerTest.php @@ -89,10 +89,24 @@ public function testRecursiveAccess(): void $this->container->set('settings', $settings); static::assertTrue($this->container->has('settings.foo')); - static::assertEquals(['bar' => ['baz' => 'found!', 'bam' => []]], $this->container->get('settings.foo')); + static::assertEquals( + [ + 'bar' => [ + 'baz' => 'found!', + 'bam' => [], + ], + ], + $this->container->get('settings.foo'), + ); static::assertTrue($this->container->has('settings.foo.bar')); - static::assertEquals(['baz' => 'found!', 'bam' => []], $this->container->get('settings.foo.bar')); + static::assertEquals( + [ + 'baz' => 'found!', + 'bam' => [], + ], + $this->container->get('settings.foo.bar'), + ); static::assertTrue($this->container->has('settings.foo.bar.baz')); static::assertEquals('found!', $this->container->get('settings.foo.bar.baz'));