Skip to content

Commit

Permalink
[10.x] Fix test name for stringable position (#48480)
Browse files Browse the repository at this point in the history
Co-authored-by: Shawn Lindstrom <shawn.lindstrom@activanswer.com>
  • Loading branch information
shawnlindstrom and Shawn Lindstrom committed Sep 21, 2023
1 parent 22d4530 commit ef76b3a
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 ef76b3a

Please sign in to comment.