Skip to content

Commit 119a3a3

Browse files
authored
Add test for the "empty strings in Str::apa()" fix (#50340)
1 parent 0673cb7 commit 119a3a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Support/SupportStrTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public function testStringApa()
9898
$this->assertSame('To Kill a Mockingbird', Str::apa('To Kill A Mockingbird'));
9999

100100
$this->assertSame('', Str::apa(''));
101+
$this->assertSame(' ', Str::apa(' '));
101102
}
102103

103104
public function testStringWithoutWordsDoesntProduceError()

0 commit comments

Comments
 (0)