code cleanup

This commit is contained in:
Fabien Potencier
2019-08-08 11:07:02 +02:00
parent fec3fd859f
commit 10edd832d2
-3
View File
@@ -306,9 +306,6 @@ class EnvironmentTest extends TestCase
public function testOverrideExtension()
{
$this->expectException(\LogicException::class);
$this->expectExceptionMessage('Unable to register extension "Twig\\Tests\\EnvironmentTest_Extension" as it is already registered.');
$this->expectException(\LogicException::class);
$this->expectExceptionMessage('Unable to register extension "Twig\Tests\EnvironmentTest_Extension" as it is already registered.');