Skip to content

Commit 948055d

Browse files
committed
[String] We cannot have a "provides" function in test cases.
1 parent f629ba9 commit 948055d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/FunctionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
final class FunctionsTest extends TestCase
2121
{
2222
/**
23-
* @dataProvider provideS
23+
* @dataProvider provideStrings
2424
*/
2525
public function testS(AbstractString $expected, string $input)
2626
{
2727
$this->assertEquals($expected, s($input));
2828
}
2929

30-
public function provideS()
30+
public function provideStrings(): array
3131
{
3232
return [
3333
[new UnicodeString('foo'), 'foo'],

0 commit comments

Comments
 (0)