8000 relax expected exception message for forward-compatibility with 5.4 · symfony/symfony@7d66292 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d66292

Browse files
committed
relax expected exception message for forward-compatibility with 5.4
1 parent 580c9e6 commit 7d66292

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/PhpFrameworkExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function testRateLimiterLockFactory()
126126
});
127127

128128
$this->expectException(OutOfBoundsException::class);
129-
$this->expectExceptionMessage('The argument "2" doesn\'t exist.');
129+
$this->expectExceptionMessageMatches('/^The argument "2" doesn\'t exist.*\.$/');
130130

131131
$container->getDefinition('limiter.without_lock')->getArgument(2);
132132
}

0 commit comments

Comments
 (0)
0