From 75d9f123377bea71abdd52935685ac24619113c9 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Wed, 13 Mar 2024 20:44:38 +0100 Subject: [PATCH] added missing test coverage --- tests/unit/Logging/TestDox/NamePrettifierTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/Logging/TestDox/NamePrettifierTest.php b/tests/unit/Logging/TestDox/NamePrettifierTest.php index c6c2b637f80..19698421f08 100644 --- a/tests/unit/Logging/TestDox/NamePrettifierTest.php +++ b/tests/unit/Logging/TestDox/NamePrettifierTest.php @@ -33,6 +33,7 @@ public function testTitleHasSensibleDefaults(): void public function testTestNameIsConvertedToASentence(): void { + $this->assertEquals('', (new NamePrettifier)->prettifyTestMethodName('')); $this->assertEquals('This is a test', (new NamePrettifier)->prettifyTestMethodName('testThisIsATest')); $this->assertEquals('This is a test', (new NamePrettifier)->prettifyTestMethodName('testThisIsATest2')); $this->assertEquals('This is a test', (new NamePrettifier)->prettifyTestMethodName('this_is_a_test'));