Skip to content

Commit

Permalink
[String] We cannot have a "provides" function in test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Aug 8, 2020
1 parent 1382001 commit 46e2a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Component/String/Tests/FunctionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
final class FunctionsTest extends TestCase
{
/**
* @dataProvider provideS
* @dataProvider provideStrings
*/
public function testS(AbstractString $expected, string $input)
{
$this->assertEquals($expected, s($input));
}

public function provideS()
public function provideStrings(): array
{
return [
[new UnicodeString('foo'), 'foo'],
Expand Down

0 comments on commit 46e2a0c

Please sign in to comment.