Skip to content

Commit 6852372

Browse files
committed
Fix typo
1 parent 7e719b0 commit 6852372

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Tests/ContainerBuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,8 +1699,8 @@ public function testCaseSensitivity()
16991699

17001700
$container->compile();
17011701

1702-
$this->assertNotSame($container->get('foo'), $container->get('fOO'), '->get() returns the service for the given id, case sensitively');
1703-
$this->assertSame($container->get('fOO')->Foo->foo, $container->get('foo'), '->get() returns the service for the given id, case sensitively');
1702+
$this->assertNotSame($container->get('foo'), $container->get('fOO'), '->get() returns the service for the given id, case-sensitively');
1703+
$this->assertSame($container->get('fOO')->Foo->foo, $container->get('foo'), '->get() returns the service for the given id, case-sensitively');
17041704
}
17051705

17061706
public function testParameterWithMixedCase()

Tests/ContainerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ public function testCaseSensitivity()
223223
$sc->set('Foo', $foo2 = new \stdClass());
224224

225225
$this->assertSame(['service_container', 'foo', 'Foo'], $sc->getServiceIds());
226-
$this->assertSame($foo1, $sc->get('foo'), '->get() returns the service for the given id, case sensitively');
227-
$this->assertSame($foo2, $sc->get('Foo'), '->get() returns the service for the given id, case sensitively');
226+
$this->assertSame($foo1, $sc->get('foo'), '->get() returns the service for the given id, case-sensitively');
227+
$this->assertSame($foo2, $sc->get('Foo'), '->get() returns the service for the given id, case-sensitively');
228228
}
229229

230230
public function testGetThrowServiceNotFoundException()

0 commit comments

Comments
 (0)