From 119a3a3257090edc2919d41ded300cbc3c36938a Mon Sep 17 00:00:00 2001 From: Ostap Brehin Date: Sat, 2 Mar 2024 16:35:54 +0000 Subject: [PATCH] Add test for the "empty strings in `Str::apa()`" fix (#50340) --- tests/Support/SupportStrTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Support/SupportStrTest.php b/tests/Support/SupportStrTest.php index 552d9efd2dbd..e61ae5e4e249 100755 --- a/tests/Support/SupportStrTest.php +++ b/tests/Support/SupportStrTest.php @@ -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()