Skip to content

Commit c6c4b62

Browse files
author
Luis
committed
Testing: Fix unit test
1 parent f628407 commit c6c4b62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/src/Unit/StringFormattingTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class StringFormattingTest extends UnitTestCase {
1717
* @expectedExceptionMessageRegExp /Failed to create a specification compliant string representation for '.+'\./
1818
*/
1919
public function testFailureOnInvalidInput() {
20+
$this->expectException(InvalidArgumentException::class);
2021
StringHelper::camelCase('^%!@#&');
2122
}
2223

0 commit comments

Comments
 (0)