Skip to content

Commit

Permalink
Add test for the "empty strings in Str::apa()" fix (#50340)
Browse files Browse the repository at this point in the history
  • Loading branch information
osbre authored Mar 2, 2024
1 parent 0673cb7 commit 119a3a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Support/SupportStrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function testStringApa()
$this->assertSame('To Kill a Mockingbird', Str::apa('To Kill A Mockingbird'));

$this->assertSame('', Str::apa(''));
$this->assertSame(' ', Str::apa(' '));
}

public function testStringWithoutWordsDoesntProduceError()
Expand Down

0 comments on commit 119a3a3

Please sign in to comment.