Skip to content

Commit b4b1fba

Browse files
committed
Update RepeatTest.php
1 parent cf481fd commit b4b1fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Functional/RepeatTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testNegativeRepeatedTimes(): void
4646
{
4747
$this->expectException(InvalidArgumentException::class);
4848
$this->expectExceptionMessage(
49-
'Functional\{closure}() expects parameter 1 to be positive integer, negative integer given'
49+
'{closure:Functional\repeat():26}() expects parameter 1 to be positive integer, negative integer given'
5050
);
5151

5252
repeat([$this->repeated, 'foo'])(-1);

0 commit comments

Comments
 (0)