Skip to content

Commit

Permalink
[10.x] Fix test name for stringable position (laravel#48480)
Browse files Browse the repository at this point in the history
Co-authored-by: Shawn Lindstrom <[email protected]>
  • Loading branch information
2 people authored and timacdonald committed Sep 22, 2023
1 parent 36672b5 commit 447edc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Support/SupportStringableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ public function testSubstrCount()
$this->assertSame(1, $this->stringable('laravelPHPFramework')->substrCount('a', -10, -3));
}

public function testSubstrPos()
public function testPosition()
{
$this->assertSame(7, $this->stringable('Hello, World!')->position('W'));
$this->assertSame(10, $this->stringable('This is a test string.')->position('test'));
Expand Down

0 comments on commit 447edc2

Please sign in to comment.